"Unsloth is the first desktop app to run and train models"——从微调加速库进化为三形态全家桶:Desktop 桌面应用、Studio Web UI、Core 代码库,覆盖 LLM、diffusion、embedding、audio 模型的本地推理与训练。核心能力围绕性能硬指标、DataRecipes、27B-GGUF展开。

| 项目 | 内容 |
|---|---|
| 仓库 | unslothai/unsloth |
| 语言 / 许可证 | Python / 双许可:核心 Apache 2.0,Studio UI 为 AGPL-3.0 |
| 总星标 | ⭐ 74844 |
| 本月净增星标 | +6035 |
| 榜单 | GitHub 官方月度趋势榜 第29名 |
"Unsloth is the first desktop app to run and train models"——从微调加速库进化为三形态全家桶:Desktop 桌面应用、Studio Web UI、Core 代码库,覆盖 LLM、diffusion、embedding、audio 模型的本地推理与训练。
unsloth 凭借"训练快 2 倍、省 70% VRAM 且无精度损失"的 Triton 内核在微调圈早已封神(7.4 万星基本盘),本月热度来自产品形态跃迁:推出桌面应用把"跑模型 + 训模型 + 起 agent"打包成一条命令体验,正面回应 Ollama/LM Studio 只有推理没有训练的空档。叠加 GLM-5.2(744B/1M context)、DeepSeek-V4 等新模型的首发适配与 Colab 免费 notebook 矩阵,持续霸榜顺理成章。
推理后端基于 llama.cpp,支持 Vulkan/CUDA/ROCm/CPU 多后端切换(`UNSLOTH_LLAMA_CPP_BACKEND`);训练后端 PyTorch + 自研 Triton kernels(RoPE & MLP)+ Padding Free/Packing 技术。深度绑定 Hugging Face transformers 与 TRL 生态。硬件面支持 NVIDIA/AMD/Intel GPU、多卡乃至 CPU,另有 Blackwell RTX 50 系与 DGX Spark 专指南。
Windows/Linux/macOS/WSL 全平台:
curl -fsSL https://unsloth.ai/install.sh | sh # Studio 一键装
irm https://unsloth.ai/install.ps1 | iex # Windows
Core 版走 uv + Python 3.13:`uv pip install unsloth --torch-backend=auto`;Docker 镜像 `unsloth/unsloth` 支持 `--gpus all`。
unsloth studio --secure # 启动并生成 Cloudflare 安全链接
UNSLOTH_STUDIO_PASSWORD='pwd' unsloth studio --secure
unsloth start codex # 把 Codex 接到本地模型
免费 Notebook 覆盖 Gemma 4 Vision、Qwen3.5、Orpheus-TTS 等。
对比 Ollama/LM Studio:它们强在易用推理,unsloth 独占"同界面完成训练";对比 Axolotl/LLaMA-Factory 等训练框架:unsloth 以内核级优化换性能且新推 UI 下沉小白用户。既有性能护城河又有桌面壳,护城河完整的稀缺标的。
文档 unsloth.ai/docs、GitHub Releases 提供各平台安装包(当前 v0.1.803-beta)、社区 Discord 与 r/unsloth。