跳到正文

Unsloth 版本记录

Unsloth AI and contributors · 开源桌面工作区,可运行受支持的 AI 模型、处理本地文档,并探索模型训练与媒体工作流。

Cask开发工具自带更新 8万
主页
安装命令
brew install --cask unsloth
近 30 天安装
2,136
App榜第 173
近一年安装
3,388
365 天累计
最新版本
0.1.925-beta
下载大小
23MB
dmg
更新节奏
每周
近 30 天 13 个版本
  1. 2026

    最新

    GitHub Release

    12x Faster MoE Training + Embedding support!

    Our first release of 2026! This year we’ve got a lot of exciting things coming and to kick things off, we’re introducing faster MoE training, embedding model support, and ultra long context for Reinforcement Learning. We’ll also be launching our brand new UI very soon.

    We’d like to thank all of you for 50K stars on GitHub! ⭐

    We’ve also added support for many new models that you can now run and fine-tune locally, including DeepSeek-OCR 2, GLM-4.7-Flash, Kimi-2.5, and more.

    🚀 Faster MoE training

    You can now train MoE models 12× faster with 35% less VRAM and 6x longer context via our new Triton and math kernels (no accuracy loss). gpt-oss-20b works on 12.8GB VRAM. Qwen3-30B-A3B (16-bit LoRA) uses 63GB.

    Unsloth supports fast training for gpt-oss, Qwen3 (30B, 235B, VL, Coder), DeepSeek R1/V3 arch and GLM (4.7, Flash) models.

    Faster MoE Blog

    🔎 Embedding models now train 2× faster

    We collaborated with Hugging Face to enable 1.8-3.3x faster embedding, BERT and classifier model training with 20% less VRAM, 2x longer context & no accuracy loss vs. FA2 setups.

    Embedding model Blog

    💡 Ultra Long Context RL is here

    We’re introducing new batching algorithms to enable ~7x longer context (can be more than 12x) RL training with no accuracy or speed degradation vs. other optimized setups that use FA3, kernels & chunked losses.

    Unsloth now trains gpt-oss QLoRA with 380K context on a single 192GB NVIDIA B200 GPU

    Long Context RL Blog

    🔮 New models

    🎉 Extra Updates

    1. As part of our MoE release, we also made Gemma-3 now use Flex-Attention by default, and this works in float16 settings as well (there were infinities which we solved a while back). Gemma-3 now uses O(N) memory and not O(N^2) memory, and trains >3x faster (scales even better with context length). Previous Unsloth versions would OOM.
    2. Vision fine-tuning now accepts mixed data of only images and text data!
    3. trl==0.27.1 and transformers==5.1.0 are supported well - previous coverage was 30% of all our 120 notebooks, but now we have >80% coverage - we plan to make it 100% over the next few days.
    4. And many many other bug fixes and other updates!

    📖 New Guides

    • </> How To Use Claude Code + Codex with local LLMs: Guide
    • 👾 Train & deploy to LM Studio for local inference: Guide
    • 🎨 Run Diffusion image models with Unsloth GGUFs: Guide

    [!TIP] Update Unsloth via pip install --upgrade --force-reinstall --no-cache-dir --no-deps unsloth unsloth_zoo If you want PyTorch 2.9: pip install --upgrade unsloth unsloth_zoo

    February is shaping up to be an amazing month for LLM releases, and we hope you’re just as excited as we are. 😊

    What's Changed

    Unsloth Zoo Changes

    Unsloth Notebooks changes

    New Contributors

    Full Changelog: https://github.com/unslothai/unsloth/compare/December-2025...February-2026

  2. 2025-03

    GitHub Release

    Gemma 3 + FFT Support

    March Release 🦥

    Get the latest stable Unsloth via:

    pip install --upgrade --force-reinstall --no-cache-dir unsloth unsloth_zoo
    

    The March release should be stable - you can force the version via:

    pip install "unsloth==2025.3.18" "unsloth_zoo==2025.3.16"
    

    New Features

    • Read all details here: https://unsloth.ai/blog/gemma3

    • Gemma 3 1B, 4B, 12B and 27B finetuning all work now! Colab Notebook We fixed some issues which caused Gemma 3 training loss to be very high. This includes some tokenization issues so fine-tuning Gemma 3 will now work correctly if you use Unsloth. Image: image

    • We also encountered many infinite gradients during Gemma 3 (1B to 27B) finetuning. We found float16 mixed precision (Tesla T4, RTX 2080 series) to not function well, and we defaulted to float32 precision. Float16 also failed on A100, so this is a hardware agnostic issue. Bfloat16 is fine though! Unsloth auto selects the best data-type! You do not have to do anything! Colab Notebook to finetune Gemma 3

    • Preliminary support for full-finetuning and 8bit finetuning - set full_finetuning = True or load_in_8bit = True Both will be optimized further in the future! A reminder you will need more powerful GPUs!

    model, tokenizer = FastModel.from_pretrained(
        model_name = "unsloth/gemma-3-4B-it",
        max_seq_length = 2048, # Choose any for long context!
        load_in_4bit = True,  # 4 bit quantization to reduce memory
        load_in_8bit = False, # [NEW!] A bit more accurate, uses 2x memory
        full_finetuning = False, # [NEW!] We have full finetuning now!
        # token = "hf_...", # use one if using gated models
    )
    
    • New Unsloth Auto Model support - nearly all models are now supported! We now supports vision and text models out of the box, without the need for custom implementations (and all are optimized!)
    • Mixtral (yes finally!), Gemma 3, Granite 3.2, Cohere, OLMo, Reka, and generally any vision or language model! There might be some occasional models which don't work!
    model, tokenizer = FastModel.from_pretrained(
        model_name = "mistralai/Mixtral-8x7B-Instruct-v0.1",
    )
    
    pip install unsloth
    
    • Train on completions / responses only for vision models supported! Use it like below:
    data_collator = UnslothVisionDataCollator(
        model,
        tokenizer,
        train_on_responses_only = False,
        instruction_part = "<|start_header_id|>user<|end_header_id|>\n\n",
        response_part = "<|start_header_id|>assistant<|end_header_id|>\n\n",
    )
    SFTTrainer(..., data_collator = data_collator)
    
    • Conversions to llama.cpp GGUFs for 16bit and 8bit now DO NOT need compiling! This solves many many issues, and this means no need to install GCC, Microsoft Visual Studio etc!
    model.save_pretrained_merged("gemma-3-finetune", tokenizer)
    model.save_pretrained_gguf(
        "gemma-3-finetune",
        quantization_type = "Q8_0", # For now only Q8_0, BF16, F16 supported
    )
    
    • Vision models now auto resize images which stops OOMs and also allows truncating sequence lengths!

    • Many multiple optimizations in Unsloth allowing a further +10% less VRAM usage, and >10% speedup boost for 4bit (on top of our original 2x faster, 70% less memory usage). 8bit and full finetuning also benefit!

    • GRPO in Unsloth now allows non Unsloth uploaded models to be in 4bit as well - reduces VRAM usage a lot! (ie pretend your own finetune of Llama)

    • New training logs and infos - training parameter counts, total batch size Image: image

    • Vision models now also work for normal text training! This means non vision notebooks can work with vision models!

    • Complete gradient accumulation bug fix coverage for all models!

    • GRPO notebook for Gemma 3 coming soon with Hugging Face's reasoning course!

    • DoRA, Dropout, and other PEFT methods should just work!

    Bug fixes

    • Faster and less error prone streamlined finetuning experience! Apologies for the recent issues with constant releases and breaking breaks - the March release should be stable! Ie pip install "unsloth==2025.3.14" "unsloth_zoo==2025.3.12"
    • Pixtral and Llava finetuning are now fixed! In fact nearly all vision models are supported out of the box! Please update transformers for Pixtral: pip install --no-deps git+https://github.com/huggingface/transformers.git
    • Fixed all Colabs not working - cloud instances like Runpod should just work now!
    • Fixed many many bugs - will reply to each issue with updates!

    Other items

    New Contributors

    Full Changelog: https://github.com/unslothai/unsloth/compare/2025-02...2025-03

  3. 2025-02

    GitHub Release

    GRPO, vLLM

    GRPO is in Unsloth!

    • Experience the "aha moment" from DeepSeek R1's paper now with Unsloth!
    • LoRA (16bit) / QLoRA (4bit) actually work for GRPO now!
    • Unsloth can do GRPO for Phi-4 14B Llama-3.1 8B in a free 15GB Colab GPU!
    • Unsloth now has native fast inference (20x more throughput) via vLLM! Use it via model.fast_generate after setting FastLanguageModel.from_pretrained(..., fast_inference = True) and installing vLLM via pip install vllm
    • Llama 3.3 70B QLoRA GRPO should fit in 1x 48GB (best 1x 80GB)
    • Update unsloth via pip install --upgrade --no-cache-dir --force-reinstall unsloth_zoo unsloth vllm

    Image: image

    GRPO Notebooks

    Model Type Colab Link
    Phi 4 (14B) GRPO Open in Colab
    Llama 3.1 (8B) GRPO Open in Colab
    Qwen 2.5 (3B) GRPO Open in Colab

    Minimal GRPO example (courtesy of Will Brown]

    !pip install unsloth vllm
    !pip install git+https://github.com/huggingface/trl.git
    
    from unsloth import FastLanguageModel, PatchFastRL
    PatchFastRL("GRPO", FastLanguageModel)
    
    from unsloth import is_bfloat16_supported
    import torch
    max_seq_length = 512
    lora_rank = 32
    
    model, tokenizer = FastLanguageModel.from_pretrained(
        model_name = "meta-llama/meta-Llama-3.1-8B-Instruct",
        max_seq_length = max_seq_length,
        load_in_4bit = True,
        fast_inference = True,
        max_lora_rank = lora_rank,
        gpu_memory_utilization = 0.6,
    )
    model = FastLanguageModel.get_peft_model(
        model,
        r = lora_rank,
        lora_alpha = lora_rank,
    )
    
    import re
    from datasets import load_dataset, Dataset
    
    # Load and prep dataset
    SYSTEM_PROMPT = """
    Respond in the following format:
    <reasoning>
    ...
    </reasoning>
    <answer>
    ...
    </answer>
    """
    
    XML_COT_FORMAT = """\
    <reasoning>
    {reasoning}
    </reasoning>
    <answer>
    {answer}
    </answer>
    """
    
    def extract_xml_answer(text: str) -> str:
        answer = text.split("<answer>")[-1]
        answer = answer.split("</answer>")[0]
        return answer.strip()
    
    def extract_hash_answer(text: str) -> str | None:
        if "####" not in text:
            return None
        return text.split("####")[1].strip()
    
    # uncomment middle messages for 1-shot prompting
    def get_gsm8k_questions(split = "train") -> Dataset:
        data = load_dataset('openai/gsm8k', 'main')[split] # type: ignore
        data = data.map(lambda x: { # type: ignore
            'prompt': [
                {'role': 'system', 'content': SYSTEM_PROMPT},
                {'role': 'user', 'content': x['question']}
            ],
            'answer': extract_hash_answer(x['answer'])
        }) # type: ignore
        return data # type: ignore
    
    dataset = get_gsm8k_questions()
    
    # Reward functions
    def correctness_reward_func(prompts, completions, answer, **kwargs) -> list[float]:
        responses = [completion[0]['content'] for completion in completions]
        q = prompts[0][-1]['content']
        extracted_responses = [extract_xml_answer(r) for r in responses]
        print('-'*20, f"Question:\n{q}", f"\nAnswer:\n{answer[0]}", f"\nResponse:\n{responses[0]}", f"\nExtracted:\n{extracted_responses[0]}")
        return [2.0 if r == a else 0.0 for r, a in zip(extracted_responses, answer)]
    
    def int_reward_func(completions, **kwargs) -> list[float]:
        responses = [completion[0]['content'] for completion in completions]
        extracted_responses = [extract_xml_answer(r) for r in responses]
        return [0.5 if r.isdigit() else 0.0 for r in extracted_responses]
    
    def strict_format_reward_func(completions, **kwargs) -> list[float]:
        """Reward function that checks if the completion has a specific format."""
        pattern = r"^<reasoning>\n.*?\n</reasoning>\n<answer>\n.*?\n</answer>\n$"
        responses = [completion[0]["content"] for completion in completions]
        matches = [re.match(pattern, r) for r in responses]
        return [0.5 if match else 0.0 for match in matches]
    
    def soft_format_reward_func(completions, **kwargs) -> list[float]:
        """Reward function that checks if the completion has a specific format."""
        pattern = r"<reasoning>.*?</reasoning>\s*<answer>.*?</answer>"
        responses = [completion[0]["content"] for completion in completions]
        matches = [re.match(pattern, r) for r in responses]
        return [0.5 if match else 0.0 for match in matches]
    
    def count_xml(text) -> float:
        count = 0.0
        if text.count("<reasoning>\n") == 1:
            count += 0.125
        if text.count("\n</reasoning>\n") == 1:
            count += 0.125
        if text.count("\n<answer>\n") == 1:
            count += 0.125
            count -= len(text.split("\n</answer>\n")[-1])*0.001
        if text.count("\n</answer>") == 1:
            count += 0.125
            count -= (len(text.split("\n</answer>")[-1]) - 1)*0.001
        return count
    
    def xmlcount_reward_func(completions, **kwargs) -> list[float]:
        contents = [completion[0]["content"] for completion in completions]
        return [count_xml(c) for c in contents]
    
    from trl import GRPOConfig, GRPOTrainer
    training_args = GRPOConfig(
        use_vllm = True, # use vLLM for fast inference!
        learning_rate = 5e-6,
        adam_beta1 = 0.9,
        adam_beta2 = 0.99,
        weight_decay = 0.1,
        warmup_ratio = 0.1,
        lr_scheduler_type = "cosine",
        optim = "paged_adamw_8bit",
        logging_steps = 1,
        bf16 = is_bfloat16_supported(),
        fp16 = not is_bfloat16_supported(),
        per_device_train_batch_size = 1,
        gradient_accumulation_steps = 1,
        num_generations = 6,
        max_prompt_length = 256,
        max_completion_length = 200,
        # num_train_epochs = 1,
        max_steps = 250,
        save_steps = 250,
        max_grad_norm = 0.1,
        report_to = "none",
        output_dir = "outputs",
    )
    
    trainer = GRPOTrainer(
        model = model,
        processing_class = tokenizer,
        reward_funcs = [
            xmlcount_reward_func,
            soft_format_reward_func,
            strict_format_reward_func,
            int_reward_func,
            correctness_reward_func,
        ],
        args = training_args,
        train_dataset = dataset,
    )
    trainer.train()
    

    Bug Fixes

    • Gemma 2 should be fixed now
    • Mistral base mapping should be fixed
    • Some syntax warning issue fixes
    • And many many more bug fixes!

    What's Changed

    New Contributors

    Full Changelog: https://github.com/unslothai/unsloth/compare/2025-01...2025-02

  4. 2025-01

    展开

    GitHub Release

    Phi-4 & Bug Fixes

    • Please update Unsloth if you're seeing significant or unusual loss results—the latest update fixes an issue caused by the new transformers version. See our new updating instructions here

    Phi-4 is now supported! We also fixed a few bugs in Phi-4 including:

    1. EOS token should not be <|endoftext|> but rather <|im_end|>
    2. Chat template did not have a add_generation_prompt
    3. Pad token should not be <|endoftext|> but rather <|dummy_87|>

    Try Phi-4 finetuning out in our Colab Notebook for conversational workloads.

    We also llama-fied Phi-4 (converted to Llama arch), and uploaded all fixed versions and GGUFs to https://huggingface.co/unsloth

    Using Hugging Face's Open LLM Leaderboard, we can see our fixes and changes do work, and sometimes increase accuracy vs Microsoft's original Phi-4 model! Image: Phi

    Other community members show our fixes do in fact work:

    More details on bug fixes here: https://unsloth.ai/blog/phi4

    We also uploaded dynamic 4bit quants as well, with error plots here: Image: Error

    Bug Fixes

    • Gradient accumulation bug fix was not applied on Llama 3.2 Vision
    • Fix attention backwards performance regression for T4s, V100s for Xformers < 0.0.29
    • Enable gradients without make_inputs_require_grad - ie not just on model.get_input_embeddings() - this meant only language models had correctly applied requires_grad_(True), and all vision models had their PEFT modules on the vision part essentially be untrained.
    • Fix train_on_responses_only for Phi-4

    New features

    • Auto enable gradient accumulation fixes for all models
    • Windows support via Triton Windows and Xformers for Windows
    • Xformers==0.0.29 support makes H100 training 10% faster
    • Updated all notebooks to use Github links

    Update instructions

    Please update Unsloth with no dependency updates via

    pip install --upgrade --force-reinstall --no-deps --no-cache-dir unsloth unsloth_zoo
    

    To get the latest Unsloth version, go to https://pypi.org/project/unsloth/ or do:

    pip install unsloth
    

    What's Changed

    New Contributors

  5. 2025-v3

    展开

    GitHub Release

    gpt-oss Reinforcement Learning + Auto Kernel Notebook

    We’re introducing gpt-oss RL support and the fastest RL inference and lowest VRAM use vs. any implementation. Blog: https://docs.unsloth.ai/new/gpt-oss-reinforcement-learning

    • Unsloth now offers the fastest inference (~3x faster), lowest VRAM (50% less) and most context (8x longer) for gpt-oss RL vs. any implementation - with no accuracy loss.

    • Since RL on gpt-oss isn't yet vLLM compatible, we rewrote Transformers inference code to enable faster inference

    • gpt-oss-20b GSPO free Colab notebook

    • This notebook automatically creates faster matrix multiplication kernels and uses a new Unsloth reward function. We also show how to counteract reward-hacking which is one of RL's biggest challenges.

    • We previously released Vision RL with GSPO support

    • ⚠️ Reminder to NOT use Flash Attention 3 for gpt-oss as it'll make your training loss wrong.

    • DeepSeek-V3.1-Terminus is here and you can run locally via our GGUF Read how our 3-bit GGUF beats Claude-4-Opus (thinking) on Aider Polyglot here

    • Magistral 1.2 is here and you can run it locally here or fine-tune it for free by using our Kaggle notebook

    • Fine-tuning the new Qwen3 models including Qwen3-VL, Qwen3-Omni and Qwen3-Next should work in Unsloth if you install the latest transformers. The models are big however so ensure you have enough VRAM.

    • BERT is now fixed! Feel free to use our BERT fine-tuning notebook

    Don't forget to also join our Reddit: r/unsloth 🥰

    What's Changed

    New Contributors

    Full Changelog: https://github.com/unslothai/unsloth/compare/September-2025-v2...September-2025-v3

  6. 2025-v2

    展开

    GitHub Release

    Vision Reinforcement Learning + Memory Efficient RL

    We're excited to support Vision models for RL and even more memory efficient + faster RL!

    Unsloth now supports vision/multimodal RL with Gemma 3, Qwen2.5-VL and other vision models. Due to Unsloth's unique weight sharing and custom kernels, Unsloth makes VLM RL 1.5–2× faster, uses 90% less VRAM, and enables 10× longer context lengths than FA2 setups, with no accuracy loss. Qwen2.5-VL GSPO notebook Gemma 3 (4B) Vision GSPO notebook

    Full details in our blogpost: https://docs.unsloth.ai/new/vision-reinforcement-learning-vlm-rl

    • This update also introduces Qwen's GSPO algorithm.

    • Our new vision RL support also comes now even faster & more memory efficient! Our new kernels & algos allows faster RL for text and vision LLMs with 50% less VRAM & 10× more context.

    • Introducing a new RL feature called 'Standby'. Before, RL requires GPU splitting between training & inference. With Unsloth Standby, you no longer have to & 'Unsloth Standby' uniquely limits speed degradation compared to other implementations and sometimes makes training even faster! Read our Blog

    • We released Aider Polyglot benchmarks for our DeepSeek-V3.1 Dynamic GGUFs and Unsloth quants perform consistently better than others. Blog

    Don't forget to also join our Reddit: r/unsloth 🥰

    What's Changed

    New Contributors

    Full Changelog: https://github.com/unslothai/unsloth/compare/August-2025-v2...September-2025-v2

  7. 2025

    展开

    GitHub Release

    December Release + 3x Faster Training

    Thanks for all the love and support this year! We're wishing you all a lovely Christmas. Please update Unsloth & our Docker to use the latest updates! 🦥

    • Introducing 3x faster training & 30% less VRAM. New Triton kernels, padding-free & packing. Blog
    • 500K Context training and reinforcement learning is now possible on a single 80GB GPU. Blog • Notebook
    • Fine-tune then Deploy LLMs on your Phone with PyTorch and Unsloth. Tweet • Read Guide
    • 🤗 Transformers v5 is now supported! It's not enabled by default due to possible instability issues.
    • Preliminary multi-GPU support: DDP Guide (not representative of the official release early next year)
    • More: Sudoku RL nb • Paddle-OCR nb • New NVIDIA blog
    • Lots of bug fixes! See further below.

    :crystal_ball: New Models + Guides

    [!TIP] Update Unsloth via pip install --upgrade --force-reinstall --no-cache-dir --no-deps unsloth unsloth_zoo If you want PyTorch 2.9: pip install --upgrade unsloth unsloth_zoo

    Bug Fixes and Enhancements

    1. Supports rollout_func allowing multi turn RL to work
    2. Supports vllm>=0.12.0 and efficient GRPO for it
    3. Supports transformers>=5.0.0, first shown via our Ministral notebooks
    4. Fix HuggingFace token logins not working for private repos
    5. Fixes TorchAO and QAT not working during saving
    6. Fixed DeepSeek OCR finetuning not loading finetuned models
    7. Improved vision utilities for vision VLM finetuning

    What's Changed

    Unsloth Zoo Changes

    New Contributors

    Full Changelog: https://github.com/unslothai/unsloth/compare/November-2025...December-2025

  8. 2024

    展开

    GitHub Release

    Llama 3.3 + Dynamic 4bit Quants

    We provide dynamic 4bit quants which uses a bit more memory, but vastly improves accuracy for finetuning and inference. Unsloth will now default to these versions! See https://unsloth.ai/blog/dynamic-4bit for more details.

    Llama 3.3 is out now! Read our blog: https://unsloth.ai/blog/llama3-3

    • You can now fine-tune Llama 3.3 (70B) up to 90,000 context lengths with Unsloth, which is 13x longer than what Hugging Face + FA2 supports at 6,900 on a 80GB GPU.
    • For Llama 3.1 (8B), Unsloth can now do a whopping 342,000 context length, which exceeds the 128K context lengths Llama 3.1 natively supported. HF + FA2 can only do 28,000 on a 80GB GPU, so Unsloth supports 12x context lengths.
    • 70B models can now fit on 41GB of VRAM - nearly 40GB!

    All notebooks now use these dynamic quants:

    Experiments

    Image: Train Quantizing Qwen2-VL-2B Instruct down to 4 bits breaks the model entirely.

    Qwen2-VL-2B-Instruct Description Size Result
    16bit The image shows a train traveling on tracks. 4.11GB ✅
    Default 4bit all layers The image depicts a vibrant and colorful scene of a coastal area. 1.36GB ❌
    Unsloth quant The image shows a train traveling on tracks. 1.81GB ✅

    Merging to 16bit now works as expected.

    Fixed a major bug which caused merges to not function correctly for vision models.

    Llama.cpp GGUF saving now uses cmake.

    All saving modules are also updated inside of Unsloth!

    Apple Cut Cross Entropy

    We worked with Apple to add Cut Cross Entropy into Unsloth which reduces VRAM use and increase context length further.

    QwQ 4bit quants and GGUFs

    Try a O1 test time compute LLM out! See https://huggingface.co/unsloth

    What's Changed

    Full Changelog: https://github.com/unslothai/unsloth/compare/November-2024...December-2024

  9. 4GitHub Release
  10. 3

    展开

    GitHub Release

    Flash-Attention2, Causal-Conv1D, Mamba_SSM Binaries

    Prebuilt CUDA 13 wheels. Linux x86_64: flash-attn 2.8.4, built for PyTorch 2.13 and 2.14 on Python 3.13; causal-conv1d 1.7.0 and mamba-ssm 2.3.2.post1, built for PyTorch 2.10, 2.11 and 2.12 on Python 3.11, 3.12 and 3.13; 2.13 and 2.14 on Python 3.13. Windows x86_64: flash-attn 2.8.4, causal-conv1d 1.7.0 and mamba-ssm 2.3.2.post1, built for PyTorch 2.10, 2.11 and 2.12 on Python 3.11, 3.12 and 3.13; 2.13 and 2.14 on Python 3.13. Linux aarch64: flash-attn 2.8.4, built for PyTorch 2.13 and 2.14 on Python 3.13; causal-conv1d 1.7.0 and mamba-ssm 2.3.2.post1, built for PyTorch 2.10, 2.11 and 2.12 on Python 3.11, 3.12 and 3.13; 2.13 and 2.14 on Python 3.13. Windows ARM64: causal-conv1d 1.7.0 and mamba-ssm 2.3.2.post1, built for PyTorch 2.14 on Python 3.13. Also mamba-ssm 2.3.2.post1 without its CUDA extension (mamba_ssm-2.3.2.post1-py3-none-any.whl), for Mamba-2 models whose causal conv runs on Triton.

  11. 0.1.925-beta

    展开

    OpenNavo 编辑 Homebrew 收录

    Inkling 2 微调与更快的训练步进

    Unsloth 0.1.925-beta 支持用 LoRA 或 QLoRA 微调 Inkling 2 Mini,加快训练步进,并修正 Inkling 2 Mini 的最大上下文长度。官方说明:https://github.com/unslothai/unsloth/releases/tag/v0.1.925-beta

    微调
    用 LoRA 或 QLoRA 微调 Inkling 2 Mini,速度快 3 倍,显存少 50%。修正最大上下文长度后,Inkling 2 Mini 推理快 2 到 3 倍。小批量下 adamw_8bit 每步最多省 12% 时间。
    训练
    Z-Image 在 T4 上的 LoRA 训练每步快 1.7 倍。unsloth eval 按模型对话格式为自有数据集打分。add_new_tokens 后合并与 GGUF 导出不再丢失 lm_head。
    图像
    24 GB 显卡上,MiniMax-H3-Image 会一次并行去噪多张图。
  12. 0.1.924-beta

    展开

    GitHub Release Homebrew 收录

    Inkling finetuning + perf fixes

    Inkling Fine-tuning

    You can now fine-tune Inkling 2 Mini 1.8 to 3.1x faster and use 50% less VRAM in Unsloth with LoRA or QLoRA, then export it to GGUF or a merged 16-bit model. It trains on Kaggle's free 2x T4 and now supports tensor, pipeline and context parallel across GPUs. Also new: faster adamw_8bit steps, faster Z-Image LoRA training on T4 and fixes for thinking models in chat.

    Highlights

    • Fine-tune Inkling 2 Mini 3x faster + 50% less VRAM in Unsloth Desktop. Guide
    • Faster Inkling 2 Mini inference Fixed incorrect max context length (2-3x faster inference)
    • Faster adamw_8bit up to 12% less time per step on small batches
    • Z-Image LoRA training on T4 1.7x faster per step
    • unsloth eval on chat fine-tunes now scores your own datasets in the model's chat format

    Inkling 2 training

    • Train Inkling 2 Mini with LoRA or QLoRA, including the vision layers. It fits on Kaggle's 2x T4 at about 26 s per step, but not on a single 15 GB T4.
    • Inkling 2 Small is supported too but needs about 290 GB of GPU memory in 4-bit.
    • save_pretrained_merged with merged_16bit and save_pretrained_gguf now work for Inkling 2. merged_4bit is still not supported.
    • A fine-tuned Inkling 2 Mini exports to a 17.5 GB q4_k_m GGUF that runs in llama.cpp. The export needs about 150 GB of free disk, so use a Colab A100 instead of Kaggle.
    • On NVIDIA Ampere or newer GPUs, Inkling 2 training uses FlexAttention, about 15% faster per step on L4.

    Training

    • optim = "adamw_8bit" now updates each parameter group in one step, up to 12% less time per step on L4 with small batches.
    • GRPO rollouts with a 16-bit LoRA decode about 20% faster per token on L4.
    • Native FSDP2 full fine-tuning takes 17 to 21% less time per step on 2x T4.
    • AsyncGRPO tree packing now also covers Mamba2 models such as Nemotron-H and Granite-4.0-H, and LFM2, with newer TRL.
    • Left-padded training batches no longer let pad positions see future tokens.
    • unsloth eval on a chat fine-tune with your own .jsonl, .json or .csv dataset no longer scores near 0.
    • After add_new_tokens on a tied-embedding model, merged and GGUF exports no longer drop the trained lm_head.
    • Phi-3 and Phi-3.5 training text now ends with the EOS token again.
    • Chat datasets with custom keys such as speaker and text no longer get role and content swapped.

    Images + video

    • Z-Image LoRA training on T4 is 1.7x faster per step.
    • On 24 GB GPUs, MiniMax-H3-Image now denoises the images of a multi-image request together instead of one by one.
    • MiniMax-H3 video re-renders with the same reference clip or keyframe skip re-encoding it.
    • FLUX.3 Klein base has an opt-in Fast CFG switch, about 10% faster renders with a small image change.
    • On AMD Strix Halo, FLUX.2 klein 4B LoRA training takes about 11% less time per step.
    • Krea 2 no longer gets killed while loading on T4 machines with limited RAM.

    Chat + Desktop

    • unsloth start --continue reopens your last agent session on the same model and settings.
    • Inkling 2 Mini no longer freezes laptops with 8 GB of VRAM and 16 GB of RAM after a few chats.
    • Thinking models no longer get their reasoning cut short a few turns into a chat.
    • A deleted chat turn no longer comes back when the same chat is open in another tab.
    • Applying a chat preset no longer clears your custom chat template.
    • On Linux with NVIDIA drivers 590 and newer on X11, chat scrolling in Unsloth Desktop is smooth again.
    • Settings > System and Engine > Compute backend now greys out a backend it cannot run and says why.
    • The Linux installer now gives the RX 9060 XT ROCm torch instead of CPU torch.

    Bug Fixes and Hardening

    • Many bugs are also fixed, and many updates are provided to harden unsloth and unsloth-zoo!

    Thanks to all contributors:

    @danielhanchen, @shimmyshimmer, @Lyxot, @0xalkinun, @DimitriChrysafis, @vineethsaivs, @lonexreb, @hMelchisedek, @Imagineer99, @LeoBorcherding, @NilayYadav, @oobabooga, @dependabot[bot], @debojyoti-dev

    Full Changelog: https://github.com/unslothai/unsloth/compare/v0.1.923-beta...v0.1.924-beta

  13. 0.1.923-beta

    展开

    OpenNavo 编辑 Homebrew 收录

    Unsloth Desktop 0.1.923-beta 让 Inkling 2 Mini 的解码最多快 1.9 倍,并加入更快的 GRPO、Qwen-Image-Flash 和 FastWan。

    Inkling
    专家放得下时,Inkling 2 Mini 解码最多快 1.9 倍。在 8 到 12 GB 的 GPU 上,自动模式把更多模型放到 GPU。推测解码默认起草 2 个词元。
    训练
    AsyncGRPO 每步少花 29% 到 40% 的时间。两块 GPU 上的扩散 LoRA 大约让每秒样本翻倍。Qwen-Image-Flash 的 4 步图像大约快 14 倍。
    桌面
    设置 > 知识可以管理知识库。翻译接受音频、字幕和图片。新账户先设置名字、主题和壁纸。

    Unsloth Desktop 0.1.923-beta 让 Inkling 2 Mini 的解码最多快 1.9 倍,并加入更快的 GRPO 训练,以及 Qwen-Image-Flash 和 FastWan。版本 0.1.923-beta,2026 年 11 月 23 日。来源:https://github.com/unslothai/unsloth/releases/tag/v0.1.923-beta

    • 在 8 GB 和 12 GB 的 GPU 上,自动模式把更多 Inkling 2 Mini 放到 GPU,回复最多快 1.19 倍。所有专家都放得下时,提示最多快 1.9 倍。
    • Inkling 2 的推测解码默认起草 2 个词元,比没有草稿模型快 1.15 到 1.19 倍。
    • fast_inference=True 的 AsyncGRPO 每步少花 29% 到 40% 的时间。两块 GPU 上的扩散 LoRA 训练,每秒样本大约是 2 倍。
    • Qwen-Image-Flash 的 4 步图像大约比 Qwen-Image 快 14 倍。FastWan 的 3 步视频最多快 3 倍。
    • 设置 > 知识可以管理知识库。翻译接受音频、SRT 和 VTT 字幕,并能把译文画在图片上。
    • 新账户会先有一段简短欢迎,用来设置名字、主题和壁纸。
    • 指南:https://unsloth.ai/docs/models/inkling-2-mini#id-23rd-november-update
  14. 0.1.922-beta

    展开

    OpenNavo 编辑 Homebrew 收录

    Unsloth 0.1.922-beta 让 16 GB 内存的机器运行 Inkling 2 Mini,并减轻图像生成和 MCP 对话的负担。

    Unsloth 0.1.922-beta 于 2026-11-20 发布,面向在 Unsloth Desktop 中运行模型、处理文档以及做图像或视频任务的人。它加入可在 16 GB 内存上运行的 Inkling 2 Mini,并减轻图像生成和 MCP 对话的负担。

    官方说明:https://github.com/unslothai/unsloth/releases/tag/v0.1.922-beta

    • Inkling 2 Mini 是 26B 模型,活跃参数 5.4B,上下文 1M,可在 16 GB 内存上运行。指南:https://unsloth.ai/docs/models/inkling-2-mini
    • 8 GB 显卡上的 MiniMax-H3-Image 渲染一条新提示需要 36.7 s,之前是 82.7 s。GGUF 图像模型在 Linux 和 macOS 上加载时少用 52–66% 的内存。
    • Mac 上的 Video Restyle 可以在 Apple silicon 上把整段视频重新渲染成另一种风格。bf16 大约需要 42 GiB 显存,q8_0 大约需要 31 GiB。
    • 在厂商的工具测试中,MCP 对话少处理 83–87% 的提示 token,因为工具列表保持固定。Settings 里 Chat 的工具输出长度现在也作用于 llama.cpp、vLLM、Ollama 和 Custom 连接上的 MCP 结果。
    • 对话中的扫描版 PDF 会用 OCR 读取。主题文件可以在 Settings、Appearance、Theme file 中分享外观设置。
    • 只安装聊天用 GGUF 的 Mac 不再把小模型标成 “Does not fit”。会话刷新时丢失一条回复,也不会把每个标签页都登出。
  15. 0.1.921-beta

    展开

    OpenNavo 编辑 Homebrew 收录

    Unsloth 0.1.921-beta 于 2026-11-20 发布,为训练和本地对话的人加入 Inkling 2 Mini,并加快图像生成。

    变更
    Inkling 2 Mini:260 亿参数,54 亿激活,100 万上下文8GB 显卡上的 MiniMax-H3-Image 从 82.7 秒降到 36.7 秒GGUF 图像模型加载内存减少 52-66%Mac 上的 Video Restyle 可以用新风格重绘片段工具测试中,MCP 对话少处理 83-87% 的提示词元聊天里的扫描版 PDF 现在用 OCR 读取

    Unsloth 0.1.921-beta 于 2026-11-20 发布,面向在 Unsloth Desktop 里训练和与本地模型对话的人。Inkling 2 Mini 是 260 亿参数、54 亿激活、100 万上下文的模型。8GB 显卡上的 MiniMax-H3-Image 把一条提示从 82.7 秒降到 36.7 秒。GGUF 图像模型加载内存减少 52-66%,Mac 可以重绘视频风格,Unsloth 的工具测试里 MCP 对话少处理 83-87% 的提示词元。

    Source: https://github.com/unslothai/unsloth/releases/tag/v0.1.921-beta

  16. 0.1.920-beta

    展开

    GitHub Release Homebrew 收录

    AMD NPU + video diffusion LoRA

    AMD NPU support gets a big update in Unsloth: Q4NX models you convert now load on the NPU, and every NPU model shows whether it runs. Also new: LTX-2.5 and MOSS-Image LoRA training, NVIDIA Cosmos3 FP8 video and scheduled tasks that reply in a chat.

    Highlights

    • AMD NPU support - See guide and official AMD blog - NPUs are 2-4x more efficient per joule per token vs GPUs
    • Faster images on Strix Halo - FLUX.3 Klein up to 28% faster per step on Windows
    • LTX-2.5 and MOSS-Image LoRA training in Unsloth
    • Diffusion LoRA training up to 42% faster per step, and now on T4 GPUs too
    • NVIDIA Cosmos3 Nano-FP8 and Edge-FP8 video models now load
    • Scheduled tasks in a chat that reply right in that chat

    AMD NPU

    • Q4NX models you convert on the Export page now show as Converted in the NPU model list and load on the NPU, text only.
    • Q4NX conversion moves to its own Convert to Q4NX tab on the Export page, next to LLM and Diffusion LoRA.
    • Each NPU model is tagged Runs on NPU, Convert, then runs, Converts, won't run or Not supported, read from your installed FastFlowLM, so new models such as LFM3 are no longer hidden.
    • Q4NX conversion now refuses GGUF quants that would load as garbage, such as Qwen3.5 from a Q4_0 GGUF answering only with slashes, and moves on to the next quant.
    • The composer model picker now uses the Model hub's NPU names and order, such as Qwen3.6-35B-A3B-NPU2, with the FastFlowLM logo.
    • The OpenAI-compatible API, unsloth run and unsloth chat accept the NPU model name the app shows, or its FastFlowLM/ repo, instead of only the lemonade: id.
    • The new unsloth list-npu-models lists NPU models with their size, download state and whether they fit your NPU's memory.
    • unsloth chat no longer reloads an NPU model that unsloth run already loaded with a set --context-length.
    • Deep research works on NPU models instead of failing with HTTP 400 or "Local model never started producing output".

    AMD GPUs

    • On Windows with Strix Halo, FLUX.3 Klein INT8 runs up to 28% faster per step and Qwen-Image-2.1 up to 23% faster.
    • On Strix Halo, Qwen-Image-2.1 and Wan now try INT8 attention automatically, and on Linux FLUX.3 Klein INT8 is now as fast as bf16.
    • On Strix Halo with Vulkan, Z-Image images finish about 21% faster with much lower peak memory.
    • On a 16 GB Vulkan card with a CPU PyTorch, MiniMax-H3-Image no longer runs out of system memory on the first image.
    • Packed training on ROCm now uses flash varlen attention, so packing is faster than padding.
    • On Windows, the GPU monitor now shows utilization and temperature for AMD GPUs, and Smart App Control no longer shows a blocked hipInfo.exe popup.
    • On Windows, setup now stops with an error when ROCm PyTorch fails to install on a supported AMD GPU, instead of quietly falling back to CPU.

    Images + video

    • Load NVIDIA's Cosmos3-Nano-FP8 and Cosmos3-Edge-FP8 on the Video page, with no extra NVIDIA package.
    • Train LoRAs for LTX-2.5 and MOSS-Image, and load them back on the Video and Images pages.
    • Diffusion LoRA training runs 20 to 42% faster per step when the GPU has room to keep activations.
    • FLUX.2-klein, Z-Image and Wan 2.2 5B LoRAs now train on T4 and other GPUs without bf16.
    • MiniMax-H3-Image now renders on 8 GB GPUs, and the LTX-2 video decoder runs about 1.7 to 1.8x faster.

    Chat + Desktop

    • Add a scheduled task from a chat's title menu, and every run replies in that chat.
    • The Translate page has a new layout with language tabs, side-by-side panes and document or image uploads.
    • On Linux, computer use now works in Wayland sessions through the desktop portal, not just X11.
    • Owners can set trusted folders in Settings > Security that Python and Terminal tools can read and run from without asking.
    • Videos a model writes in the sandbox now play inline in chat.

    Coding agents + API

    • Each model alias in Settings > API can have its own context length, KV cache type and speculative decoding.
    • /v1/chat/completions now applies a grammar or json_schema instead of silently ignoring it.
    • Chats allow 50 tool calls per message by default, with no cap while MCP is on.

    Training

    • QLoRA training is up to 25% faster by keeping dequantized base weights in spare VRAM, as on Llama-3.1-8B on L4.
    • bf16 full fine-tuning now uses stochastic rounding by default, so small updates are no longer lost.

    Mac

    • MLX models get the same Run settings as GGUF where MLX supports them.
    • Ollama MLX-format tags such as gemma4:*-mlx and qwen3.6:*-mlx now show in the model picker and load, with their bundled drafters.

    Thanks to our contributors for this release:

    @danielhanchen, @LeoBorcherding, @Lyxot, @Imagineer99, @Etherll, @DimitriChrysafis, @shimmyshimmer, @NilayYadav, @oobabooga, @Max-Reisinger, @vineethsaivs, @lonexreb, @debojyoti-dev, @bezabyte, @wasimysaid, @Lluczel, @BlagonravovSL, @0xalkinun, @MohammadHijjawi97

  17. 0.1.919-beta

    展开

    GitHub Release Homebrew 收录

    Computer Use + Translate + MiniMax-H3-Image + New Model Picker

    This update brings computer use (beta), letting local models see your screen and interact with apps, plus MCP integrations for Unity, Unreal Engine, Blender and Roblox.

    MiniMax-H3-Image now supports GGUF, FP8 and INT8, with LoRA training. We've also introduced a new model picker, redesigned Connections and improved project folders.

    Highlights

    • Translate Page: Translate any piece of text locally to any language.
    • New model picker: Switch models directly from the composer, with Favorites, On Device, Discover and Connected tabs.
    • Engram: Change and swap engrams for Qwen Flash and DeepSeek.
    • Computer use (beta): Local vision models and connected providers can now see your screen and interact with apps. Off by default, with permission controls.
    • Game engines + creative apps: Connect Unreal Engine, Unity, Godot and Roblox through MCP, alongside Blender.
    • MiniMax-H3-Image: GGUF support for CPU, Mac and AMD, plus FP8 and INT8 weights for NVIDIA. LoRA training is also supported.
    • Revamped Connections: Live connection status, a redesigned provider gallery and 9 new providers.
    • New project folders: Browse project files, search folders and view Git changes from a redesigned Files tab.

    Computer Use (Beta)

    Models can now see your screen and control the mouse and keyboard across macOS, Windows and Linux.

    • Supports local GGUF, safetensors and MLX vision models, plus connected providers.
    • Requires approval before the first action, switching apps and potentially risky actions.
    • Blocked apps remain inaccessible, and you can take control at any time.

    Computer use guide: https://unsloth.ai/docs/basics/computer-use

    Game Engines + Creative Apps

    Unity, Unreal Engine, Godot, Figma and Roblox are now available in the MCP menu alongside Blender.

    Connect your apps to let models build scenes, create games and interact with creative projects. Figma is read-only.

    Game engines guide: https://unsloth.ai/docs/basics/mcp/mcp-engines

    MiniMax-H3-Image

    MiniMax-H3-Image now supports more hardware and faster inference.

    • GGUF runs through stable-diffusion.cpp on CPU, Macs, smaller GPUs and AMD.
    • FP8 and INT8 weights are available for NVIDIA GPUs.
    • Automatic precision selects INT8, FP8 or BF16 based on hardware.
    • Train and load custom LoRAs.

    A 2048px image decodes in 0.28s instead of 2.82s on an A100 80GB.

    GGUF weights: https://huggingface.co/unsloth/MiniMax-H3-Image-GGUF

    FP8 / INT8 weights: https://huggingface.co/unsloth/MiniMax-H3-Image-FP8

    Model Picker + Projects

    The new composer model picker replaces the Thinking pill, bringing model selection and reasoning settings into one place.

    Projects also get redesigned folders, a Files tab, Git change tracking and quicker folder navigation.

    Connections + Compaction

    Connections now display live statuses, including Connected, Key rejected, No credit and Rate limited.

    The provider gallery adds xAI, NVIDIA NIM, Perplexity, Cohere, Vercel AI Gateway, Azure OpenAI, Amazon Bedrock, Google Vertex AI and SGLang.

    Long conversations on connected providers are now automatically summarized instead of losing older messages. You can configure compaction limits per connection, and /compact now works with cloud models.

    Engram Tables

    Qwen3.8-Flash-Next and DeepSeek-V4.1 GGUFs keep their Engram table in its own file, so you can now run any quant with a smaller or lossless table. The Qwen3.8-Flash-Next and DeepSeek-V4.1 guides list each table's size.

    • Click a model's gear icon in the model picker, turn on Advanced settings, then pick a table under Memory > Engram Table.
    • The table you pick downloads on the next load, and the quant's own table is skipped if it isn't downloaded yet.
    • From the terminal, add --engram, like unsloth run --model unsloth/Qwen3.8-Flash-Next-GGUF:UD-Q4_K_XL --engram Q8_0.

    Training + Performance

    • Gemma 4 12B training is 1.4–2.6x faster with new attention kernels.
    • DeepSeek-V4.1 adds native LoRA, QLoRA and distributed training support.
    • SFT now packs text datasets by default on epoch-based runs.
    • LoRA training is available for FLUX.3 Klein and Qwen-Image-2.1.
    • New INT8 attention kernels improve FLUX.3 Klein rendering by 15–23% on supported GPUs.

    What's Changed

    This release also includes extensive improvements across Unsloth Studio and training:

    • Improved model loading, image and video generation, and LoRA workflows.
    • Faster INT8 attention and diffusion kernels.
    • Expanded distributed training support, including FSDP2 and tensor parallelism.
    • Improved AMD GPU and NPU support.
    • Better browser, chat, project and connection reliability.
    • Numerous bug fixes, performance optimizations and compatibility updates.

    Thanks to everyone who contributed to this release!

    Contributors for the release:

    @danielhanchen, @wasimysaid, @oobabooga, @Etherll, @LeoBorcherding, @shimmyshimmer, @dependabot[bot], @NilayYadav, @Imagineer99, @Aafimalek, @vineethsaivs, @lonexreb, @jaeminbird, @DimitriChrysafis, @MohammadHijjawi97, @gabrielkmbo, @csun365, @sfjchen, @debojyoti-dev, @bezabyte, @CelesteHeartsong, @TaskPuppyNatani, @hsusul, @RioPlay, @YakshithK, @Lluczel, @taking-lying-flat, @chuenchen309, @bjornts, @ellaslan11, @zubincarvalho, @Tofuwang45, @Lyxot, @indrajeetapache

    New Contributors

    Full Changelog: https://github.com/unslothai/unsloth/compare/v0.1.917-beta...v0.1.919-beta

  18. 0.1.918-beta

    展开

    GitHub Release Homebrew 收录

    Computer Use, MiniMax-H3-Image + Perf fixes

    This update brings computer use (beta), letting local models see your screen and interact with apps, plus MCP integrations for Unity, Unreal Engine, Blender and Roblox.

    MiniMax-H3-Image now supports GGUF, FP8 and INT8, with LoRA training. We've also introduced a new model picker, redesigned Connections and improved project folders.

    Highlights

    • Engram: Change and swap engrams for Qwen Flash and DeepSeek.
    • Computer use (beta): Local vision models and connected providers can now see your screen and interact with apps. Off by default, with permission controls.
    • Game engines + creative apps: Connect Unreal Engine, Unity, Godot and Roblox through MCP, alongside Blender.
    • MiniMax-H3-Image: GGUF support for CPU, Mac and AMD, plus FP8 and INT8 weights for NVIDIA. LoRA training is also supported.
    • New model picker: Switch models directly from the composer, with Favorites, On Device, Discover and Connected tabs.
    • Revamped Connections: Live connection status, a redesigned provider gallery and 9 new providers.
    • Auto compaction: Long conversations are automatically summarized, with configurable limits for each connection.
    • New project folders: Browse project files, search folders and view Git changes from a redesigned Files tab.

    Computer Use (Beta)

    Models can now see your screen and control the mouse and keyboard across macOS, Windows and Linux.

    • Supports local GGUF, safetensors and MLX vision models, plus connected providers.
    • Requires approval before the first action, switching apps and potentially risky actions.
    • Blocked apps remain inaccessible, and you can take control at any time.

    Computer use guide: https://unsloth.ai/docs/basics/computer-use

    Game Engines + Creative Apps

    Unity, Unreal Engine, Godot, Figma and Roblox are now available in the MCP menu alongside Blender.

    Connect your apps to let models build scenes, create games and interact with creative projects. Figma is read-only.

    Game engines guide: https://unsloth.ai/docs/basics/mcp/mcp-engines

    MiniMax-H3-Image

    MiniMax-H3-Image now supports more hardware and faster inference.

    • GGUF runs through stable-diffusion.cpp on CPU, Macs, smaller GPUs and AMD.
    • FP8 and INT8 weights are available for NVIDIA GPUs.
    • Automatic precision selects INT8, FP8 or BF16 based on hardware.
    • Train and load custom LoRAs.

    A 2048px image decodes in 0.28s instead of 2.82s on an A100 80GB.

    GGUF weights: https://huggingface.co/unsloth/MiniMax-H3-Image-GGUF

    FP8 / INT8 weights: https://huggingface.co/unsloth/MiniMax-H3-Image-FP8

    Model Picker + Projects

    The new composer model picker replaces the Thinking pill, bringing model selection and reasoning settings into one place.

    Projects also get redesigned folders, a Files tab, Git change tracking and quicker folder navigation.

    Connections + Compaction

    Connections now display live statuses, including Connected, Key rejected, No credit and Rate limited.

    The provider gallery adds xAI, NVIDIA NIM, Perplexity, Cohere, Vercel AI Gateway, Azure OpenAI, Amazon Bedrock, Google Vertex AI and SGLang.

    Long conversations on connected providers are now automatically summarized instead of losing older messages. You can configure compaction limits per connection, and /compact now works with cloud models.

    Engram Tables

    Qwen3.8-Flash-Next and DeepSeek-V4.1 GGUFs keep their Engram table in its own file, so you can now run any quant with a smaller or lossless table. The Qwen3.8-Flash-Next and DeepSeek-V4.1 guides list each table's size.

    • Click a model's gear icon in the model picker, turn on Advanced settings, then pick a table under Memory > Engram Table.
    • The table you pick downloads on the next load, and the quant's own table is skipped if it isn't downloaded yet.
    • From the terminal, add --engram, like unsloth run --model unsloth/Qwen3.8-Flash-Next-GGUF:UD-Q4_K_XL --engram Q8_0.

    Training + Performance

    • Gemma 4 12B training is 1.4–2.6x faster with new attention kernels.
    • DeepSeek-V4.1 adds native LoRA, QLoRA and distributed training support.
    • SFT now packs text datasets by default on epoch-based runs.
    • LoRA training is available for FLUX.3 Klein and Qwen-Image-2.1.
    • New INT8 attention kernels improve FLUX.3 Klein rendering by 15–23% on supported GPUs.

    What's Changed

    This release also includes extensive improvements across Unsloth Studio and training:

    • Improved model loading, image and video generation, and LoRA workflows.
    • Faster INT8 attention and diffusion kernels.
    • Expanded distributed training support, including FSDP2 and tensor parallelism.
    • Improved AMD GPU and NPU support.
    • Better browser, chat, project and connection reliability.
    • Numerous bug fixes, performance optimizations and compatibility updates.

    Thanks to everyone who contributed to this release!

    New Contributors

    Full Changelog: https://github.com/unslothai/unsloth/compare/v0.1.917-beta...v0.1.918-beta

  19. 0.1.917-beta

    展开

    GitHub Release Homebrew 收录

    Dynamic v3.1 GGUFs + Performance Fixes

    Qwen3.8-27B is here with Dynamic v3.1 GGUFs, ready to run locally with Unsloth. This release also brings major performance improvements, smoother Glass rendering, revamped code blocks and Thinking UI, HTML/PDF chat exports, and new image generation and coding agent features.

    Highlights

    • New Qwen3.8-27B Dynamic v3.1 GGUFs.
    • Faster chats: Major performance improvements to streaming, scrolling, menus and dialogs, especially in long conversations.
    • Smoother Glass: Reduced lag while typing, scrolling and generating.
    • Revamped code blocks and Thinking: Independently scrolling, expandable panels with improved syntax highlighting.
    • HTML and PDF exports: Export chats directly from the chat menu.
    • Image queue: Queue upcoming image generations while another is rendering.
    • Claude Code and Codex on MLX: Run coding agents with MLX models through unsloth start.

    Chat & UI

    • Streaming performance no longer degrades as conversations grow.
    • Smoother scrolling with background images, with or without Glass.
    • Faster menus, dialogs and browser pane loading.
    • Read aloud starts after the first sentence instead of waiting for the entire response.
    • Chat preferences, time format and spell check now sync with your account.

    Images & Video

    • FLUX.2 and FLUX.3 use 36–43% less VRAM during image decoding at the same speed.
    • Queue image generations from the Images page or API.
    • INT8 and FP8 image models now load on older NVIDIA GPUs, including T4.
    • Fixed black image outputs with FLUX.3.
    • LTX-2.5 FP8 now runs on 24 GB GPUs.
    • Cosmos3-Nano can continue video clips from their first or last frames.

    Coding Agents & API

    • Run Claude Code and Codex with MLX models on Mac using unsloth start.
    • New Unsloth MCP preset lets coding agents access Unsloth tools.
    • Claude API models without an explicit token limit no longer stop at 1,024 tokens.
    • MLX models now return a proper context-length error instead of an empty response.

    Training

    • model.generate() is now 2–8x faster on T4 GPUs by default across FastModel models.
    • Video columns are now correctly supported when training vision models.
    • Ulysses context parallelism now supports Kimi-Linear, DeepSeek, MiniMax and Gemma 4 text models.

    What's Changed

    New Contributors

    Full Changelog: https://github.com/unslothai/unsloth/compare/v0.1.916-beta...v0.1.917-beta

  20. 0.1.916-beta

    展开

    OpenNavo 编辑 Homebrew 收录

    Unsloth Desktop 0.1.916-beta 于 2026-11-06 发布。本次更新加快长对话以及图片或视频的加载,并为每个对话加上各自的浏览器。

    • 开启 Glass 主题或聊天背景时,在长对话中输入不再卡顿。
    • 很长的历史记录里,对话搜索仍然很快。
    • 历史记录很大时,清空和删除对话更快。
    • 启动后第一次使用语音或音频,不再让正在流式输出的回复卡住数秒。
    • 用 Unsloth 模型引擎朗读时,开口前不再为查找模型等待数秒。
    • 叠在背景图片上的 Glass 主题,不用 GPU 渲染也能快最多 2 倍。
    • 有两块匹配且空闲的 NVIDIA GPU,且模型能放进一张卡时,SDXL、Qwen-Image 和 Wan2.2 5B 把一步拆到两张卡上,大约快 1.5 到 1.8 倍。
    • 同一配置下,FLUX 和 Lumina 2 把偶数张的一批图片拆到两张卡上。
    • SDXL 加载快最多 40%。
    • 在 16 到 24 GB 的 GPU 上,LTX-2.5 在 GPU 上而不是 CPU 上编码新提示词。
    • 在 NVIDIA GPU 上,LTX-2.5 GGUF Q8_0 的视频渲染大约快 10%,帧相同。
    • 内置浏览器可以浮在对话之上,每个对话会记住它是否浮动。
    • Anima、Chroma、MOSS-Image 和 Krea 2 可以从单文件检查点加载。除 Chroma 外,LoRA 和 LoKR 文件都能用。
    • Glass 主题会把背景图片调暗,而不是模糊。
    • 所有者可以重命名托管账户,聊天、文件和设置都还在。
    • 所有者可以在 Settings > General > Downloads 里限制模型下载速度。
    • OpenAI 兼容连接可以发送自定义请求头。
    • 仅聊天安装、且已经下载了非 GGUF 模型时,第一次对话会去取默认模型,而不是失败。
    • 只有 CPU 的机器上,GGUF 模型在 Auto 上下文下不再内存不足。
    • 在 Windows 上,HTTPS 下载暂停后会接着下,而不是从头开始。
    • 在 Windows 上更新 Unsloth,结尾不再静默半分钟。
    • 通过 MCP 连接 Blender 又能用了。
    • Compare 模式在第一条消息时不再留出一块空面板。
    • 在 Python 里,Linux 下 NVIDIA GPU 上 Llama、Qwen2 和 Qwen3 的 model.generate() 默认更快。
    • 在拆成数百个文件的 Hub 数据集上训练,启动最多早一分钟。
    • 只用 Assistant completions 时,以换行开头的回答不再被排除在训练之外。
  21. 0.1.915-beta

    展开

    OpenNavo 编辑 Homebrew 收录

    Unsloth Desktop 0.1.915-beta 新增 Qwen3.8-Flash-Next 模型、Composer 位置滑块、内置浏览器中的文件编辑功能,并降低了空闲内存占用。

    Unsloth Desktop 0.1.915-beta 于 2026-11-04 发布。本次更新新增 Qwen3.8-Flash-Next 模型、Composer 位置滑块、内置浏览器中的文件编辑功能,并降低了空闲内存占用。

    新增

    • 新增对 Qwen3.8-Flash-Next 的支持,其 Dynamic V3.1 构建据报告准确率提升 10-15%。
    • Glass 主题现已以 Beta 形式提供,菜单、面板和浏览器中的高光更柔和、阴影更浅。
    • 在 Settings > Appearance > Composer 中新增 Composer 位置滑块。
    • 启用 Browser use 后,模型可以在聊天中创建的 HTML 和 React 页面中点击和输入,并可在浏览器中读取或编辑 HTML、React、Markdown、代码和文本文件。
    • 聊天附件可以通过 + > More > Attach from Library 从已保存的 Library 文件中选择。

    改进

    • Unsloth 不再在启动时加载 PyTorch 等 ML 库,从而减少空闲内存占用;启动功能可在 Settings > General > Startup performance 中配置。
    • MLX 模型加载和重新加载更快,受支持的 MLX 模型处理长提示时占用更少内存。
    • 从 GGUF 模型切换到其他模型再切回时,会保留聊天上下文。
    • OpenRouter 模型可实时加载,Reload models 现在可以正常工作。
    • Decision API 新增 LiquidAI d1 模型和 Decider 2B(仅限 MLX)。

    训练

    • 通过 float8_training = "fp8_lora",为近期 NVIDIA GPU 上的 16 位基础模型新增 FP8 LoRA 训练。
    • DPO、ORPO、KTO、GRPO 和 CPO 训练现可在 MLX 上运行。
    • 修复了以 float16 全量微调 Gemma 4 时的崩溃问题。
  22. 0.1.914-beta

    展开

    OpenNavo 编辑 Homebrew 收录

    新增 Glass 主题、聊天导航器和 CPU 文本训练。

    Unsloth Desktop 0.1.914-beta 于 2026-11-03 发布,新增 Glass 主题、聊天导航器和 CPU 文本训练。

    • 新增五款 Glass 主题,支持调节强度、可选的玻璃效果菜单,并支持背景图片;Mac 上的 Unsloth Desktop 支持原生玻璃效果。
    • 新增背景尺寸和位置自定义功能,以及自定义问候语、代码字体、行号、自动换行和连字。
    • 新增聊天导航器,可预览更早的消息、为轮次添加书签,并在长对话中快速跳转。
    • 阿拉伯语、波斯语、希伯来语和乌尔都语的消息现在以从右到左显示,而代码仍保持原有方向。
    • MCP 连接在服务器重启后可自动恢复。
    • 编码代理可读取并遵循项目工作文件夹中文件里的指令。
    • 可在 Train 页面直接进行 CPU 文本训练;仅含聊天功能的安装可通过 Install Training 添加该功能。
    • 在 Mac 上新增实验性 Fast Verify,配合受支持的 MLX 投机解码模型可加快生成速度;回复内容可能略有差异。
    • Unsloth 现在默认使用 Mac 系统字体。
    • 在配备 NVIDIA GPU 的 Linux 或 WSL 上,受支持的单 GPU Llama 和 Qwen3 模型在 Transformers 后端中生成速度更快;在 A100 测试中,4-bit Qwen3-8B 达到 99.1 tokens/s,高于此前的 25.7。
    • SDXL 现在可在 4 GiB VRAM 预算下渲染,已在 T4 和 L4 GPU 上测试。
    • 新增 RAG 索引,可更快地搜索大型文档集合。