Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Fix/colab plugin editable install (#4281)
Leo Borcherdingce8e530e6d4c
diff --git a/studio/Unsloth_Studio_Colab.ipynb b/studio/Unsloth_Studio_Colab.ipynbindex 15bc7d48220..9ae976ed630 100644--- a/studio/Unsloth_Studio_Colab.ipynb+++ b/studio/Unsloth_Studio_Colab.ipynb@@ -2,14 +2,47 @@"cells": [{"cell_type": "markdown",- "id": "f2b0c6a1",+ "id": "6b87de59","metadata": {},"source": [- "**License Notice**\n",+ "To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n",+ "<div class=\"align-center\">\n",+ "<a href=\"https://unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",+ "<a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord button.png\" width=\"145\"></a>\n",+ "<a href=\"https://unsloth.ai/docs/\"><img src=\"https://github.com/unslothai/unsloth/blob/main/images/documentation%20green%20button.png?raw=true\" width=\"125\"></a> Join Discord if you need help + ⭐ <i>Star us on <a href=\"https://github.com/unslothai/unsloth\">Github</a> </i> ⭐\n",+ "</div>\n",+ "\n",+ "To install Unsloth on your local device, follow [our guide](https://unsloth.ai/docs/get-started/install). This notebook is licensed [AGPL-3.0](https://github.com/unslothai/unsloth/blob/main/studio/LICENSE.AGPL-3.0).\n",+ "\n",+ "Run **Unsloth Studio** — a local AI chat & fine-tuning UI — directly in Google Colab."+ ]+ },+ {+ "cell_type": "markdown",+ "id": "848d8e09",+ "metadata": {},+ "source": [+ "### News\n",+ "\n",+ "Train MoEs - DeepSeek, GLM, Qwen and gpt-oss 12x faster with 35% less VRAM. [Blog](https://unsloth.ai/docs/new/faster-moe)\n",+ "\n",+ "You can now train embedding models 1.8-3.3x faster with 20% less VRAM. [Blog](https://unsloth.ai/docs/new/embedding-finetuning)\n","\n",- "SPDX-License-Identifier: AGPL-3.0-only\n",+ "Ultra Long-Context Reinforcement Learning is here with 7x more context windows! [Blog](https://unsloth.ai/docs/new/grpo-long-context)\n","\n",- "Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0\n"+ "3x faster LLM training with 30% less VRAM and 500K context. [3x faster](https://unsloth.ai/docs/new/3x-faster-training-packing) • [500K Context](https://unsloth.ai/docs/new/500k-context-length-fine-tuning)\n",+ "\n",+ "New in Reinforcement Learning: [FP8 RL](https://unsloth.ai/docs/new/fp8-reinforcement-learning) • [Vision RL](https://unsloth.ai/docs/new/vision-reinforcement-learning-vlm-rl) • [Standby](https://unsloth.ai/docs/basics/memory-efficient-rl) • [gpt-oss RL](https://unsloth.ai/docs/new/gpt-oss-reinforcement-learning)\n",+ "\n",+ "Visit our docs for all our [model uploads](https://unsloth.ai/docs/get-started/unsloth-model-catalog) and [notebooks](https://unsloth.ai/docs/get-started/unsloth-notebooks)."+ ]+ },+ {+ "cell_type": "markdown",+ "id": "92d28e3c",+ "metadata": {},+ "source": [+ "### ⚠️ GPU Check - Run This First!"]},{@@ -19,9 +52,6 @@"metadata": {},"outputs": [],"source": [- "# ===========================================\n",- "# ⚠️ GPU Check - Run This First!\n",- "# ===========================================\n","import torch\n","\n","print(\"🔍 Checking for GPU...\")\n",@@ -40,26 +70,11 @@]},{- "cell_type": "code",- "execution_count": null,- "id": "f04a9b46",+ "cell_type": "markdown",+ "id": "27da2957","metadata": {},- "outputs": [],"source": [- "# ===========================================\n",- "# GitHub Authentication (Private Repo)\n",- "# ===========================================\n",- "from getpass import getpass\n",- "import os\n",- "\n",- "print(\"🔐 GitHub Token Required\")\n",- "print(\"Get token: https://github.com/settings/tokens\")\n",- "print(\"Scope needed: 'repo'\")\n",- "print(\"-\" * 50)\n",- "\n",- "github_token = getpass(\"Enter GitHub Token: \")\n",- "os.environ['GITHUB_TOKEN'] = github_token\n",- "print(\"✅ Token stored\")"+ "### Setup: Clone repo and run setup"]},{@@ -69,18 +84,20 @@"metadata": {},"outputs": [],"source": [- "# ===========================================\n",- "# Setup: Clone repo and run setup\n",- "# ===========================================\n",- "\n",- "import os\n",- "github_token = os.environ['GITHUB_TOKEN']\n",- "!git clone https://{github_token}@github.com/unslothai/new-ui-prototype.git\n",- "%cd /content/new-ui-prototype\n",+ "!git clone --depth 1 --branch main https://github.com/unslothai/unsloth.git\n",+ "%cd /content/unsloth\n","\n","# Run setup script\n",- "!chmod +x setup.sh\n",- "!./setup.sh"+ "!chmod +x studio/setup.sh\n",+ "!./studio/setup.sh"+ ]+ },+ {+ "cell_type": "markdown",+ "id": "3e1771a9",+ "metadata": {},+ "source": [+ "### Start Unsloth Studio"]},{@@ -90,15 +107,37 @@"metadata": {},"outputs": [],"source": [- "# ===========================================\n",- "# Start Unsloth Studio\n",- "# ===========================================\n","import sys\n",- "sys.path.insert(0, '/content/new-ui-prototype/studio/backend')\n",+ "sys.path.insert(0, '/content/unsloth/studio/backend')\n","\n","from colab import start\n","start()"]+ },+ {+ "cell_type": "markdown",+ "id": "f2b0c6a1",+ "metadata": {},+ "source": [+ "And we're done! If you have any questions on Unsloth, we have a [Discord](https://discord.gg/unsloth) channel! If you find any bugs or want to keep updated with the latest LLM stuff, or need help, join projects etc, feel free to join our Discord!\n",+ "\n",+ "Some other resources:\n",+ "1. Looking to use Unsloth locally? Read our [Installation Guide](https://unsloth.ai/docs/get-started/install) for details on installing Unsloth on Windows, Docker, AMD, Intel GPUs.\n",+ "2. Learn how to do Reinforcement Learning with our [RL Guide and notebooks](https://unsloth.ai/docs/get-started/reinforcement-learning-rl-guide).\n",+ "3. Read our guides and notebooks for [Text-to-speech (TTS)](https://unsloth.ai/docs/basics/text-to-speech-tts-fine-tuning) and [vision](https://unsloth.ai/docs/basics/vision-fine-tuning) model support.\n",+ "4. Explore our [LLM Tutorials Directory](https://unsloth.ai/docs/models/tutorials-how-to-fine-tune-and-run-llms) to find dedicated guides for each model.\n",+ "5. Need help with Inference? Read our [Inference & Deployment page](https://unsloth.ai/docs/basics/inference-and-deployment) for details on using vLLM, llama.cpp, Ollama etc.\n",+ "\n",+ "<div class=\"align-center\">\n",+ " <a href=\"https://unsloth.ai\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",+ " <a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord.png\" width=\"145\"></a>\n",+ " <a href=\"https://unsloth.ai/docs/\"><img src=\"https://github.com/unslothai/unsloth/blob/main/images/documentation%20green%20button.png?raw=true\" width=\"125\"></a>\n",+ "\n",+ " Join Discord if you need help + ⭐️ <i>Star us on <a href=\"https://github.com/unslothai/unsloth\">Github</a> </i> ⭐️\n",+ "\n",+ " <b>This notebook is licensed <a href=\"https://github.com/unslothai/unsloth/blob/main/studio/LICENSE.AGPL-3.0\">AGPL-3.0</a></b>\n",+ "</div>"+ ]}],"metadata": {