karpathy/llama2.c
View on GitHubInference Llama 2 in one file of pure C
- Stars
- 20.1k
- Forks
- 2.6k
- Open beginner issues
- 0
- Indexed issues
- 127
- Dominant language
- C
- License
- MIT
- Last GitHub push
- May 29, 2024
- Latest indexed
- Sep 18, 2026
- Contributing guide
- No contributing guide
- Code of conduct
- No code of conduct
- Beginner labels
- No beginner labels indexed
- PR merge metrics
- No merged PRs in 30d
-
LoRA support? Open
karpathy/llama2.c#11 · 1 comment · 4 reactions · 0 assignees ·
-
karpathy/llama2.c#20 · 15 comments · 8 reactions · 0 assignees ·
-
karpathy/llama2.c#34 · 2 comments · 6 reactions · 0 assignees ·
-
Model serving Open
karpathy/llama2.c#40 · 1 comment · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#62 · 0 comments · 7 reactions · 0 assignees ·
-
karpathy/llama2.c#63 · 4 comments · 4 reactions · 0 assignees ·
-
karpathy/llama2.c#84 · 1 comment · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#92 · 0 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#98 · 0 comments · 6 reactions · 0 assignees ·
-
karpathy/llama2.c#102 · 1 comment · 2 reactions · 0 assignees ·
-
karpathy/llama2.c#109 · 2 comments · 0 reactions · 0 assignees ·
-
CUDA out of memory Open
karpathy/llama2.c#140 · 2 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#141 · 6 comments · 2 reactions · 0 assignees ·
-
The front operation is still good, and nothing has changed, and an error is reported,How to solve it Open
karpathy/llama2.c#144 · 8 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#145 · 3 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#162 · 1 comment · 8 reactions · 0 assignees ·
-
karpathy/llama2.c#165 · 4 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#168 · 0 comments · 1 reaction · 0 assignees ·
-
MPS support Open
karpathy/llama2.c#169 · 2 comments · 3 reactions · 0 assignees ·
-
Code Explaination Open
karpathy/llama2.c#172 · 1 comment · 5 reactions · 0 assignees ·
-
karpathy/llama2.c#174 · 1 comment · 24 reactions · 0 assignees ·
-
karpathy/llama2.c#180 · 4 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#182 · 2 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#184 · 1 comment · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#196 · 2 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#201 · 0 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#221 · 6 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#236 · 2 comments · 1 reaction · 0 assignees ·
-
karpathy/llama2.c#252 · 7 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#273 · 4 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#277 · 23 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#288 · 6 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#292 · 2 comments · 1 reaction · 0 assignees ·
-
karpathy/llama2.c#296 · 2 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#299 · 1 comment · 1 reaction · 0 assignees ·
-
karpathy/llama2.c#302 · 4 comments · 2 reactions · 0 assignees ·
-
karpathy/llama2.c#311 · 22 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#314 · 3 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#321 · 17 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#323 · 3 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#332 · 5 comments · 1 reaction · 0 assignees ·
-
karpathy/llama2.c#339 · 2 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#341 · 5 comments · 5 reactions · 0 assignees ·
-
karpathy/llama2.c#346 · 2 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#349 · 1 comment · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#354 · 1 comment · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#356 · 2 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#357 · 5 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#366 · 0 comments · 0 reactions · 0 assignees ·
-
karpathy/llama2.c#368 · 1 comment · 0 reactions · 0 assignees ·