awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
InternLM avatar

InternLM/xtuner

0
View on GitHub↗
5,150 stele·425 fork-uri·Python·Apache-2.0·8 vizualizărixtuner.readthedocs.io/zh-cn/latest↗

Xtuner

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.

Features

  • Large Language Model Fine-Tuning - Provides a comprehensive engine for full-parameter and adapter-based fine-tuning of large language models.
  • Large-Scale Model Training - Combine sequence parallelism and memory optimization to train models with billions of parameters.
  • LLM Fine-Tuning Engines - Provides a specialized engine for the efficient pre-training and fine-tuning of large language models using full-parameter and adapter-based methods.
  • Large Language Model Training Frameworks - Provides a comprehensive training engine for large language models with distributed launchers and memory optimization.
  • Sequence Parallelism - Processes extended text datasets by distributing long sequences across hardware to overcome VRAM limits.
  • Communication-Computation Overlap - Reduces GPU idle time by executing communication tasks concurrently with backward propagation and compute operations.
  • Conversation Prompt Templating - Apply prompt formats to training data to ensure models follow specific conversational structures.
  • Reward Modeling - Provides frameworks for training reward models and performing preference optimization to align model behavior.
  • Direct Preference Optimization - Aligns model behavior with human preferences using the Direct Preference Optimization algorithm without requiring a separate reward model.
  • Distributed Training - Executes distributed training jobs across single or multiple GPUs to accelerate model convergence.
  • Distributed Training Accelerators - Implements sequence and interleaved pipeline parallelism to accelerate distributed deep learning workloads across multiple hardware units.
  • Distributed Training - Parallelizes training using sequence, tensor, and data parallelism for ultra-large models.
  • Distributed Training Scaling Utilities - Manages and scales training workloads across distributed GPU systems using standard launch commands.
  • MoE Distributed Training - Trains Mixture-of-Experts models using optimized parallelism strategies to maintain high throughput.
  • Group Relative Policy Optimization - Implements Group Relative Policy Optimization to refine model behavior by comparing sampled responses against a group average.
  • Language Model Fine-Tuning - Provides frameworks for adjusting pre-trained language models to specialize behavior for specific tasks.
  • Multimodal Model Trainers - Ships a training pipeline for vision-language models supporting supervised fine-tuning and instruction following.
  • Multimodal Training Pipelines - Implements pre-training and supervised fine-tuning pipelines for vision-language models to enable instruction following.
  • Distributed Training - Scales training workloads across multiple compute nodes and GPUs using cluster orchestrators.
  • Training Hyperparameter Configurations - Define hyperparameters, learning rates, and distributed strategies to control how models converge.
  • Interleaved Pipeline Parallelism - Increases throughput by using interleaved pipeline parallelism to reduce idle time and overlap communication.
  • Multimodal Fine-Tuning - Optimizes models that process text and images simultaneously to improve cross-modal understanding.
  • Vision Model Training - Performs pre-training and supervised fine-tuning for vision-language models to optimize instruction following.
  • Model Parallelism - Splits model parameters across multiple GPUs using various parallelism strategies to fit large models.
  • Group Relative Policy Optimization Training - Refines language model performance through Group Relative Policy Optimization with relative advantage estimates.
  • Memory Optimizations - Prevents out-of-memory errors during large-scale training through memory redundancy reduction stages.
  • Preference Optimization - Aligns models with human preferences using direct optimization methods to improve output quality.
  • Group Relative Policy Optimization - Implements Group Relative Policy Optimization for refining model behavior through reinforcement learning.
  • RLHF Training Pipelines - Provides end-to-end pipelines for model alignment using Direct Preference Optimization and Group Relative Policy Optimization.
  • Sequence Parallelism Frameworks - Distributes a single long sequence across multiple GPUs to overcome memory limits for ultra-long context windows.
  • Training Memory Management - Reduces GPU memory consumption during large-scale training via redundancy elimination and offloading techniques.
  • Training Memory Optimizers - Manages memory and processing speed using redundancy reduction and offloading strategies.
  • Attention Algorithm Optimizations - Increases training speed and reduces memory usage for transformer models by applying optimized attention algorithms.
  • Variable-Length Attention Implementations - Implements variable-length attention to prevent tokens from attending to unrelated samples in concatenated datasets.
  • Long-Context Sequence Parallelism - Distributes extended text lengths across multiple devices using sequence parallelism during preference optimization.
  • Flexible Scoring Paradigms - Selects the highest-scoring result among multiple sampled responses using a reward model for quality assessment.
  • Preference Pair Generators - Creates high-quality training pairs by using a reward model to filter data or synthesize responses for preference optimization.
  • Dataset Preprocessing Tools - Converts preprocessed data in standardized directories into tokenized formats ready for model training.
  • Distributed Model State Management - Reduces memory overhead by splitting optimizer states, gradients, and parameters across distributed devices.
  • Reinforcement Learning Alignment - Optimizes model behavior using reinforcement learning workflows with colocated or disaggregated architectures.
  • Domain-Specific Pre-training Corpora - Enables incremental pre-training using custom JSON-formatted text to adapt models to specific domains.
  • RL - Specify loss calculations and importance sampling to refine weights during reinforcement learning.
  • Conversational Fine-Tuning Formats - Supports training models using standardized JSON formats with multi-turn conversation structures.
  • Context Window Scaling - Adjusts maximum position embeddings to expand the model's input and output context window.
  • Expert Load Balancers - Enforces uniform distribution of tokens across experts in MoE models to prevent memory errors and maintain high throughput.
  • Training Strategies - Scaling and training ultra-large MoE models using optimized parallelism strategies to maintain high compute throughput.
  • Interactive Chat Evaluators - Allows launching interactive chat sessions to verify fine-tuned model responses using prompt templates.
  • RL Post-Training - Optimizes model performance on reasoning tasks using reinforcement learning post-training techniques.
  • Adapter Weight Merging - Combines learned adapter weights with base model parameters to create a single unified set of weights for deployment.
  • Quantized Low-Rank Adapters - Reduces VRAM overhead by utilizing quantized low-rank adaptation (QLoRA) for memory-efficient fine-tuning.
  • Variable-Length Attention - Processes sequences of different lengths without padding tokens to eliminate memory waste and increase throughput.
  • Interleaved Pipeline Parallelism - Reduces GPU idle time by overlapping communication tasks with backward propagation and computation through interleaved pipeline parallelism.
  • Preference Optimization Loss Functions - Compute objective functions for cross-entropy or reinforcement learning to guide model optimization.
  • Preference Alignment Datasets - Formats sequences for reward model training by applying mapping functions and token truncation to preference data.
  • Reference-Free Model Alignment - Refines model behavior using odds-ratio optimization to penalize rejected samples without requiring a reference model.
  • Length-Based Feature Grouping - Sorts training samples by length to create batches of similar-sized sequences, minimizing padding overhead.
  • Multimodal Dataset Formatting - Convert image and text conversation data into standardized JSONL files for supervised fine-tuning tasks.
  • Training Throughput Optimization - Provides techniques to maximize training speed by optimizing batch sizes and GPU utilization.
  • Transformer Fine-Tuning - Executes training for transformer architectures using Fully Sharded Data Parallelism for distributed model states.
  • Model Evaluation Metrics - Scores model outputs using judging logic and evaluation metrics for reasoning and instruction following tasks.
  • Interactive Chat Evaluators - Allows verification of fine-tuned model performance through interactive chat sessions using specific prompt templates.
  • Model Weight Checkpoints - Saves and restores model weights and optimizer states to support automatic training resumption.
  • Multimodal Pre-training - Trains vision-language models using pre-training and supervised fine-tuning optimized for instruction following.
  • Long-Context Sequence Parallelism - Handles sequence lengths up to 64k using memory-efficient designs and sequence parallelism.
  • Length-Based Batch Groupers - Sorts training data by length to create batches of similar-sized sequences and minimize padding overhead.
  • Data Packing - Combine multiple short sequences into a single fixed-length input to eliminate padding and increase throughput.
  • Dataset Tokenization Tools - Converts raw preprocessed dataset files into tokenized binary formats and handles the addition of special tokens.
  • Model Memory Managers - Controls activation memory overhead using sequence parallelism and selective recomputation of specific modules.
  • Sequence Packing - Reduce GPU memory waste by packing variable-length data into single sequences to eliminate excessive padding.
  • Vision-Language Model Benchmarking - Measures accuracy and reasoning capabilities of vision-language models using standardized multimodal benchmarks.
  • Fine-Tuning Frameworks - Flexible toolkit for fine-tuning large-scale models.
  • Fine-Tuning Frameworks - Flexible toolkit for fine-tuning large-scale models.

