unslothai/unsloth在自己的电脑上跑和训练各种 AI 模型
Unsloth 是一个桌面软件,让你不用懂编程,也能在自己电脑上运行和训练 AI 模型。以往想用大模型,要么花钱调云端服务,要么折腾一堆命令行;Unsloth 把这些都收进一个窗口里,点几下就能用,模型和数据也都留在自己电脑上。
它有桌面版、网页版和代码版三种用法,推荐装桌面版。能处理文字对话、图片和视频生成、语音、嵌入模型等多种类型,还支持用局域网连接其他设备访问;训练方面官方说明比常规方式快 2 倍、显存省 70%,而且效果不打折。
想练手的用户可以用官方提供的免费笔记本,加数据集、跑训练,再把训好的模型部署出去。
开发者用一条命令把 Claude Code、Codex 等助手接到本地模型上,边聊边写代码。
在家用电脑跑模型,出门用手机通过生成的链接访问,随时接着用。
把 PDF、CSV、Word 等文件整理成训练用的数据集,方便后续微调模型。
案例来自项目官方说明里举的例子和演示,不是本站编的。
用之前要准备:一台性能尚可的电脑(有显卡更好),模型文件要自己下载;国内访问部分海外服务可能受限。
下载链接直接指向 GitHub 官方发布页的文件,不经过本站。国内下载 GitHub 文件可能偏慢。
也可以用命令装:
curl -fsSL https://unsloth.ai/install.sh | sh irm https://unsloth.ai/install.ps1 | iex brew install --cask unsloth winget install --id UnslothAI.Unsloth -e 命令原样摘自项目官方说明,本站没有改动。
能免费用、改、商用;改了代码再发出去要注明改过哪里,并保留原来的版权和许可说明。
以上是对许可证的通俗解释,不是法律意见;正式商用以官方仓库的 LICENSE 文件为准。
项目本身开源,采用 Apache-2.0 许可,可以免费使用。但跑模型需要你自己的电脑硬件,接云端服务可能另算。
不是必须,也支持纯 CPU 运行,但训练和大模型跑起来会慢很多,显卡越好越顺畅。
能。提供 Windows 安装包,也有 ARM64 版本,还支持 winget 安装。
模型默认在本地运行。但如果开启远程访问或联网搜索功能,相关数据会经过网络,需要自己留意。
说明里没有专门提到界面语言,只提到能处理带注音文字的 Word 文件,中文支持情况没有明确说明。
下面是海外开发者在 Hacker News(国外程序员常去的技术论坛)上讨论这个项目的真实评论,按讨论热度挑选,中文由 AI 翻译,点「看原文」可以对照英文。
I haven't run the code, but... how is this even possible? I've done PyTorch profiling on QLoRA Llama-2-70B fine tunes, and the runtime is dominated by the large matrix multiplies in the MLP layers, plus a bit for attention. Under the hood, this repo calls the same torch.matmul() for MLP and flash_attn_func() for attention as HuggingFace does. So how can it be that much faster? They have a few Triton kernels, but there appears to be no Triton on MLP or attention and that's most of the bottleneck.
What is the motivation behind open sourcing code at all if you're not going to open source it all? I don't mean this to be an asshole, as I truly want to understand the motivation.
This seems very interesting, but I’m very confused why you have gated the /max/imum speedup version for enterprise-only? It would make more sense to have only the Free and Paid plans differing in performance, and Enterprise getting support/etc.
I see this mentions 2018+ GPUs, but I'm curious why this wouldn't work on say a 1080Ti. My cursory look at the hardware specs shows this has support for CUDA8+ and this states 7.5 Would someone be able to tell me more about this?
Isnt llama proprietary? Why not dine tune one of the truly open models instead?
数据来自 GitHub,本站每周核对一次,最近核对于 2026-11-22。