llm.c

Utilizes simple C/CUDA for LLM training.

CommonProductProgrammingLLMC
karpathy/llm.c is a project that implements LLM training using a simple C/CUDA implementation. It aims to provide a clean and straightforward reference implementation while also including optimized versions that can approach the performance of PyTorch with drastically reduced code and dependencies. It is currently under development for a direct CUDA implementation, CPU version optimization using SIMD instructions, and support for more modern architectures such as Llama2 and Gemma.
Visit

llm.c Visit Over Time

Monthly Visits

494758773

Bounce Rate

37.69%

Page per Visit

5.7

Visit Duration

00:06:29

llm.c Visit Trend

llm.c Visit Geography

llm.c Traffic Sources

llm.c Alternatives