unslothai/unslothPublic

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4, MiniMax-H3, Gemma 4, FLUX and more.

AI summary: A local UI and framework for efficiently training and running large language models.

Stars
77.2K
+84 today
Forks
7.1K
Watchers
384
Open issues
773
Open PRs
401
Contributors
~349
Commits
9.7K
Branches
567

PythonApache-2.0Created Nov 29, 2023Last push 1d agoLatest release v0.1.900-beta+442 stars this week+1.6K this month

Quick answers

What is unsloth?
A local UI and framework for efficiently training and running large language models.
What does unsloth do?
Unsloth provides a streamlined local user interface and optimized backend for training and inferencing various large language models. It supports modern architectures including Kimi K3, Gemma 4, Qwen3.6, DeepSeek-V4, and GLM. The platform focuses on making model fine-tuning and deployment accessible directly on consumer-grade hardware by implementing significant memory and speed optimizations. By providing a graphical interface alongside its core optimization library, it lowers the barrier to entry for local AI experimentation. It enables users to rapidly iterate on custom models without relying on expensive cloud compute.
Who is unsloth for?
Unsloth is designed for AI researchers, machine learning engineers, and hobbyists who want to fine-tune models locally. It is particularly valuable for users who prefer a graphical interface over complex CLI workflows for model management.
How do I get started with unsloth?
Follow the documentation at unsloth.ai/docs.
How popular is unsloth on GitHub?
unslothai/unsloth has 77,160 stars and 7,096 forks on GitHub, and gained 442 stars in the last 7 days.
What license does unsloth use?
unslothai/unsloth is released under the Apache-2.0 license.

Star history

since Jul 29, 2026
020K40K60KJul 2026Aug 2026Sep 2026Oct 2026
77.2K stars as of Oct 3, 2026. Measured daily since Jul 29, 2026; GitHub no longer exposes earlier star timestamps.

Contribution activity