Istoric stele

Graficul istoricului de stele pentru internlm/xtunerGraficul istoricului de stele pentru internlm/xtuner

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Xtuner

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Xtuner.
  • infrasys-ai/aiinfraAvatar Infrasys-AI

    Infrasys-AI/AIInfra

    7,414Vezi pe GitHub↗
    Jupyter Notebookaiinfraaisystem
    Vezi pe GitHub↗7,414
  • openrlhf/openrlhfAvatar OpenRLHF

    OpenRLHF/OpenRLHF

    9,675Vezi pe GitHub↗

    OpenRLHF is a training framework and alignment library designed for reinforcement learning from human feedback across distributed GPU clusters. It provides tools for aligning large language models and multimodal vision-language models using algorithms such as PPO, GRPO, and DPO. The framework distinguishes itself through a distributed inference engine that overlaps sample rollout with training to increase throughput. It supports scaling to models exceeding 70 billion parameters via parameter sharding and handles long-context sequences through ring-attention sequence parallelism. The project

    Pythonlarge-language-modelsopenai-o1proximal-policy-optimization
    Vezi pe GitHub↗9,675
  • hiyouga/easyr1Avatar hiyouga

    hiyouga/EasyR1

    5,034Vezi pe GitHub↗

    EasyR1 is a distributed model training system and reinforcement learning framework for large language and vision-language models. It functions as a multimodal trainer and an implementation of a Proximal Policy Optimization pipeline designed to refine the reasoning and perception capabilities of models that process both text and images. The system specializes in distributing reinforcement learning workloads across multiple compute nodes to manage high memory requirements. It optimizes hardware utilization through padding-free training and fine-tuning to fit large models onto available graphics

    Python
    Vezi pe GitHub↗5,034
  • zhaochenyang20/awesome-ml-sys-tutorialAvatar zhaochenyang20

    zhaochenyang20/Awesome-ML-SYS-Tutorial

    5,371Vezi pe 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
    Vezi pe GitHub↗5,371
Vezi toate cele 30 alternative pentru Xtuner→

Întrebări frecvente

Ce face internlm/xtuner?

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).

Care sunt principalele funcționalități ale internlm/xtuner?

Principalele funcționalități ale internlm/xtuner sunt: Large Language Model Fine-Tuning, Large-Scale Model Training, LLM Fine-Tuning Engines, Large Language Model Training Frameworks, Sequence Parallelism, Communication-Computation Overlap, Conversation Prompt Templating, Reward Modeling.

Care sunt câteva alternative open-source pentru internlm/xtuner?

Alternativele open-source pentru internlm/xtuner includ: infrasys-ai/aiinfra. openrlhf/openrlhf — OpenRLHF is a training framework and alignment library designed for reinforcement learning from human feedback across… hiyouga/easyr1 — EasyR1 is a distributed model training system and reinforcement learning framework for large language and… zhaochenyang20/awesome-ml-sys-tutorial — This project provides a comprehensive technical guide and framework for engineering large-scale machine learning… modelscope/swift — Swift is a toolkit for the full-parameter and parameter-efficient fine-tuning of large language and multimodal models.… axolotl-ai-cloud/axolotl — Axolotl is a configuration-driven framework designed for the fine-tuning, evaluation, and quantization of large…