llm-foundry ist ein Trainings-Framework für Large Language Models, das ein System für das Pre-training von Foundation Models und das überwachte Fine-tuning bietet. Es enthält einen verteilten Trainer zur Skalierung von Workloads über mehrere Knoten und GPUs, eine Dataset-Streaming-Pipeline zum Laden von Daten aus Cloud-Speichern sowie eine Implementierung für parameter-effizientes Fine-tuning.
Die Hauptfunktionen von mosaicml/llm-foundry sind: Distributed Training, Cloud Dataset Streaming, Cloud-Native Data Streaming, Distributed ML Trainers, Distributed Training Sharding, Foundation Model Pre-training, Multi-Node Training Scaling, Large Language Model Fine-Tuning.
Open-Source-Alternativen zu mosaicml/llm-foundry sind unter anderem: pytorch/torchtune — Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a… lightning-ai/litgpt — LitGPT is a training and deployment framework for large language models, providing a suite of tools for pretraining,… openrlhf/openrlhf — OpenRLHF is a training framework and alignment library designed for reinforcement learning from human feedback across… internlm/xtuner — xtuner is a comprehensive training engine for large language models, offering a toolkit for pre-training, supervised… facebookresearch/llama-recipes — This repository is a collection of frameworks and guides for Llama models, functioning as a fine-tuning framework, an… h2oai/h2o-llmstudio — h2o-llmstudio is a language model training framework that provides a no-code graphical interface for fine-tuning large…
Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a configurable training pipeline orchestrated through YAML recipes, with CLI overrides and component swapping, distributed training via FSDP2, memory optimizations, and parameter-efficient fine-tuning methods like LoRA, DoRA, and QLoRA. The library distinguishes itself through its YAML-driven configuration system that defines all training parameters and instantiates components from config files, with full CLI override capability for any field or component at launch time. It suppo
LitGPT is a training and deployment framework for large language models, providing a suite of tools for pretraining, finetuning, quantizing, evaluating, and serving models within a production environment. It includes a dedicated training pipeline for adapting pretrained models to specific tasks, a quantization tool for reducing weight precision, and an inference server for hosting models via web interfaces. The framework supports high-performance model development through custom architecture implementation and the use of predefined recipes to standardize pretraining and finetuning. It enables
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
xtuner is a comprehensive training engine for large language models, offering a toolkit for pre-training, supervised fine-tuning, and the optimization of vision-language multimodal models. It serves as a distributed training accelerator and a specialized framework for scaling Mixture-of-Experts models and aligning model behavior through reinforcement learning from human feedback. The project distinguishes itself through advanced memory and compute optimizations, such as sequence parallelism for ultra-long context windows and interleaved pipeline parallelism to reduce GPU idle time. It provide