karpathy / llm.c
LLM training in simple, raw C/CUDA
☆24,666Updated 2 months ago
Alternatives and similar repositories for llm.c:
Users that are interested in llm.c are comparing it to the libraries listed below
- Inference Llama 2 in one file of pure C☆17,542Updated 4 months ago
- llama3 implementation one matrix multiplication at a time☆13,845Updated 6 months ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆31,618Updated this week
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆37,791Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆10,661Updated 4 months ago
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆9,244Updated 5 months ago
- Tensor library for machine learning☆11,337Updated this week
- Finetune Llama 3.3, Mistral, Phi, Qwen 2.5 & Gemma LLMs 2-5x faster with 80% less memory☆19,035Updated this week
- TensorRT-LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and build TensorRT engines that contain…☆8,860Updated last week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆7,993Updated 7 months ago
- ☆4,044Updated 6 months ago
- Scripts for fine-tuning Meta Llama with composable FSDP & PEFT methods to cover single/multi-node GPUs. Supports default & custom dataset…☆15,516Updated this week
- Video+code lecture on building nanoGPT from scratch☆3,682Updated 3 months ago
- Fast and memory-efficient exact attention☆14,557Updated this week
- Large Language Model Text Generation Inference☆9,206Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆10,892Updated this week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆34,840Updated 3 weeks ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆5,696Updated last month
- LLM inference in C/C++☆69,013Updated this week
- High-speed Large Language Model Serving on PCs with Consumer-grade GPUs☆8,004Updated 3 months ago
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆20,348Updated 3 months ago
- Development repository for the Triton language and compiler☆13,629Updated this week
- An autoregressive character-level language model for making more things☆2,638Updated 6 months ago
- SGLang is a fast serving framework for large language models and vision language models.☆6,433Updated this week
- Official inference library for Mistral models☆9,784Updated last month
- The official PyTorch implementation of Google's Gemma models☆5,313Updated 4 months ago
- NanoGPT (124M) in 5 minutes☆1,672Updated this week
- PyTorch native finetuning library☆4,432Updated this week
- Solve puzzles. Learn CUDA.☆10,036Updated 3 months ago