10 repository-uri
Techniques for selecting batch sizes to maximize training speed.
Distinguishing note: Focuses on throughput optimization rather than resource efficiency.
Explore 10 awesome GitHub repositories matching artificial intelligence & ml · Training Throughput Optimization. Refine with filters or upvote what's useful.
Axolotl is a distributed training orchestrator and fine-tuning framework for large language models, multimodal systems, and quantized models. It provides a structured environment for specializing pre-trained models through full parameter updates or low-rank adaptation, as well as aligning model outputs with human expectations via preference tuning pipelines and reward modeling. The system distinguishes itself through a configuration-driven pipeline that manages preprocessing and training workflows via a single file for reproducibility. It implements high-throughput optimizations such as multi
Improves training efficiency and reduces compute time using multipacking, optimized attention mechanisms, and specialized kernels.
Apex is a high-performance toolkit for PyTorch designed to coordinate distributed training, execute fused GPU kernels, manage mixed precision, and implement optimized distributed optimizers. It provides specialized tools for scaling model training across multiple GPUs and nodes to increase processing speed and throughput. The library features high-performance implementations of Adam and LAMB optimizers to reduce synchronization overhead and memory bottlenecks. It utilizes fused CUDA kernels to combine neural network operations, reducing memory overhead and increasing execution speed. The too
Increases processing speed and training throughput by spreading workloads across multiple GPUs and nodes.
ERNIE is a development toolkit for training, fine-tuning, and deploying large language models built on the PaddlePaddle deep learning platform. It provides a comprehensive suite of core components, including an inference server for vision and language models, a training and fine-tuning toolkit, and a framework for building retrieval-augmented generation systems using private knowledge bases. The project features multimodal AI models capable of reasoning across text, images, and video to perform complex visual understanding and information extraction. It distinguishes itself through specialize
Increases pre-training speed by using hybrid parallelism, mixed-precision formats, and hierarchical load balancing.
LARK is a development toolkit for training, fine-tuning, and deploying large language models and multimodal models based on PaddlePaddle. It functions as a comprehensive framework that includes an LLM training orchestrator, an inference server, and a multimodal model framework for processing text, image, and video inputs. The project features a retrieval-augmented generation system for building conversational applications that integrate web search and private knowledge bases. It provides specific capabilities for multimodal reasoning and complex logic, enabling the extraction of structured da
Increases pre-training speed using hybrid parallelism and mixed-precision scheduling to process large-scale models efficiently.
Maximizes GPU cluster utilization through mixed-parallelism and memory-efficient training techniques.
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
Increases training efficiency through mixed precision, gradient accumulation, and memory optimization techniques.
xtuner este un motor de antrenare cuprinzător pentru modele de limbaj mari (LLM), oferind un toolkit pentru pre-antrenare, fine-tuning supervizat și optimizarea modelelor multimodale vision-language. Servește ca un accelerator de antrenare distribuită și un framework specializat pentru scalarea modelelor Mixture-of-Experts și alinierea comportamentului modelului prin învățare prin consolidare din feedback uman (RLHF). Proiectul se distinge prin optimizări avansate de memorie și calcul, cum ar fi paralelismul de secvență pentru ferestre de context ultra-lungi și paralelismul de pipeline intercalat pentru a reduce timpul de inactivitate al GPU-ului. Oferă o suită dedicată pentru optimizarea preferințelor, implementând tehnici precum Group Relative Policy Optimization și Direct Preference Optimization pentru a rafina politicile modelului și sistemele de recompensă. Zonele largi de capabilități acoperă antrenarea distribuită a modelelor pe mai multe noduri, pregătirea seturilor de date multimodale și gestionarea fine-tuning-ului bazat pe adaptoare. Motorul include, de asemenea, instrumente pentru evaluarea modelului, fuziunea ponderilor (weight merging) și exportul parametrilor antrenați către motoarele de inferență. Antrenarea este gestionată prin fișiere de configurare standardizate și launchere distribuite pentru a asigura rezultate consistente pe clusterele de calcul.
Provides techniques to maximize training speed by optimizing batch sizes and GPU utilization.
warp-ctc este o bibliotecă de înaltă performanță pentru calcularea pierderii de clasificare temporală conexionistă (CTC) pentru antrenarea modelelor de deep learning secvență-la-secvență. Oferă un strat de stabilitate numerică folosind calculul în spațiu logaritmic pentru a preveni subdepășirea (underflow) și erorile de precizie în timpul calculelor de probabilitate pentru secvențe lungi. Biblioteca utilizează nuclee accelerate hardware pentru a calcula pierderea în paralel pe arhitecturi CPU și GPU. Se concentrează pe creșterea throughput-ului de antrenare prin optimizarea pașilor de programare dinamică ai algoritmului CTC. Aceste capabilități susțin antrenarea modelelor pentru recunoașterea vorbirii, recunoașterea optică a caracterelor scrise de mână și maparea generală secvență-la-secvență. Proiectul include integrare pentru calcularea pierderii și antrenarea fără aliniere în TensorFlow.
Increases training throughput by optimizing the dynamic programming steps of the CTC algorithm.
Tinker Cookbook is an open-source framework for fine-tuning large language models, supporting supervised learning, reinforcement learning, and parameter-efficient techniques like LoRA adapters. It provides a complete pipeline for aligning models with human preferences through multi-stage RLHF workflows, from supervised fine-tuning through preference optimization to reinforcement learning. The framework distinguishes itself through recipe-based training orchestration, where fine-tuning workflows are defined as composable recipe files that chain data loading, model configuration, and training l
Optimizes throughput by sending multiple concurrent generation requests asynchronously.
RLinf is a distributed reinforcement learning orchestrator and embodied AI training framework. It provides the infrastructure to train vision-language-action models and robotic policies using a combination of reinforcement learning and supervised fine-tuning. The system is designed for scaling workloads across GPU clusters, managing the placement of actors, rollout workers, and environment components. It features a specialized robotics data collection pipeline for gathering teleoperated demonstrations and simulation trajectories into standardized replay buffers, alongside a hardware interface
Increases data processing speed through hybrid fine-grained pipelining and automatic online scaling.