commits per day, last 52 weeks
OctNovDecJanFebMarAprMayJunJulAugSepMonWedFri2025-10-05: 1 commit2025-10-06: 0 commits2025-10-07: 2 commits2025-10-08: 0 commits2025-10-09: 0 commits2025-10-10: 0 commits2025-10-11: 0 commits2025-10-12: 1 commit2025-10-13: 2 commits2025-10-14: 11 commits2025-10-15: 3 commits2025-10-16: 12 commits2025-10-17: 12 commits2025-10-18: 5 commits2025-10-19: 1 commit2025-10-20: 1 commit2025-10-21: 1 commit2025-10-22: 4 commits2025-10-23: 2 commits2025-10-24: 0 commits2025-10-25: 2 commits2025-10-26: 12 commits2025-10-27: 6 commits2025-10-28: 2 commits2025-10-29: 2 commits2025-10-30: 14 commits2025-10-31: 0 commits2025-11-01: 1 commit2025-11-02: 0 commits2025-11-03: 1 commit2025-11-04: 3 commits2025-11-05: 0 commits2025-11-06: 1 commit2025-11-07: 3 commits2025-11-08: 0 commits2025-11-09: 0 commits2025-11-10: 1 commit2025-11-11: 2 commits2025-11-12: 0 commits2025-11-13: 1 commit2025-11-14: 4 commits2025-11-15: 1 commit2025-11-16: 0 commits2025-11-17: 2 commits2025-11-18: 8 commits2025-11-19: 5 commits2025-11-20: 11 commits2025-11-21: 1 commit2025-11-22: 1 commit2025-11-23: 0 commits2025-11-24: 5 commits2025-11-25: 18 commits2025-11-26: 0 commits2025-11-27: 3 commits2025-11-28: 0 commits2025-11-29: 2 commits2025-11-30: 6 commits2025-12-01: 21 commits2025-12-02: 2 commits2025-12-03: 0 commits2025-12-04: 1 commit2025-12-05: 0 commits2025-12-06: 0 commits2025-12-07: 3 commits2025-12-08: 7 commits2025-12-09: 5 commits2025-12-10: 17 commits2025-12-11: 10 commits2025-12-12: 21 commits2025-12-13: 3 commits2025-12-14: 0 commits2025-12-15: 4 commits2025-12-16: 14 commits2025-12-17: 13 commits2025-12-18: 3 commits2025-12-19: 4 commits2025-12-20: 5 commits2025-12-21: 0 commits2025-12-22: 1 commit2025-12-23: 9 commits2025-12-24: 2 commits2025-12-25: 1 commit2025-12-26: 1 commit2025-12-27: 1 commit2025-12-28: 2 commits2025-12-29: 4 commits2025-12-30: 4 commits2025-12-31: 1 commit2026-01-01: 3 commits2026-01-02: 11 commits2026-01-03: 1 commit2026-01-04: 8 commits2026-01-05: 22 commits2026-01-06: 3 commits2026-01-07: 1 commit2026-01-08: 9 commits2026-01-09: 3 commits2026-01-10: 0 commits2026-01-11: 0 commits2026-01-12: 4 commits2026-01-13: 0 commits2026-01-14: 1 commit2026-01-15: 7 commits2026-01-16: 0 commits2026-01-17: 0 commits2026-01-18: 0 commits2026-01-19: 1 commit2026-01-20: 2 commits2026-01-21: 1 commit2026-01-22: 6 commits2026-01-23: 0 commits2026-01-24: 1 commit2026-01-25: 0 commits2026-01-26: 0 commits2026-01-27: 3 commits2026-01-28: 0 commits2026-01-29: 0 commits2026-01-30: 0 commits2026-01-31: 2 commits2026-02-01: 7 commits2026-02-02: 14 commits2026-02-03: 7 commits2026-02-04: 13 commits2026-02-05: 19 commits2026-02-06: 8 commits2026-02-07: 2 commits2026-02-08: 2 commits2026-02-09: 17 commits2026-02-10: 9 commits2026-02-11: 5 commits2026-02-12: 7 commits2026-02-13: 17 commits2026-02-14: 21 commits2026-02-15: 47 commits2026-02-16: 16 commits2026-02-17: 26 commits2026-02-18: 5 commits2026-02-19: 10 commits2026-02-20: 23 commits2026-02-21: 3 commits2026-02-22: 16 commits2026-02-23: 18 commits2026-02-24: 18 commits2026-02-25: 28 commits2026-02-26: 27 commits2026-02-27: 9 commits2026-02-28: 2 commits2026-03-01: 17 commits2026-03-02: 3 commits2026-03-03: 24 commits2026-03-04: 6 commits2026-03-05: 13 commits2026-03-06: 13 commits2026-03-07: 6 commits2026-03-08: 10 commits2026-03-09: 28 commits2026-03-10: 17 commits2026-03-11: 5 commits2026-03-12: 6 commits2026-03-13: 7 commits2026-03-14: 33 commits2026-03-15: 40 commits2026-03-16: 38 commits2026-03-17: 36 commits2026-03-18: 31 commits2026-03-19: 11 commits2026-03-20: 6 commits2026-03-21: 3 commits2026-03-22: 14 commits2026-03-23: 3 commits2026-03-24: 15 commits2026-03-25: 42 commits2026-03-26: 8 commits2026-03-27: 29 commits2026-03-28: 2 commits2026-03-29: 0 commits2026-03-30: 11 commits2026-03-31: 12 commits2026-04-01: 16 commits2026-04-02: 26 commits2026-04-03: 15 commits2026-04-04: 0 commits2026-04-05: 1 commit2026-04-06: 10 commits2026-04-07: 2 commits2026-04-08: 4 commits2026-04-09: 6 commits2026-04-10: 4 commits2026-04-11: 1 commit2026-04-12: 0 commits2026-04-13: 6 commits2026-04-14: 17 commits2026-04-15: 18 commits2026-04-16: 18 commits2026-04-17: 1 commit2026-04-18: 1 commit2026-04-19: 1 commit2026-04-20: 6 commits2026-04-21: 1 commit2026-04-22: 8 commits2026-04-23: 7 commits2026-04-24: 8 commits2026-04-25: 1 commit2026-04-26: 0 commits2026-04-27: 1 commit2026-04-28: 6 commits2026-04-29: 3 commits2026-04-30: 4 commits2026-05-01: 2 commits2026-05-02: 3 commits2026-05-03: 5 commits2026-05-04: 3 commits2026-05-05: 18 commits2026-05-06: 10 commits2026-05-07: 5 commits2026-05-08: 1 commit2026-05-09: 0 commits2026-05-10: 0 commits2026-05-11: 14 commits2026-05-12: 2 commits2026-05-13: 11 commits2026-05-14: 19 commits2026-05-15: 23 commits2026-05-16: 6 commits2026-05-17: 14 commits2026-05-18: 45 commits2026-05-19: 33 commits2026-05-20: 5 commits2026-05-21: 4 commits2026-05-22: 32 commits2026-05-23: 3 commits2026-05-24: 3 commits2026-05-25: 10 commits2026-05-26: 13 commits2026-05-27: 15 commits2026-05-28: 2 commits2026-05-29: 2 commits2026-05-30: 5 commits2026-05-31: 19 commits2026-06-01: 19 commits2026-06-02: 5 commits2026-06-03: 15 commits2026-06-04: 7 commits2026-06-05: 9 commits2026-06-06: 1 commit2026-06-07: 5 commits2026-06-08: 11 commits2026-06-09: 10 commits2026-06-10: 50 commits2026-06-11: 44 commits2026-06-12: 66 commits2026-06-13: 10 commits2026-06-14: 5 commits2026-06-15: 25 commits2026-06-16: 12 commits2026-06-17: 19 commits2026-06-18: 35 commits2026-06-19: 10 commits2026-06-20: 6 commits2026-06-21: 8 commits2026-06-22: 47 commits2026-06-23: 35 commits2026-06-24: 19 commits2026-06-25: 14 commits2026-06-26: 12 commits2026-06-27: 6 commits2026-06-28: 4 commits2026-06-29: 14 commits2026-06-30: 11 commits2026-07-01: 9 commits2026-07-02: 8 commits2026-07-03: 11 commits2026-07-04: 1 commit2026-07-05: 2 commits2026-07-06: 33 commits2026-07-07: 16 commits2026-07-08: 30 commits2026-07-09: 21 commits2026-07-10: 5 commits2026-07-11: 6 commits2026-07-12: 3 commits2026-07-13: 7 commits2026-07-14: 15 commits2026-07-15: 30 commits2026-07-16: 12 commits2026-07-17: 8 commits2026-07-18: 10 commits2026-07-19: 15 commits2026-07-20: 22 commits2026-07-21: 15 commits2026-07-22: 14 commits2026-07-23: 32 commits2026-07-24: 24 commits2026-07-25: 9 commits2026-07-26: 17 commits2026-07-27: 30 commits2026-07-28: 55 commits2026-07-29: 35 commits2026-07-30: 15 commits2026-07-31: 25 commits2026-08-01: 18 commits2026-08-02: 30 commits2026-08-03: 31 commits2026-08-04: 45 commits2026-08-05: 54 commits2026-08-06: 70 commits2026-08-07: 63 commits2026-08-08: 56 commits2026-08-09: 75 commits2026-08-10: 76 commits2026-08-11: 85 commits2026-08-12: 54 commits2026-08-13: 68 commits2026-08-14: 57 commits2026-08-15: 10 commits2026-08-16: 42 commits2026-08-17: 48 commits2026-08-18: 38 commits2026-08-19: 58 commits2026-08-20: 60 commits2026-08-21: 11 commits2026-08-22: 27 commits2026-08-23: 62 commits2026-08-24: 38 commits2026-08-25: 58 commits2026-08-26: 52 commits2026-08-27: 44 commits2026-08-28: 16 commits2026-08-29: 26 commits2026-08-30: 27 commits2026-08-31: 49 commits2026-09-01: 41 commits2026-09-02: 36 commits2026-09-03: 25 commits2026-09-04: 37 commits2026-09-05: 10 commits2026-09-06: 20 commits2026-09-07: 34 commits2026-09-08: 100 commits2026-09-09: 50 commits2026-09-10: 33 commits2026-09-11: 9 commits2026-09-12: 4 commits2026-09-13: 36 commits2026-09-14: 65 commits2026-09-15: 74 commits2026-09-16: 59 commits2026-09-17: 75 commits2026-09-18: 60 commits2026-09-19: 24 commits2026-09-20: 39 commits2026-09-21: 65 commits2026-09-22: 116 commits2026-09-23: 62 commits2026-09-24: 36 commits2026-09-25: 139 commits2026-09-26: 92 commits2026-09-27: 72 commits2026-09-28: 95 commits2026-09-29: 93 commits2026-09-30: 24 commits2026-10-01: 0 commits2026-10-02: 0 commits2026-10-03: 0 commits
5,970 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Landmark project

    77,160 stars

  • Very active

    5,970 commits in 52 weeks

  • Community-driven

    ~349 contributors

  • Permissive license

    Apache-2.0

  • Top 10% tracked

    Rank 107 of 1135

