Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

axolotl

> AI 编程
Open source

Go ahead and axolotl questions

12.3K stars0 likes2 views
WebsiteGitHub

About

Go ahead and axolotl questions

</picture>

A Free and Open Source LLM Fine-tuning Framework

<a href="https://codecov.io/gh/axolotl-ai-cloud/axolotl"></a>
<a href="https://github.com/axolotl-ai-cloud/axolotl/releases"></a>
<br/>
<a href="https://github.com/axolotl-ai-cloud/axolotl/graphs/contributors"></a>

<br/>
<a href="https://discord.com/invite/HhrNrHJPRb"></a>
<a href="https://twitter.com/axolotl_ai"></a>
<a href="https://colab.research.google.com/github/axolotl-ai-cloud/axolotl/blob/main/examples/colab-notebooks/colab-axolotl-example.ipynb"></a>
<br/>

Latest Updates

  • 2026/08:
    • New model support has been added in Axolotl for Ling 3.0, Muse Glimmer, North Micro Vision Instruct and Shieldstral.
  • 2026/07:
    • NVFP4 (4-bit) MoE LoRA training is now supported via ScatterMoE (W4A16) and SonicMoE (W4A4), including adapter merge back into a plain NVFP4 checkpoint.
  • 2026/06:
    • Expert Parallelism (EP) for distributed MoE training via DeepEP, remote training through Tinker-compatible APIs, Context Parallelism for hybrid SSM models (Nemotron-H, Falcon-H1, Bamba), BitNet 1.58-bit fine-tuning, and a multimodal assistant-only loss-masking fix.
  • 2026/04:
    • New model support has been added in Axolotl for Mistral Medium 3.5 and Gemma 4.
    • New RL and kernels: Async GRPO (up to 58% faster steps), Flash Attention 4, NeMo Gym, and EBFT.
    • Axolotl is now uv-first and has SonicMoE fused LoRA support.
  • 2026/03:
    • New model support has been added in Axolotl for Mistral Small 4, Qwen3.5, Qwen3.5 MoE, GLM-4.7-Flash, GLM-4.6V, and GLM-4.5-Air.
    • MoE expert quantization support (via quantize_moe_experts: true) greatly reduces VRAM when training MoE models (FSDP2 compat).
Expand older updates
  • 2026/02:
    • ScatterMoE LoRA support. LoRA fine-tuning directly on MoE expert weights using custom Triton kernels.
    • Axolotl now has support for SageAttention and GDPO (Generalized DPO).
  • 2026/01:
    • New integration for EAFT (Entropy-Aware Focal Training), weights loss by entropy of the top-k logit distribution, and Scalable Softmax, improves long context in attention.
  • 2025/12:
    • Axolotl now includes support for Kimi-Linear, Plano-Orchestrator, MiMo, InternVL 3.5, Olmo3, Trinity, and Ministral3.
    • Distributed Muon Optimizer support has been added for FSDP2 pretraining.
  • 2025/10: New model support has been added in Axolotl for: Qwen3 Next, Qwen2.5-vl, Qwen3-vl, Qwen3, Qwen3MoE, Granite 4, HunYuan, Magistral 2509, Apertus, and Seed-OSS.
  • 2025/09: Axolotl now has text diffusion training. Read more here.
  • 2025/08: QAT has been updated to include NVFP4 support. See PR.
  • 2025/07:
    • ND Parallelism support has been added into Axolotl. Compose Context Parallelism (CP), Tensor Parallelism (TP), and Fully Sharded Data Parallelism (FSDP) within a single node and across multiple nodes. Check out the blog post for more info.
    • Axolotl adds more models: GPT-OSS, Gemma 3n, Liquid Foundation Model 2 (LFM2), and Arcee Foundation Models (AFM).
    • FP8 finetuning with fp8 gather op is now possible in Axolotl via torchao. Get started here!
    • Voxtral, Magistral 1.1, and Devstral with mistral-common tokenizer support has been integrated in Axolotl!
    • TiledMLP support for single-GPU to multi-GPU training with DDP, DeepSpeed and FSDP support has been added to support Arctic Long Sequence Training. (ALST). See examples for using ALST with Axolotl!
  • 2025/06: Magistral with mistral-common tokenizer support has been added to Axolotl. See docs to start training your own Magistral models with Axolotl!
  • 2025/05: Quantization Aware Training (QAT) support has been added to Axolotl. Explore the docs to learn more!
  • 2025/04: Llama 4 support has been added in Axolotl. See docs to start training your own Llama 4 models with Axolotl's linearized version!
  • 2025/03: Axolotl has implemented Sequence Parallelism (SP) support. Read the blog and docs to learn how to scale your context length when fine-tuning.
  • 2025/03: (Beta) Fine-tuning Multimodal models is now supported in Axolotl. Check out the docs to fine-tune your own!
  • 2025/02: Axolotl has added LoRA optimizations to reduce memory usage and improve training speed for LoRA and QLoRA in single GPU and multi-GPU training (DDP and DeepSpeed). Jump into the docs to give it a try.
  • 2025/02: Axolotl has added GRPO support. Dive into our blog and GRPO example and have some fun!
  • 2025/01: Axolotl has added Reward Modelling / Process Reward Modelling fine-tuning support. See docs.

