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 comment edits (#4317)
Leo Borcherding262271a20dbb
diff --git a/studio/Unsloth_Studio_Colab.ipynb b/studio/Unsloth_Studio_Colab.ipynbindex 9ae976ed630..42bd11bb0eb 100644--- a/studio/Unsloth_Studio_Colab.ipynb+++ b/studio/Unsloth_Studio_Colab.ipynb@@ -14,59 +14,19 @@"\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."+ "Run **Unsloth Studio** directly in Google Colab."]},{"cell_type": "markdown",- "id": "848d8e09",+ "id": "f6907711","metadata": {},"source": [- "### News\n",+ "<div align=\"center\">\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","\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",- "Ultra Long-Context Reinforcement Learning is here with 7x more context windows! [Blog](https://unsloth.ai/docs/new/grpo-long-context)\n",- "\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!"- ]- },- {- "cell_type": "code",- "execution_count": null,- "id": "447c1156",- "metadata": {},- "outputs": [],- "source": [- "import torch\n",- "\n",- "print(\"🔍 Checking for GPU...\")\n",- "if not torch.cuda.is_available():\n",- " print(\"❌ ERROR: No GPU detected!\")\n",- " print(\"\\n📋 To enable GPU:\")\n",- " print(\" 1. Go to: Runtime → Change runtime type\")\n",- " print(\" 2. Select: Hardware accelerator → GPU (T4 is free)\")\n",- " print(\" 3. Click: Save\")\n",- " print(\" 4. Restart and re-run all cells\")\n",- " raise RuntimeError(\"⛔ GPU required for Unsloth Studio\")\n",- "else:\n",- " gpu_name = torch.cuda.get_device_name(0)\n",- " print(f\"✅ GPU detected: {gpu_name}\")\n",- " print(\" Ready to proceed!\")"+ "</div>"]},{@@ -141,6 +101,16 @@}],"metadata": {+ "accelerator": "GPU",+ "colab": {+ "gpuType": "T4",+ "include_colab_link": true,+ "provenance": []+ },+ "kernelspec": {+ "display_name": "Python 3",+ "name": "python3"+ },"language_info": {"name": "python"}diff --git a/studio/backend/colab.py b/studio/backend/colab.pyindex 8b4294f4838..7162b6d4c2a 100644--- a/studio/backend/colab.py+++ b/studio/backend/colab.py@@ -41,21 +41,29 @@ def show_link(port: int = 8000):# Get real Colab proxy URLurl = get_colab_url(port)+ short_url = (+ url[: url.index("-", url.index("8000-") + 5) + 1] + "..."+ if "8000-" in url+ else url+ )html = f"""- <div style="padding: 20px; background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);+ <div style="display: inline-block; padding: 20px; background: #ffffff; border: 2px solid #000000;border-radius: 12px; margin: 10px 0; font-family: system-ui, -apple-system, sans-serif;">- <h2 style="color: white; margin: 0 0 12px 0; font-size: 24px;">- 🦥 Unsloth Studio is Ready!+ <h2 style="color: #000000; margin: 0 0 12px 0; font-size: 26px; font-weight: 800;+ display: flex; align-items: center; gap: 12px;">+ <img src="https://github.com/unslothai/unsloth/raw/main/studio/frontend/public/unsloth-gem.png"+ height="48" style="display:block;">+ Unsloth Studio is Ready!</h2><a href="{url}" target="_blank"- style="display: inline-block; padding: 14px 28px; background: white; color: #16a34a;- text-decoration: none; border-radius: 8px; font-weight: 600; font-size: 16px;- box-shadow: 0 4px 6px rgba(0,0,0,0.1);">- 🚀 Open Unsloth Studio+ style="display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;+ background: #000000; color: white; text-decoration: none; border-radius: 8px;+ font-weight: 800; font-size: 16px;">+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="white"><polygon points="5,3 19,12 5,21"/></svg>+ Open Unsloth Studio</a>- <p style="color: rgba(255,255,255,0.9); margin: 16px 0 0 0; font-size: 13px;- word-break: break-all; font-family: monospace;">- {url}+ <p style="color: #333333; margin: 16px 0 0 0; font-size: 13px; font-family: monospace;">+ {short_url}</p></div>"""