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
Add GPU check as first cell in notebook
Leo Borcherding7818e3efc8a0
diff --git a/Unsloth_Studio_Colab.ipynb b/Unsloth_Studio_Colab.ipynbindex 19e72c20d7c..fb2ca72604e 100644--- a/Unsloth_Studio_Colab.ipynb+++ b/Unsloth_Studio_Colab.ipynb@@ -1,5 +1,32 @@{"cells": [+ {+ "cell_type": "code",+ "execution_count": null,+ "id": "447c1156",+ "metadata": {},+ "outputs": [],+ "source": [+ "# ===========================================\n",+ "# ⚠️ GPU Check - Run This First!\n",+ "# ===========================================\n",+ "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!\")"+ ]+ },{"cell_type": "code","execution_count": null,