✨ Overview

Axolotl is a free and open-source tool designed to streamline post-training and fine-tuning for the latest large language models (LLMs).

Features:

  • Multiple Model Support: Train various models like GPT-OSS, LLaMA, Mistral, Mixtral, Pythia, and many more models available on the Hugging Face Hub.
  • Multimodal Training: Fine-tune vision-language models (VLMs) including LLaMA-Vision, Qwen2-VL, Pixtral, LLaVA, SmolVLM2, GLM-4.6V, InternVL 3.5, Gemma 3n, PaddleOCR-VL, Muse Glimmer, and audio models like Voxtral with image, video, and audio support.
  • Training Methods: Full fine-tuning, LoRA, QLoRA, GPTQ, QAT (int8/int4/FP8/NVFP4/MXFP4), FP8 mixed-precision training, NVFP4/MXFP4 MoE LoRA, Preference Tuning (DPO, IPO, KTO, ORPO), RL (GRPO, GDPO), and Reward Modelling (RM) / Process Reward Modelling (PRM).
  • Easy Configuration: Re-use a single YAML configuration file across the full fine-tuning pipeline: dataset preprocessing, training, evaluation, quantization, and inference.
  • Performance Optimizations: Multipacking, Flash Attention 2/3/4, Xformers, Flex Attention, SageAttention, Liger Kernel, Cut Cross Entropy, ScatterMoE, Sequence Parallelism (SP), LoRA optimizations, Multi-GPU training (FSDP1, FSDP2, DeepSpeed), Multi-node training (Torchrun, Ray), and many more!
  • Flexible Dataset Handling: Load from local, HuggingFace, and cloud (S3, Azure, GCP, OCI) datasets.
  • Cloud Ready: We ship Docker images and also PyPI packages for use on cloud platforms and local hardware.

Quick Start - LLM Fine-tuning in Minutes

Requirements:

  • NVIDIA GPU (Ampere or newer for bf16 and Flash Attention) or AMD GPU
  • Python >=3.11 (3.12 recommended)
  • PyTorch ≥2.11.0 (2.12.1 recommended)

Google Colab

Installation

bash
# install uv if you don't already have it installed (restart shell after)
curl -LsSf https://astral.sh/uv/install.sh | sh

# change depending on system
export UV_TORCH_BACKEND=cu130

# create a new virtual environment
uv venv --python 3.12
source .venv/bin/activate

uv pip install torch==2.12.1 torchvision
uv pip install --no-build-isolation axolotl[deepspeed]

# Download example axolotl configs, deepspeed configs
axolotl fetch examples
axolotl fetch deepspeed_configs  # OPTIONAL

Using Docker

Insta

Issues· 243 open

View all issuesOpen on GitHub
  • #3196

    Training loss differs based on batch size

    bugUpdated Sep 28, 2026
  • #4059

    EvalPort: portable interchange for evaluate_dataset/eval_summary results

    Updated Sep 27, 2026
  • #4041

    `axolotl train` Rejects HTTPS Config URLs That the CLI Docs Say Are Supported

    bugUpdated Sep 24, 2026
  • #1442

    Pad_to_max_sequence_len=auto support

    enhancementUpdated Sep 18, 2026
  • #3998

    Export LoRA Adapters to GGUF via convert_lora_to_gguf.py

    enhancementgood first issueUpdated Sep 11, 2026
  • #2752

    GRPO Single GPU / colocate with TRL==0.18.x

    enhancementUpdated Sep 7, 2026
  • #3981

    Add support for new flash-attn (and kernel) interface in ring-flash-attention

    enhancementUpdated Sep 4, 2026
  • #3940

    TokensPerSecondCallback captures resume_from_checkpoint before auto-resume detection resolves it, silently zeroing token metrics

    Updated Aug 25, 2026
  • #3203

    OOM for causal lm evaluation and missing logging

    bugwaiting for reporterUpdated Aug 20, 2026
  • #3890

    model support system follow-ups

    enhancementUpdated Aug 10, 2026

> Tags

Pythonfine-tuningllm

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.