Unsloth Benchmarks: Faster Speeds and Lower VRAM Usage for QLoRA

ArticleResource

Unsloth's documentation shares benchmark metrics for LLM fine-tuning across NVIDIA GPUs. Compared to Hugging Face paired with FlashAttention-2, Unsloth achieves a 2x speedup, over 70% VRAM reduction, and significantly longer context windows on models such as Llama 3.1 and Llama 3.3.

Key points

  1. Evaluations on NVIDIA H100 and Blackwell GPUs demonstrate a 2x speed increase and 70% to 75% VRAM savings for Llama 3.1 (8B) and Llama 3.3 (70B).
  2. Context lengths improve by 12x to 13x thanks to Unsloth's custom gradient checkpointing and Apple's CCE algorithm.
  3. For Llama 3.1 (8B) on an 80 GB GPU, Unsloth supports sequence lengths up to 342,733 tokens, compared to 28,454 tokens with Hugging Face and FlashAttention-2.
  4. On smaller setups like 8 GB VRAM, Unsloth processes 2,972 context tokens with Llama 3.1 (8B), whereas the baseline encounters an Out-of-Memory (OOM) error.
  5. torch.compile requires roughly five minutes or longer to warm up, meaning throughput should be evaluated after initial compilation completes.

Why it matters

Hardware memory limitations often restrict the fine-tuning of large language models. By cutting VRAM requirements and substantially extending sequence length limits, Unsloth makes high-context training accessible on lower-spec infrastructure and reduces GPU operational expenses.

Analysis

Unsloth achieves its performance gains by integrating bespoke gradient checkpointing with Apple's CCE algorithm, addressing memory scaling bottlenecks during QLoRA training. The context length scaling is especially notable: accommodating over 300k tokens on an 80 GB card changes the feasibility of long-context adaptation without multi-node clusters. However, engineering workflows must account for the initial torch.compile warm-up overhead during short training runs.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Link:Unsloth AI

    Unsloth Releases Dynamic V3.0 GGUF Quants for Qwen3.8-27B

    Unsloth AI has published GGUF quantizations for the Qwen3.8-27B model under an Apache-2.0 licence. Utilizing their new Dynamic V3.0 quantization format, Unsloth claims over 10% higher top-1 accuracy at identical sizes compared to alternative quants. Qwen3.8-27B is a 27-billion parameter dense vision-language model featuring native text, image, and video comprehension alongside granular thinking controls.

    AI & LLMs· Tool

  • Repository:unslothai/unsloth

    Unsloth: Desktop Application to Run and Train Local AI Models

    Unsloth is an open-source cross-platform desktop application and framework designed to run and fine-tune large language models and diffusion architectures locally across varied hardware setups.

    75.7kstarsPython

    AI & LLMs· Tool

  • Article:Unsloth AI

    Unsloth Desktop: Run, Train, and Serve Local AI Models

    Unsloth has launched the beta of Unsloth Desktop, a free and open-source application for macOS, Windows, and Linux designed to run, fine-tune, and deploy multimodal models on local hardware.

    AI & LLMs· Tool

  • Link:Unsloth AI

    Unsloth Releases Qwen3.6-27B-MTP in GGUF Format

    Unsloth AI has published Qwen3.6-27B-MTP-GGUF, providing quantized versions of the first open-weight model in the Qwen3.6 family. The 27-billion parameter multimodal model features Multi-Token Prediction (MTP) for accelerated inference alongside upgrades to agentic coding and tool calling.

    AI & LLMs· Resource

  • Article:PyTorch Ecosystem Working Group

    PyTorch Ecosystem Landscape Adds PhysicsNeMo, Unsloth, ONNX, and KTransformers

    The PyTorch Ecosystem Working Group has added four key open-source projects to the PyTorch Ecosystem Landscape: NVIDIA's PhysicsNeMo, the fine-tuning framework Unsloth, the interoperability standard ONNX, and the heterogeneous inference framework KTransformers.

    AI & LLMs· Announcement

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.