What unsloth does

Unsloth provides a streamlined local user interface and optimized backend for training and inferencing various large language models. It supports modern architectures including Kimi K3, Gemma 4, Qwen3.6, DeepSeek-V4, and GLM. The platform focuses on making model fine-tuning and deployment accessible directly on consumer-grade hardware by implementing significant memory and speed optimizations. By providing a graphical interface alongside its core optimization library, it lowers the barrier to entry for local AI experimentation. It enables users to rapidly iterate on custom models without relying on expensive cloud compute.

Unsloth is designed for AI researchers, machine learning engineers, and hobbyists who want to fine-tune models locally. It is particularly valuable for users who prefer a graphical interface over complex CLI workflows for model management.

  • Local user interface: Provides a graphical UI to manage training runs and model inference easily.
  • Broad model support: Works out-of-the-box with architectures like Kimi K3, Gemma 4, DeepSeek-V4, and GLM.
  • Memory optimization: Reduces VRAM requirements, allowing large models to be trained on consumer GPUs.
  • Training acceleration: Implements custom optimizations to drastically speed up the fine-tuning process.
  • Simplified deployment: Streamlines the process of running inference on custom trained models locally.

Where teams use it

Local fine-tuning

Researchers can easily fine-tune supported models on a single consumer GPU using the UI.

Rapid experimentation

AI engineers can quickly test different training datasets and hyperparameters locally.

Cost reduction

Developers can lower their cloud computing bills by conducting initial model training on local hardware.

Accessible AI development

Hobbyists can train and run advanced language models without writing complex command-line scripts.

Getting started: Follow the documentation at unsloth.ai/docs.

README

main branch

Unsloth is the first desktop app to run and train models.

Features • Quickstart • Notebooks • Documentation

unsloth desktop

⚡ Get started

Download the native Unsloth Desktop app for your operating system:

Platform Link
Windows Download
macOS Download
Linux x64 / Ubuntu (deb) Download
Linux ARM64 / Ubuntu 24.04+ (deb) Download
Linux x64 (AppImage) Download

Download from Unsloth or GitHub Releases.

Or if you prefer to install manually:

macOS, Linux, WSL:
curl -fsSL https://unsloth.ai/install.sh | sh
Windows:
irm https://unsloth.ai/install.ps1 | iex
Docker

The Unsloth Docker image unsloth/unsloth is available on Docker. Read guide.

Community:

⭐ Features

Unsloth works on Windows, Linux, WSL and macOS. We support Multi GPU setups, NVIDIA, AMD, Intel GPUs, CPUs and the Vulkan backend.

Run & Build with AI

  • Run and train LLMs, MLX, GGUF, diffusion, embedding, audio models: Qwen3.8, GLM-5.3-Flash, Kimi K3, Qwen-Image-2.1, MiniMax-H3, DeepSeek-V4, Gemma 4.
  • Agents & Tools: Use local models with Claude Code, Codex, and MCP, including tool calling and code execution.
  • Search & RAG: Use private and unlimited web search, deep research, auto-compaction (rolling context window) and RAG.
  • Image and video: Run and train image and video diffusion or multimodal models
  • Remote & LAN: Access your local models from any device on LAN or remotely through secure Cloudflare HTTPS.
  • Connect: Serve models through an OpenAI compatible API. Also connect your ChatGPT/Codex subscription and cloud providers

Train & Deploy

  • Fine-tuning: Train LLMs, diffusion, TTS, and embedding models 2× faster with 70% less VRAM with no accuracy loss
  • Complete support: Supports reinforcement learning, LoRA, QLoRA, full fine tuning, pretraining, RL, GRPO, DPO, and FP8.
  • Export & Deploy: Export or Deploy models with including GGUF, NVFP4, FP8 and more formats.
  • Datasets: Build datasets from PDFs, CSVs, DOCX files, and more with Data Recipes.

🚀 Unsloth Start

Unsloth Start connects Claude Code, Codex and other agents to local models with one command.

unsloth start claude --model unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_XL
Agent Command
Claude Code unsloth start claude
OpenAI Codex unsloth start codex
DeepSeek Harness unsloth start dsh
Hermes Agent unsloth start hermes
OpenCode unsloth start opencode
OpenClaw unsloth start openclaw

📥 Install

Unsloth can be used in three ways: Unsloth Desktop, the desktop app; Unsloth Studio, the web UI; or Unsloth Core, the code based version.

Unsloth Desktop (recommended)

Platform Link
Windows Download
macOS Download
Linux x64 / Ubuntu (deb) Download
Linux ARM64 / Ubuntu 24.04+ (deb) Download
Linux x64 (AppImage) Download
Windows ARM64 Download

Unsloth Studio (web UI)

macOS, Linux, WSL:
curl -fsSL https://unsloth.ai/install.sh | sh
Windows:
irm https://unsloth.ai/install.ps1 | iex
Launch
unsloth studio
HTTP Secure Deployment
unsloth studio --secure
Docker

Use our Docker image unsloth/unsloth. On Linux, set up GPU access once with curl -fsSL https://raw.githubusercontent.com/unslothai/unsloth/main/docker/install_nvidia_toolkit.sh -o install_nvidia_toolkit.sh && sudo -E bash install_nvidia_toolkit.sh (Windows: Docker Desktop with WSL 2).

Linux / WSL (Bash):

