awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
karpathy avatar

karpathy/llm.c

0
View on GitHub↗

Llm.c

This project is a low-dependency engine designed for training large language models using native C and CUDA. It provides a bare-metal environment for tensor computation, allowing for the execution of neural network operations directly on hardware accelerators without the overhead of high-level software abstractions.

The framework distinguishes itself by implementing manual gradient backpropagation and custom hardware-specific kernels, providing granular control over memory mapping and computational precision. It supports distributed training across multiple graphics processors and compute nodes, utilizing collective communication primitives to scale workloads while maintaining numerical consistency through integrated validation tools.

The library includes a comprehensive suite of utilities for data preparation, model checkpoint management, and performance optimization. It covers essential operations such as attention acceleration, layer normalization, and memory-efficient checkpointing, while providing command-line tools for orchestrating training runs and conducting hyperparameter sweeps.

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Features

  • Large Language Model Training Frameworks - A high-performance framework for training large language models using native C and CUDA kernels.
  • Bare-Metal Deep Learning Engines - Executes neural network training directly on hardware accelerators using low-level code to eliminate high-level software overhead.
  • Distributed Training Frameworks - A system for scaling neural network training across multiple graphics processors and compute nodes using collective communication primitives.
  • Low-Level Neural Network Trainers - Provides a low-dependency toolkit for executing tensor operations and gradient backpropagation directly on hardware accelerators.
  • Language Model Pretraining - Trains foundational language models from scratch using high-performance hardware kernels.
  • Backpropagation - Implements manual gradient backpropagation to facilitate iterative parameter adjustment during model training.
  • Large-Scale Training Frameworks - Scales neural network training across multiple graphics processors and compute nodes to reduce total training time.
  • Tensor Computation Primitives - Implements custom neural network layers and operations directly in C and CUDA for maximum efficiency.
  • Hardware Acceleration Kernels - Runs optimized computational routines tailored to processor architectures to accelerate complex neural network operations.
  • Backpropagation Implementations - Calculates weight adjustments through explicit mathematical implementation rather than relying on automated differentiation engines.
  • Attention Backends - Implements optimized attention backends using hardware-specific kernels to accelerate transformer model training.
  • Distributed Training - Parallelizes model training workloads across multiple hardware accelerators and compute nodes to maximize processing efficiency.
  • Training Memory Management - Manages training memory by adjusting batch sizes and sequence lengths to fit within hardware constraints.
  • Large Language Models - LLM training implemented in raw C/CUDA.
  • Systems Programming - High-performance implementation of large language models in C.
  • Collective Communication Operations - Synchronizes gradient updates across multiple graphics processors and compute nodes using collective communication operations.
  • Gradient Checkpointing - Utilizes gradient checkpointing to reduce memory consumption by recomputing intermediate activations during the backward pass.
  • Normalization Layers - Includes layer normalization components to stabilize activation scales and improve training convergence.
  • Hyperparameter Sweep Orchestrators - Automates the execution of multiple training iterations with varying configuration parameters to identify optimal model settings.
  • Model Checkpoints - Initializes model structures by reading pre-trained weights and configuration data from binary files directly into hardware memory.
  • Tensor Mappings - Converts multi-dimensional tensor structures into linear memory addresses to maximize hardware cache efficiency.
  • Data Ingestion and Preparation - Processes large-scale datasets into binary streams formatted for direct consumption by low-level training routines.
  • Binary Stream Loaders - Reads pre-processed tokenized data directly from disk into memory to bypass input-output bottlenecks during training.
  • Numerical Accuracy Validators - Provides diagnostic tools to verify numerical consistency of tensor outputs and gradients during the training lifecycle.
30,230 stars·3,648 forks·Cuda·MIT·8 vues

Historique des stars

Graphique de l'historique des stars pour karpathy/llm.cGraphique de l'historique des stars pour karpathy/llm.c

