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

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
KellerJordan avatar

KellerJordan/modded-nanogpt

0
View on GitHub↗
5,436 stars·816 forks·Python·MIT·21 views

Modded Nanogpt

This is a PyTorch deep learning implementation for training transformer-based language models. It functions as a distributed GPU trainer and framework designed to optimize text prediction models for increased speed and sample efficiency.

The project is distinguished by its use of the Newton-Schulz weight optimizer. This method applies an iterative process to maintain semi-orthogonal parameter updates and weight matrices, which improves sample efficiency and reduces memory overhead during the training process.

The framework covers broad capabilities in distributed GPU computing, including data parallelism to scale workloads across multiple graphics processors. It also incorporates neural network optimization techniques such as iterative momentum optimization and high-throughput batch processing.

Features

  • PyTorch Implementations - Implements a transformer-based language model and distributed training framework using the PyTorch library.
  • Orthogonalization Optimizers - Implements the Newton-Schulz iterative process to maintain semi-orthogonal weight matrices for better sample efficiency.
  • Distributed GPU Computing - Coordinates complex parallelism across multiple GPUs to maximize hardware utilization during deep learning workloads.
  • Distributed GPU Training - Functions as a system that distributes neural network training loads across multiple GPUs.
  • Data-Parallel Training - Implements data-parallel training to distribute workloads across multiple GPUs for increased throughput.
  • Language Model Training - Provides tools to optimize the speed and memory efficiency of training large language models.
  • Transformer Architectures - Builds neural network architectures based on attention mechanisms for sequence processing and language prediction.
  • Iterative Weight Orthogonalizers - Applies Newton-Schulz iterations to update model weights for superior sample efficiency and reduced memory overhead.
  • Orthogonal Weight Optimizers - Applies Newton-Schulz iterations to model weights to achieve better sample efficiency and lower memory overhead.
  • PyTorch Training Frameworks - Provides a high-level PyTorch structure designed to organize and execute the training of transformer models.
  • Distributed Training Scaling Utilities - Includes utilities to scale training workloads across distributed GPU systems to reduce processing time.
  • Momentum Optimizers - Utilizes momentum-based optimization algorithms to stabilize convergence and accelerate the training timeline.
  • Neural Network Optimizers - Uses advanced gradient-based optimizers and momentum iterations to improve the stability and speed of training.
  • Parallel Batch Processing - Employs parallel batch processing to load large data chunks into memory and maximize GPU utilization.

Star history

Star history chart for kellerjordan/modded-nanogptStar history chart for kellerjordan/modded-nanogpt

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Modded Nanogpt

These projects share indexed features with Modded Nanogpt. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • lucidrains/dalle-pytorchlucidrains avatar

    lucidrains/DALLE-pytorch

    5,629View on GitHub↗

    This project is a PyTorch implementation of a text-to-image transformer. It is a generative AI model designed to map discrete text tokens to image pixels using a transformer network to create visual content from textual descriptions. The system utilizes a discrete VAE image encoder to compress visual data into tokens for transformer processing. It supports classifier-free guidance to adjust the influence of text prompts during inference and includes capabilities for ranking generated images based on their similarity to text prompts. The architecture incorporates sparse attention mechanisms a

    Pythonartificial-intelligenceattention-mechanismdeep-learning
    View on GitHub↗5,629
  • lucidrains/stylegan2-pytorchlucidrains avatar

    lucidrains/stylegan2-pytorch

    3,783View on GitHub↗

    This project is a PyTorch implementation of StyleGAN2, providing a library and research framework for training style-based generative adversarial networks. It serves as a toolkit for high-resolution image synthesis, utilizing competitive minimax optimization to create realistic synthetic visual content. The framework incorporates specialized architectural components such as style-based latent mapping, multi-scale feature modulation, and self-attention layers to improve structural coherence. It distinguishes itself with advanced training stability techniques, including exponential moving avera

    Pythonartificial-intelligencegenerative-adversarial-networkgenerative-model
    View on GitHub↗3,783
  • yuanzhoulvpi2017/zero_nlpyuanzhoulvpi2017 avatar

    yuanzhoulvpi2017/zero_nlp

    3,825View on GitHub↗

    zero_nlp is a distributed framework for training and fine-tuning large language models and multimodal architectures. It provides a specialized toolkit for distributed model parallelism, allowing neural network layers and weights to be partitioned across multiple GPU devices to train models that exceed the memory capacity of a single processor. The project distinguishes itself through a combination of high-throughput data pipelines and parameter-efficient tuning. It utilizes multi-threading and memory mapping to preprocess and stream datasets exceeding 100GB and implements memory-saving adapta

    Jupyter Notebookbertchatglm-6bclip
    View on GitHub↗3,825
  • pytorch/tutorialspytorch avatar

    pytorch/tutorials

    9,202View on GitHub↗

    The PyTorch Tutorials repository is a collection of educational resources that provides step-by-step guidance on building, training, and deploying neural networks using the PyTorch framework. It covers the complete machine learning workflow, from data loading and model definition through optimization loops and model persistence, with dedicated guides for distributed training, model fine-tuning, and deployment. The tutorials offer practical demonstrations of adapting pre-trained models to new tasks through transfer learning, scaling training across multiple GPUs or machines using PyTorch's dis

    Python
    View on GitHub↗9,202
Compare all 30 related projects→

Frequently asked questions

What does kellerjordan/modded-nanogpt do?

This is a PyTorch deep learning implementation for training transformer-based language models. It functions as a distributed GPU trainer and framework designed to optimize text prediction models for increased speed and sample efficiency.

What are the main features of kellerjordan/modded-nanogpt?

The main features of kellerjordan/modded-nanogpt are: PyTorch Implementations, Orthogonalization Optimizers, Distributed GPU Computing, Distributed GPU Training, Data-Parallel Training, Language Model Training, Transformer Architectures, Iterative Weight Orthogonalizers.

Which projects share features with kellerjordan/modded-nanogpt?

Projects with overlapping indexed features include: lucidrains/dalle-pytorch — This project is a PyTorch implementation of a text-to-image transformer. It is a generative AI model designed to map… yuanzhoulvpi2017/zero_nlp — zero_nlp is a distributed framework for training and fine-tuning large language models and multimodal architectures.… lucidrains/stylegan2-pytorch — This project is a PyTorch implementation of StyleGAN2, providing a library and research framework for training… pytorch/tutorials — The PyTorch Tutorials repository is a collection of educational resources that provides step-by-step guidance on… fastai/course22 — This is a structured deep learning curriculum for programmers, delivered as a collection of Jupyter notebooks. It… facebookresearch/fairseq — Fairseq is a PyTorch toolkit for sequence-to-sequence modeling, specializing in neural machine translation, automatic…