# use  -e UNSLOTH_STUDIO_SECURE=1  instead of -p 8000:8000 for a public Cloudflare HTTPS link
docker run -d --name unsloth --gpus all --ipc=host \
  -p 8000:8000 -p 8888:8888 \
  -v "$PWD":/workspace/host \
  -v "$HOME/.cache/huggingface":/workspace/.cache/huggingface \
  -v unsloth-studio:/opt/unsloth-studio \
  unsloth/unsloth && docker logs -f unsloth

See Docker docs for more information. For cloud hosting / global serving, add -e UNSLOTH_STUDIO_SECURE=1, drop -p 8000:8000 and bind JupyterLab to -p 127.0.0.1:8888:8888, or bind both to 127.0.0.1 and use an SSH tunnel. Tags (unsloth/unsloth:core for notebooks only), GPU support and options: Docker Hub.

On AMD there is a separate image, unsloth/unsloth-rocm, with the run command and the supported cards on its Docker Hub page.

Remote HTTPS & LAN Access

Server-side tools are on by default - so be careful! Keep your password safe, or use --disable-tools when exposing Unsloth.

Global HTTPS Access: Creates a free Cloudflare link that serves Unsloth - you can access the link globally (even on your phone!)

unsloth studio --secure

-H 0.0.0.0 and different ports also work:

unsloth studio -H 0.0.0.0 -p 8888

LAN Access (home network): Settings > API keys > LAN access

Password management & headless starts

Exposing Unsloth (--secure, --cloudflare, or a non-loopback -H) asks once at the terminal for a new admin password. Ctrl+C there aborts the launch rather than exposing the auto-generated one; set a password non-interactively instead, or use -H 127.0.0.1 to stay off the network.

Headless starts:

UNSLOTH_STUDIO_PASSWORD='your-strong-password' unsloth studio --secure   # via env var

Reset your password:

unsloth studio reset-password
Developer, Nightly, Uninstall

To see developer, nightly and uninstallation etc. instructions, see advanced installation.

Unsloth Core (code-based)

Linux, WSL:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv unsloth_env --python 3.13
source unsloth_env/bin/activate
uv pip install unsloth --torch-backend=auto
Windows:
winget install -e --id Python.Python.3.13
winget install --id=astral-sh.uv  -e
uv venv unsloth_env --python 3.13
.\unsloth_env\Scripts\activate
uv pip install unsloth --torch-backend=auto
AMD, Intel, DGX Spark, Blackwell:

See our Blackwell guide and DGX Spark guide.
To install Unsloth on AMD and Intel GPUs, follow our AMD Guide and Intel Guide.

📒 Free Notebooks

Train for free with our notebooks. Read our guide. Add dataset, run, then deploy your trained model.

Model Free Notebooks Performance Memory use
Unsloth Studio ▶️ Start for free
Gemma 4 (E2B) ▶️ Start for free 1.5x faster 50% less
Qwen3.5 (4B) ▶️ Start for free 1.5x faster 60% less
gpt-oss (20B) ▶️ Start for free 2x faster 70% less
Qwen3.5 GSPO ▶️ Start for free 2x faster 70% less
gpt-oss (20B): GRPO ▶️ Start for free 2x faster 80% less
Qwen3: Advanced GRPO ▶️ Start for free 2x faster 70% less
embeddinggemma (300M) ▶️ Start for free 2x faster 20% less
Llama 3.1 (8B) Alpaca ▶️ Start for free 2x faster 70% less
Llama 3.2 Conversational ▶️ Start for free 2x faster 70% less
Orpheus-TTS (3B) ▶️ Start for free 1.5x faster 50% less

🦥 Unsloth News

  • AMD training: Train, run RL, chat and deploy on AMD GPUs across Windows, WSL and Linux. Guide
  • Local models for any agent: Use unsloth start with Claude Code, Codex, Hermes, OpenCode, OpenClaw, DeepSeek Harness and more through Unsloth's OpenAI- and Anthropic-compatible APIs. Guide
  • GLM-5.2: Run Z.ai's 744B-parameter, 1M-context open model locally with Unsloth Dynamic GGUFs. Guide
  • DeepSeek-V4: Run DeepSeek-V4-Flash locally with corrected multi-turn and tool-calling behavior. Guide
  • Gemma 4: Run and train Gemma 4 text, image and audio models with QAT, MTP, GGUF and MLX support. Guide
  • MCP servers: Connect local models to files, apps, databases and external tools through Model Context Protocol. Guide
  • New models: Qwen-AgentWorld, Ornith, Kimi K2.7 Code and MiniMax M3
More News
  • Connections: Mix local models with API providers (OpenAI, Anthropic) or servers (vLLM, Ollama) in the same interface. Guide
  • Introducing Unsloth Studio: our new web UI for running and training LLMs. Blog
  • DiffusionGemma: Run and fine-tune Google's diffusion language model with 1.8x faster inference in Unsloth Studio. Guide
  • Qwen3.6: Run and train Qwen3.6 with MTP for 1.4-2.2x faster inference and NVFP4 quants for supported GPUs. Guide
  • Train MoE LLMs 12x faster with 35% less VRAM - DeepSeek, GLM, Qwen and gpt-oss. Blog
  • Embedding models: Unsloth now supports ~1.8-3.3x faster embedding fine-tuning. Blog • Notebooks
  • New 7x longer context RL vs. all other setups, via our new batching algorithms. Blog
  • New RoPE & MLP Triton Kernels & Padding Free + Packing: 3x faster training & 30% less VRAM. Blog
  • 500K Context: Training a 20B model with >500K context is now possible on an 80GB GPU. Blog
  • FP8 & Vision RL: You can now do FP8 & VLM GRPO on consumer GPUs. FP8 Blog • Vision RL

📥 Advanced Installation

The below advanced instructions are for Unsloth Studio. For Unsloth Core advanced installation, view our docs.

Developer / Nightly / Experimental installs: macOS, Linux, WSL:

The developer install builds from the main branch, which is the latest (nightly) source.

git clone https://github.com/unslothai/unsloth
cd unsloth
./install.sh --local
unsloth studio -p 8888

To install into an isolated location, set UNSLOTH_STUDIO_HOME:

UNSLOTH_STUDIO_HOME="$PWD/.studio" ./install.sh --local
UNSLOTH_STUDIO_HOME="$PWD/.studio" unsloth studio -p 8888

Then to update:

