Commit Graph

139 Commits

Author SHA1 Message Date
Andrej cc66a2037e Merge pull request #86 from tairov/master
Add CI github actions workflow to verify builds on pull_request
2023-07-27 08:59:00 -07:00
Andrej Karpathy b6d63a973e Merge branch 'tairov-win-timing' 2023-07-27 15:43:58 +00:00
Andrej Karpathy 677bb8fddd Merge branch 'win-timing' of https://github.com/tairov/llama2.c into tairov-win-timing 2023-07-27 15:43:41 +00:00
Aydyn Tairov b4b9ef5c6c add github actions workflow to validate builds on changes in *.c, *.h files 2023-07-27 16:43:20 +01:00
Andrej 9253d458f1 Merge pull request #139 from tairov/gnu
Add Makefile target to support builds on amazon linux & centos
2023-07-27 08:35:57 -07:00
Aydyn Tairov 343572675f minor whitespaces cleanup 2023-07-27 16:33:21 +01:00
Aydyn Tairov acf1e18e8f remove second ifdefs for windows timing by introducing ported version of clock_gettime 2023-07-27 16:33:21 +01:00
Andrej 79933a8ab4 Merge pull request #137 from tatellos/master
Improve readme: clarify dependencies and other things to install
2023-07-27 08:30:20 -07:00
Andrej 4a4663a235 Merge pull request #134 from Manuel030/sync-with-upstream
add llama2.c-android to readme
2023-07-27 08:28:30 -07:00
Aydyn Tairov 2566ddf744 add README section for centos 7 & amazon linux make target 2023-07-27 15:00:27 +01:00
Aydyn Tairov bddde3398a add Makefile option to support builds on amazon linux & centos 2023-07-27 14:59:28 +01:00
Mathias Arens abfcdf141e Improve readme: clarify dependencies and other things to install 2023-07-27 13:05:32 +02:00
Manuel Plank 9c0850daf7 add llama2.c-android to readme 2023-07-27 11:30:00 +02:00
Andrej Karpathy 4e23ad8399 touchups to readme: reshuffle todos, and add a windows note 2023-07-27 06:17:13 +00:00
Andrej Karpathy f19f50a744 stylistic changes for the windows support ifdefs 2023-07-27 06:08:40 +00:00
Andrej a03ce1ee6d Merge pull request #132 from richinseattle/master
add windows build commands
2023-07-26 23:00:33 -07:00
richinseattle b18d325660 add windows build commands 2023-07-26 22:58:48 -07:00
Andrej de6f2fc81c Merge pull request #130 from richinseattle/patch-3
Add Windows mmap
2023-07-26 22:52:14 -07:00
Andrej 14e90b506c Merge pull request #131 from tmc/patch-2
readme: Include reference to go port
2023-07-26 22:50:04 -07:00
Travis Cline 01c06fa83c readme: Include reference to go port
This adds a link to my go port of this project.
2023-07-26 22:44:15 -07:00
richinseattle 5b405a7004 Add Windows support files with mmap impl 2023-07-26 22:40:56 -07:00
richinseattle 4a6b7a471d Include windows support header (for mmap) 2023-07-26 22:40:01 -07:00
Andrej Karpathy b7efb1b5c9 Merge branch 'richinseattle-patch-2' 2023-07-27 05:23:49 +00:00
Andrej Karpathy 0d18fa7780 Merge branch 'patch-2' of https://github.com/richinseattle/llama2.c into richinseattle-patch-2 2023-07-27 05:23:05 +00:00
Andrej Karpathy eff1c1b425 Merge branch 'master' of github.com:karpathy/llama2.c 2023-07-27 05:20:59 +00:00
Andrej 5c55d59325 Merge pull request #128 from richinseattle/patch-1
update openmp pragmas for MSVC compatibility
2023-07-26 22:20:49 -07:00
richinseattle 37e8c20f4f Windows compat: Use GetTickCount for delta timer
Intentionally not including a windows header here to avoid merge conflict on include with mmap support. cl.exe doesn't complain, mingw warns.
2023-07-26 22:19:49 -07:00
Andrej Karpathy b35e82f63b Merge branch 'richinseattle-patch-1' 2023-07-27 05:18:39 +00:00
Andrej Karpathy 815ce33569 Merge branch 'patch-1' of https://github.com/richinseattle/llama2.c into richinseattle-patch-1 2023-07-27 05:15:52 +00:00
richinseattle 539dc73196 fix whitespace 2023-07-26 22:12:32 -07:00
Andrej 34cce6a6b5 Merge pull request #126 from som-sama/patch-1
Center align cute llama image in README
2023-07-26 22:09:34 -07:00
Andrej Karpathy 530ef8e778 light touchups to export script so one doesn't need to pass in a slash at the end 2023-07-27 05:08:45 +00:00
richinseattle 7f7a3b2d56 update openmp pragmas for MSVC compatibility
This has no negative impact on Linux and is in preparation for windows support. Windows compiles will not work without additional timer and mmap compatibility patches
2023-07-26 22:06:23 -07:00
Som 7887133145 Center align cute llama image in README
Added HTML code to center align the cute llama image in the README file. The image is wrapped in a <p> tag with the "align" attribute set to "center" for proper alignment. Additionally, an "alt" attribute is included for accessibility.
2023-07-27 09:26:20 +05:30
Andrej Karpathy 5f681b64b1 oops missed a section somehow, updating readme 2023-07-27 03:01:48 +00:00
Andrej Karpathy c2bbe9c6fb link to the huggingface hub models instead 2023-07-27 00:14:23 +00:00
Andrej Karpathy 7a4ca4a98b add contributing section to readme, and also notable forks section 2023-07-26 23:58:49 +00:00
Andrej 4085e8971f Merge pull request #119 from kroggen/code-comments
add some code comments
2023-07-26 15:50:01 -07:00
Bernardo Ramos 57034480b6 add some code comments 2023-07-26 19:48:14 -03:00
Andrej Karpathy f0f43b7288 small note on traing times 2023-07-26 22:12:50 +00:00
Andrej Karpathy 2711ae8c32 make compiler tunable in Makefile, i think potentially nice and useful 2023-07-26 16:40:40 +00:00
Andrej 7059d7dba9 Update README.md 2023-07-26 09:06:08 -07:00
Andrej 7496ea8108 Update README.md 2023-07-26 08:59:42 -07:00
Andrej f5d8797af2 Update README.md 2023-07-26 08:59:12 -07:00
Andrej Karpathy 3aedfe59f1 Merge branch 'aegkmq-master' 2023-07-26 15:43:06 +00:00
aegkmq 8986005f23 Minor cleanup 2023-07-26 16:57:08 +09:00
aegkmq 36c522a0d8 Improve locality 2023-07-26 13:24:27 +09:00
Andrej Karpathy f5650891d5 honestly at this point this is a lot more my nanogpt code than llama code 2023-07-25 23:57:03 +00:00
Andrej 7f9f5ca853 Update README.md: new llama model export 2023-07-25 16:30:28 -07:00
Andrej 5bcd19a204 Merge pull request #85 from python273/export-llama-without-llama
Export llama without llama
2023-07-25 16:23:56 -07:00