Alternatives open source à Llm.c

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Llm.c.
  • zhaochenyang20/awesome-ml-sys-tutorialAvatar de zhaochenyang20

    zhaochenyang20/Awesome-ML-SYS-Tutorial

    5,371Voir sur GitHub↗

    This project provides a comprehensive technical guide and framework for engineering large-scale machine learning systems. It covers the full lifecycle of model development, focusing on the infrastructure and computational principles required to build, train, and serve generative AI models across distributed GPU clusters. The repository distinguishes itself by offering deep-dive tutorials and implementation strategies for complex system challenges. It emphasizes high-performance architectural primitives, such as collective communication orchestration, distributed tensor sharding, and static gr

    Python
    Voir sur GitHub↗5,371
  • facebookresearch/flashlightAvatar de facebookresearch

    facebookresearch/flashlight

    5,443Voir sur GitHub↗

    Flashlight is a C++ machine learning library and deep learning framework designed for building and training neural networks. It functions as a tensor manipulation library and an automatic differentiation engine that tracks operations to calculate gradients via backpropagation for model optimization. The project is distinguished by its role as a distributed training framework, utilizing all-reduce gradient synchronization and distributed environments to scale machine learning workloads across multiple nodes and devices. It features a backend-agnostic memory interface and RAII-based management

    C++
    Voir sur GitHub↗5,443
  • eleutherai/gpt-neoxAvatar de EleutherAI

    EleutherAI/gpt-neox

    7,392Voir sur GitHub↗

    gpt-neox is a distributed training system and framework for building large-scale autoregressive language models. It implements the transformer architecture and provides a toolkit for training models with billions of parameters by distributing weights across compute clusters. The framework distinguishes itself through extensive support for distributed model parallelism, including pipeline and sequence parallelism, to overcome single-device memory limits. It further supports sparse model architectures using a mixture of experts system with Sinkhorn-based routing. The project covers a broad ran

    Pythondeepspeed-librarygpt-3language-model
    Voir sur GitHub↗7,392
  • pytorch/examplesAvatar de pytorch

    pytorch/examples

    23,752Voir sur GitHub↗

    This repository serves as a comprehensive collection of reference implementations for the PyTorch machine learning library. It provides practical examples for building, training, and deploying deep learning models, functioning as a toolkit for developers to explore neural network architectures and training workflows. The project distinguishes itself by offering concrete demonstrations of complex machine learning operations, ranging from computer vision tasks like object detection and depth estimation to the training of large-scale transformer models. These examples illustrate how to implement

    Python
    Voir sur GitHub↗23,752
Voir les 30 alternatives à Llm.c→

Questions fréquentes

Que fait karpathy/llm.c ?

This project is a low-dependency engine designed for training large language models using native C and CUDA. It provides a bare-metal environment for tensor computation, allowing for the execution of neural network operations directly on hardware accelerators without the overhead of high-level software abstractions.

Quelles sont les fonctionnalités principales de karpathy/llm.c ?

Les fonctionnalités principales de karpathy/llm.c sont : Large Language Model Training Frameworks, Bare-Metal Deep Learning Engines, Distributed Training Frameworks, Low-Level Neural Network Trainers, Language Model Pretraining, Backpropagation, Large-Scale Training Frameworks, Tensor Computation Primitives.

Quelles sont les alternatives open-source à karpathy/llm.c ?

Les alternatives open-source à karpathy/llm.c incluent : zhaochenyang20/awesome-ml-sys-tutorial — This project provides a comprehensive technical guide and framework for engineering large-scale machine learning… facebookresearch/flashlight — Flashlight is a C++ machine learning library and deep learning framework designed for building and training neural… eleutherai/gpt-neox — gpt-neox is a distributed training system and framework for building large-scale autoregressive language models. It… pytorch/examples — This repository serves as a comprehensive collection of reference implementations for the PyTorch machine learning… huggingface/peft — This library provides a framework for parameter-efficient fine-tuning, enabling the adaptation of large pretrained… zyds/transformers-code — This project is a collection of scripts and workflows for training, fine-tuning, and deploying large language models…