cd unsloth && git pull
./install.sh --local
unsloth studio -p 8888
Developer / Nightly / Experimental installs: Windows PowerShell:

The developer install builds from the main branch, which is the latest (nightly) source.

git clone https://github.com/unslothai/unsloth.git
cd unsloth
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
.\install.ps1 --local
unsloth studio -p 8888

To install into an isolated location, set UNSLOTH_STUDIO_HOME:

$env:UNSLOTH_STUDIO_HOME="$PWD\.studio"; .\install.ps1 --local
$env:UNSLOTH_STUDIO_HOME="$PWD\.studio"; unsloth studio -p 8888

Then to update:

cd unsloth; git pull
.\install.ps1 --local
unsloth studio -p 8888
Advanced launch options

Skip PyTorch (GGUF-only mode):

curl -fsSL https://unsloth.ai/install.sh | UNSLOTH_NO_TORCH=1 sh
$env:UNSLOTH_NO_TORCH=1; irm https://unsloth.ai/install.ps1 | iex

Skip the post-install prompt that starts Unsloth (useful for automated installs):

curl -fsSL https://unsloth.ai/install.sh | UNSLOTH_SKIP_AUTOSTART=1 sh
$env:UNSLOTH_SKIP_AUTOSTART=1; irm https://unsloth.ai/install.ps1 | iex

Keep the install-time package cache under the Unsloth Studio directory instead of reusing an existing uv cache. Downloads are slower the first time, and an explicit UV_CACHE_DIR still wins over this:

curl -fsSL https://unsloth.ai/install.sh | UNSLOTH_ISOLATE_UV_CACHE=1 sh
$env:UNSLOTH_ISOLATE_UV_CACHE=1; irm https://unsloth.ai/install.ps1 | iex

For a local run the flag is --isolated-uv-cache:

./install.sh --local --isolated-uv-cache
.\install.ps1 --local --isolated-uv-cache

Discard the previous environment immediately when reinstalling, instead of keeping a copy until the new one works. A reinstall normally holds both at once, so it needs room for two; this needs room for one, at the cost of not being able to undo a failed install:

curl -fsSL https://unsloth.ai/install.sh | UNSLOTH_INSTALL_NO_ROLLBACK=1 sh
$env:UNSLOTH_INSTALL_NO_ROLLBACK=1; irm https://unsloth.ai/install.ps1 | iex

For a local run the flag is --no-rollback:

./install.sh --local --no-rollback
.\install.ps1 --local --no-rollback

Pinning the Python version:

curl -fsSL https://unsloth.ai/install.sh | UNSLOTH_PYTHON=3.12 sh
$env:UNSLOTH_PYTHON='3.12'; irm https://unsloth.ai/install.ps1 | iex

Install to a custom location with UNSLOTH_STUDIO_HOME:

curl -fsSL https://unsloth.ai/install.sh | UNSLOTH_STUDIO_HOME=/abs/path sh
$env:UNSLOTH_STUDIO_HOME='C:\path'; irm https://unsloth.ai/install.ps1 | iex

Point the frontend build at a corporate npm mirror/proxy with UNSLOTH_NPM_REGISTRY:

UNSLOTH_NPM_REGISTRY=https://artifactory.example.com/api/npm/npm/ ./install.sh --local
$env:UNSLOTH_NPM_REGISTRY='https://artifactory.example.com/api/npm/npm/'; .\install.ps1 --local

Cap Unsloth's native CPU thread pools on high-core hosts: UNSLOTH_CPU_THREADS=8 unsloth studio -p 8888.

Vulkan, custom llama.cpp backends:

You can force the backend during installation:

export UNSLOTH_LLAMA_CPP_BACKEND=vulkan   # or cpu, cuda, rocm, auto
curl -fsSL https://unsloth.ai/install.sh | sh
$env:UNSLOTH_LLAMA_CPP_BACKEND="vulkan"   # or cpu, cuda, rocm, auto
irm https://unsloth.ai/install.ps1 | iex
Uninstall

MacOS, WSL, Linux: curl -fsSL https://raw.githubusercontent.com/unslothai/unsloth/main/scripts/uninstall.sh | sh

Windows (PowerShell): irm https://raw.githubusercontent.com/unslothai/unsloth/main/scripts/uninstall.ps1 | iex

For more info, see our docs.

Deleting model files

You can delete old model files either from the bin icon in model search or by removing the relevant cached model folder from the default Hugging Face cache directory. By default, HF uses:

MacOS, Linux, WSL: ~/.cache/huggingface/hub/

Windows: %USERPROFILE%\.cache\huggingface\hub\

💚 Community and Links

Type Links
  Discord Join Discord server
  r/unsloth Reddit Join Reddit community
📚 Documentation & Wiki Read Our Docs
  Twitter (aka X) Follow us on X
🔮 Our Models Unsloth Catalog
✍️ Blog Read our Blogs

Citation

You can cite the Unsloth repo as follows:

@software{unsloth,
  author = {Daniel Han, Michael Han and Unsloth team},
  title = {Unsloth},
  url = {https://github.com/unslothai/unsloth},
  year = {2023}
}

If you trained a model with 🦥Unsloth, you can use this cool sticker!  

License

Unsloth uses a dual-licensing model of Apache 2.0 and AGPL-3.0. The core Unsloth package remains licensed under Apache 2.0, while certain optional components, such as the Unsloth Studio UI are licensed under the open-source license AGPL-3.0.

This structure helps support ongoing Unsloth development while keeping the project open source and enabling the broader ecosystem to continue growing.

Thank You to

  • The llama.cpp library that lets users run and save models with Unsloth
  • The Hugging Face team and their libraries: transformers and TRL
  • The Pytorch and Torch AO team for their contributions
  • NVIDIA for their NeMo DataDesigner library and their contributions
  • And of course for every single person who has contributed or has used Unsloth!
View on GitHub

Recent activity

commits and pull requests

Releases and announcements

71 total
  1. Laya Decision Models + Libraryv0.1.900-betaSep 28, 2026134.6K downloads

    We're adding support for decision models, a unified Library for docs and media, document viewer, many Apple Silicon improvements, creation of Skills, and ~4.5× faster image and video generation. * Run and serve **Decision Models** like Laya (open-source Jev) locally * **Skills Editor** to create, edit, and delete Skills directly in Desktop * **ModelScope** model downloading is now here for users who can't use HF * **Library + Document Viewer** for PDF, Word, Excel, PowerPoint, and chats. * You can now attach files before loading a model * **Apple Silicon Improvements** including batched serving, structured outputs, and TurboQuant KV cache. * Configure how much of a model each GPU receives. * **Faster Image + Video Generation** with ~4.5x faster LTX-2.3 clips and 1.7–6.3x faster VAE decoding. * New food-inspired **Themes**. Check them out! ## Library + Viewer * View **PDF, Word, Excel, and PowerPoint** files directly in Unsloth, with links back to their source. * Manage chats, images, videos, everything in our new **Library** tab. * Improved attachment cards and support for reading more file formats. * **Create your own sidebar sections** and drag sections to reord

  2. Flash-Attention2, Causal-Conv1D, Mamba_SSM Binariesprebuilt-wheels-cu13Sep 27, 2026296 downloads

    Prebuilt Linux x86_64 CUDA 13 wheels for flash-attn 2.8.4, causal-conv1d 1.7.0 and mamba-ssm 2.3.2.post1, built for PyTorch 2.13 and 2.14 on Python 3.13.

  3. Qwen-Image-2.1 + Skills v0.1.815-betaSep 23, 2026338.8K downloads

    You can now run Qwen-Image-2.1 locally with Unsloth! This release also includes custom Agent Skills, and easier chat/project management. It also brings 2x faster reasoning blocks (60 FPS vs 30 FPS), more reliable training, and improved Linux installs and updates. [Qwen Image 2.1 Guide](https://unsloth.ai/docs/models/qwen-image-2.1) ## Highlights * Fast FP8 Qwen-Image-2.1 + diffusers update + GGUF fixes * Qwen-Image-2.1 works for **image editing** and image gen! * Add custom Agent Skills to guide models through specific tasks. * Chats are now draggable/customizable in sidebar. * 2x faster long reasoning blocks (60 FPS vs 30 FPS before). Thinking UI/UX reworked. * In-app Debian updates and an Ubuntu 24.04+ installer for ARM64. * Projects are easier to edit and organize. ## September 23rd Update * Fixed httpx error for diffusion for Qwen-Image-2.1 * Qwen-Image-2.1 (Fast FP8) was not showing * More diffusion bug fixes * Better UI experience and UI/UX bug fixes ## September 22nd Update * Added **image editing** to Qwen-Image-2.1 * Fixed diffusers updating issues and fixed GGUFs not loading for Qwen-Image * Changed default for GGUFs to Q4_K_M from F16 / BF16 * Fi

  4. Qwen-Image-2.1 + Skillsv0.1.814-betaSep 22, 202647.3K downloads

    You can now run Qwen-Image-2.1 locally with Unsloth! This release also includes custom Agent Skills, and easier chat/project management. It also brings 2x faster reasoning blocks (60 FPS vs 30 FPS), more reliable training, and improved Linux installs and updates. [Qwen Image 2.1 Guide](https://unsloth.ai/docs/models/qwen-image-2.1) ## Highlights * Qwen-Image-2.1 fixes - diffusers update + GGUF fix * Qwen-Image-2.1 works for **image editing** and image gen! * Add custom Agent Skills to guide models through specific tasks. * Chats are now draggable/customizable in sidebar. * 2x faster long reasoning blocks (60 FPS vs 30 FPS before). Thinking UI/UX reworked. * In-app Debian updates and an Ubuntu 24.04+ installer for ARM64. * Projects are easier to edit and organize. ## September 22nd Update * Added **image editing** to Qwen-Image-2.1 * Fixed diffusers updating issues and fixed GGUFs not loading for Qwen-Image * Changed default for GGUFs to Q4_K_M from F16 / BF16 * Fixed diffusion black artifacts for A100 and consumer GPUs ## Agent Skills * Add custom skills to guide models through specific tasks. * Reuse skills from your existing Claude Code and `.agents` folder

  5. Qwen-Image-2.1 + Skillsv0.1.813-betaSep 22, 202618.6K downloads

    You can now run Qwen-Image-2.1 locally with Unsloth! This release also includes custom Agent Skills, and easier chat/project management. It also brings 2x faster reasoning blocks (60 FPS vs 30 FPS), more reliable training, and improved Linux installs and updates. [Qwen Image 2.1 Guide](https://unsloth.ai/docs/models/qwen-image-2.1) ## Highlights * Qwen-Image-2.1 support for image gen + more (**Another update** coming today for fixes!) * Add custom Agent Skills to guide models through specific tasks. * 2x faster long reasoning blocks (60 FPS vs 30 FPS before). Thinking UI/UX reworked. * Chats are now draggable/customizable in sidebar. * In-app Debian updates and an Ubuntu 24.04+ installer for ARM64. * Projects are easier to edit and organize. * In-app Debian updates and an Ubuntu 24.04+ installer for ARM64. ## Agent Skills * Add custom skills to guide models through specific tasks. * Reuse skills from your existing Claude Code and `.agents` folders. * Manage your skills and use `@` to select one in chat. ## Chats + projects * Drag chats to reorder them, pin them or move them into a project. * Better model loading behavior, chat properly remembers settings * Th

Code frequency

additions and deletions
+375.7K-375.7KWeek of 2025-09-07: +302 linesWeek of 2025-09-07: -199 linesWeek of 2025-09-14: +851 linesWeek of 2025-09-14: -1,211 linesWeek of 2025-09-21: +361 linesWeek of 2025-09-21: -104 linesWeek of 2025-09-28: +186 linesWeek of 2025-09-28: -219 linesWeek of 2025-10-05: +324 linesWeek of 2025-10-05: -271 linesWeek of 2025-10-12: +1,489 linesWeek of 2025-10-12: -545 linesWeek of 2025-10-19: +260 linesWeek of 2025-10-19: -178 linesWeek of 2025-10-26: +571 linesWeek of 2025-10-26: -266 linesWeek of 2025-11-02: +13,206 linesWeek of 2025-11-02: -9,718 linesWeek of 2025-11-09: +284 linesWeek of 2025-11-09: -98 linesWeek of 2025-11-16: +1,276 linesWeek of 2025-11-16: -358 linesWeek of 2025-11-23: +1,515 linesWeek of 2025-11-23: -436 linesWeek of 2025-11-30: +19,810 linesWeek of 2025-11-30: -19,756 linesWeek of 2025-12-07: +4,643 linesWeek of 2025-12-07: -1,538 linesWeek of 2025-12-14: +603 linesWeek of 2025-12-14: -260 linesWeek of 2025-12-21: +73 linesWeek of 2025-12-21: -45 linesWeek of 2025-12-28: +292 linesWeek of 2025-12-28: -133 linesWeek of 2026-01-04: +958 linesWeek of 2026-01-04: -552 linesWeek of 2026-01-11: +414 linesWeek of 2026-01-11: -121 linesWeek of 2026-01-18: +2,023 linesWeek of 2026-01-18: -24 linesWeek of 2026-01-25: +18,230 linesWeek of 2026-01-25: -9 linesWeek of 2026-02-01: +53,805 linesWeek of 2026-02-01: -26,911 linesWeek of 2026-02-08: +24,697 linesWeek of 2026-02-08: -15,680 linesWeek of 2026-02-15: +18,424 linesWeek of 2026-02-15: -9,623 linesWeek of 2026-02-22: +19,866 linesWeek of 2026-02-22: -7,543 linesWeek of 2026-03-01: +11,144 linesWeek of 2026-03-01: -3,779 linesWeek of 2026-03-08: +118,752 linesWeek of 2026-03-08: -113,851 linesWeek of 2026-03-15: +18,977 linesWeek of 2026-03-15: -6,665 linesWeek of 2026-03-22: +21,599 linesWeek of 2026-03-22: -5,228 linesWeek of 2026-03-29: +21,784 linesWeek of 2026-03-29: -3,536 linesWeek of 2026-04-05: +5,702 linesWeek of 2026-04-05: -730 linesWeek of 2026-04-12: +22,195 linesWeek of 2026-04-12: -4,090 linesWeek of 2026-04-19: +24,562 linesWeek of 2026-04-19: -1,703 linesWeek of 2026-04-26: +8,996 linesWeek of 2026-04-26: -1,057 linesWeek of 2026-05-03: +39,006 linesWeek of 2026-05-03: -3,590 linesWeek of 2026-05-10: +55,080 linesWeek of 2026-05-10: -4,657 linesWeek of 2026-05-17: +38,287 linesWeek of 2026-05-17: -6,280 linesWeek of 2026-05-24: +35,014 linesWeek of 2026-05-24: -3,546 linesWeek of 2026-05-31: +17,756 linesWeek of 2026-05-31: -3,049 linesWeek of 2026-06-07: +127,436 linesWeek of 2026-06-07: -45,301 linesWeek of 2026-06-14: +52,676 linesWeek of 2026-06-14: -11,055 linesWeek of 2026-06-21: +43,748 linesWeek of 2026-06-21: -9,669 linesWeek of 2026-06-28: +38,867 linesWeek of 2026-06-28: -4,779 linesWeek of 2026-07-05: +48,545 linesWeek of 2026-07-05: -5,219 linesWeek of 2026-07-12: +69,823 linesWeek of 2026-07-12: -21,478 linesWeek of 2026-07-19: +92,476 linesWeek of 2026-07-19: -21,458 linesWeek of 2026-07-26: +135,237 linesWeek of 2026-07-26: -10,037 linesWeek of 2026-08-02: +325,303 linesWeek of 2026-08-02: -32,726 linesWeek of 2026-08-09: +375,685 linesWeek of 2026-08-09: -38,330 linesWeek of 2026-08-16: +225,403 linesWeek of 2026-08-16: -12,199 linesWeek of 2026-08-23: +288,873 linesWeek of 2026-08-23: -23,523 linesWeek of 2026-08-30: +195,807 linesWeek of 2026-08-30: -68,339 linesSep 7, 2025Aug 30, 2026
+2.6M lines added, -561.7K removed over the last year.

Commits per week

last 52 weeks
5490Week of 2025-10-05: 3 commitsWeek of 2025-10-12: 46 commitsWeek of 2025-10-19: 11 commitsWeek of 2025-10-26: 37 commitsWeek of 2025-11-02: 8 commitsWeek of 2025-11-09: 9 commitsWeek of 2025-11-16: 28 commitsWeek of 2025-11-23: 28 commitsWeek of 2025-11-30: 30 commitsWeek of 2025-12-07: 66 commitsWeek of 2025-12-14: 43 commitsWeek of 2025-12-21: 15 commitsWeek of 2025-12-28: 26 commitsWeek of 2026-01-04: 46 commitsWeek of 2026-01-11: 12 commitsWeek of 2026-01-18: 11 commitsWeek of 2026-01-25: 5 commitsWeek of 2026-02-01: 70 commitsWeek of 2026-02-08: 78 commitsWeek of 2026-02-15: 130 commitsWeek of 2026-02-22: 118 commitsWeek of 2026-03-01: 82 commitsWeek of 2026-03-08: 106 commitsWeek of 2026-03-15: 165 commitsWeek of 2026-03-22: 113 commitsWeek of 2026-03-29: 80 commitsWeek of 2026-04-05: 28 commitsWeek of 2026-04-12: 61 commitsWeek of 2026-04-19: 32 commitsWeek of 2026-04-26: 19 commitsWeek of 2026-05-03: 42 commitsWeek of 2026-05-10: 75 commitsWeek of 2026-05-17: 136 commitsWeek of 2026-05-24: 50 commitsWeek of 2026-05-31: 75 commitsWeek of 2026-06-07: 196 commitsWeek of 2026-06-14: 112 commitsWeek of 2026-06-21: 141 commitsWeek of 2026-06-28: 58 commitsWeek of 2026-07-05: 113 commitsWeek of 2026-07-12: 85 commitsWeek of 2026-07-19: 131 commitsWeek of 2026-07-26: 195 commitsWeek of 2026-08-02: 349 commitsWeek of 2026-08-09: 425 commitsWeek of 2026-08-16: 284 commitsWeek of 2026-08-23: 296 commitsWeek of 2026-08-30: 225 commitsWeek of 2026-09-06: 250 commitsWeek of 2026-09-13: 393 commitsWeek of 2026-09-20: 549 commitsWeek of 2026-09-27: 284 commitsOct 5, 2025Sep 27, 2026
6K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 31 commitsSun 1:00 — 43 commitsSun 2:00 — 52 commitsSun 3:00 — 60 commitsSun 4:00 — 54 commitsSun 5:00 — 53 commitsSun 6:00 — 47 commitsSun 7:00 — 54 commitsSun 8:00 — 28 commitsSun 9:00 — 29 commitsSun 10:00 — 14 commitsSun 11:00 — 10 commitsSun 12:00 — 23 commitsSun 13:00 — 30 commitsSun 14:00 — 33 commitsSun 15:00 — 47 commitsSun 16:00 — 44 commitsSun 17:00 — 39 commitsSun 18:00 — 43 commitsSun 19:00 — 60 commitsSun 20:00 — 44 commitsSun 21:00 — 73 commitsSun 22:00 — 50 commitsSun 23:00 — 75 commitsMon 0:00 — 73 commitsMon 1:00 — 80 commitsMon 2:00 — 75 commitsMon 3:00 — 64 commitsMon 4:00 — 82 commitsMon 5:00 — 92 commitsMon 6:00 — 71 commitsMon 7:00 — 70 commitsMon 8:00 — 36 commitsMon 9:00 — 36 commitsMon 10:00 — 38 commitsMon 11:00 — 33 commitsMon 12:00 — 38 commitsMon 13:00 — 40 commitsMon 14:00 — 47 commitsMon 15:00 — 51 commitsMon 16:00 — 35 commitsMon 17:00 — 53 commitsMon 18:00 — 65 commitsMon 19:00 — 74 commitsMon 20:00 — 57 commitsMon 21:00 — 66 commitsMon 22:00 — 71 commitsMon 23:00 — 94 commitsTue 0:00 — 113 commitsTue 1:00 — 113 commitsTue 2:00 — 66 commitsTue 3:00 — 82 commitsTue 4:00 — 68 commitsTue 5:00 — 95 commitsTue 6:00 — 93 commitsTue 7:00 — 90 commitsTue 8:00 — 61 commitsTue 9:00 — 56 commitsTue 10:00 — 82 commitsTue 11:00 — 80 commitsTue 12:00 — 57 commitsTue 13:00 — 55 commitsTue 14:00 — 50 commitsTue 15:00 — 52 commitsTue 16:00 — 66 commitsTue 17:00 — 43 commitsTue 18:00 — 63 commitsTue 19:00 — 69 commitsTue 20:00 — 72 commitsTue 21:00 — 71 commitsTue 22:00 — 69 commitsTue 23:00 — 89 commitsWed 0:00 — 65 commitsWed 1:00 — 57 commitsWed 2:00 — 74 commitsWed 3:00 — 118 commitsWed 4:00 — 87 commitsWed 5:00 — 97 commitsWed 6:00 — 123 commitsWed 7:00 — 76 commitsWed 8:00 — 90 commitsWed 9:00 — 47 commitsWed 10:00 — 49 commitsWed 11:00 — 31 commitsWed 12:00 — 45 commitsWed 13:00 — 48 commitsWed 14:00 — 64 commitsWed 15:00 — 61 commitsWed 16:00 — 54 commitsWed 17:00 — 53 commitsWed 18:00 — 50 commitsWed 19:00 — 50 commitsWed 20:00 — 55 commitsWed 21:00 — 43 commitsWed 22:00 — 42 commitsWed 23:00 — 59 commitsThu 0:00 — 80 commitsThu 1:00 — 98 commitsThu 2:00 — 85 commitsThu 3:00 — 80 commitsThu 4:00 — 101 commitsThu 5:00 — 102 commitsThu 6:00 — 120 commitsThu 7:00 — 68 commitsThu 8:00 — 58 commitsThu 9:00 — 46 commitsThu 10:00 — 40 commitsThu 11:00 — 47 commitsThu 12:00 — 40 commitsThu 13:00 — 34 commitsThu 14:00 — 46 commitsThu 15:00 — 40 commitsThu 16:00 — 43 commitsThu 17:00 — 52 commitsThu 18:00 — 49 commitsThu 19:00 — 47 commitsThu 20:00 — 48 commitsThu 21:00 — 33 commitsThu 22:00 — 26 commitsThu 23:00 — 39 commitsFri 0:00 — 40 commitsFri 1:00 — 58 commitsFri 2:00 — 64 commitsFri 3:00 — 73 commitsFri 4:00 — 98 commitsFri 5:00 — 81 commitsFri 6:00 — 72 commitsFri 7:00 — 59 commitsFri 8:00 — 47 commitsFri 9:00 — 42 commitsFri 10:00 — 37 commitsFri 11:00 — 42 commitsFri 12:00 — 54 commitsFri 13:00 — 49 commitsFri 14:00 — 37 commitsFri 15:00 — 54 commitsFri 16:00 — 55 commitsFri 17:00 — 53 commitsFri 18:00 — 28 commitsFri 19:00 — 47 commitsFri 20:00 — 30 commitsFri 21:00 — 29 commitsFri 22:00 — 27 commitsFri 23:00 — 43 commitsSat 0:00 — 35 commitsSat 1:00 — 27 commitsSat 2:00 — 28 commitsSat 3:00 — 48 commitsSat 4:00 — 48 commitsSat 5:00 — 37 commitsSat 6:00 — 28 commitsSat 7:00 — 28 commitsSat 8:00 — 45 commitsSat 9:00 — 21 commitsSat 10:00 — 15 commitsSat 11:00 — 12 commitsSat 12:00 — 14 commitsSat 13:00 — 12 commitsSat 14:00 — 18 commitsSat 15:00 — 13 commitsSat 16:00 — 22 commitsSat 17:00 — 34 commitsSat 18:00 — 29 commitsSat 19:00 — 33 commitsSat 20:00 — 21 commitsSat 21:00 — 27 commitsSat 22:00 — 40 commitsSat 23:00 — 35 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.
DateListRankStars gained
Mar 19, 2026daily#17+144
Mar 18, 2026daily#22+153