Skip to content

Commit 83cb0fb

Browse files
committed
Fix header GPU type to match Colab metadata across all notebooks
36 notebooks had "free Tesla T4" in the header text but their Colab metadata specified A100 or L4. Updated headers to match: - A100 notebooks: "on your A100 Google Colab Pro instance!" - L4 notebooks: "on your L4 Google Colab Pro instance!" - T4 notebooks: unchanged ("on a **free** Tesla T4 Google Colab instance!") Also updated update_all_notebooks.py: - Select header announcement based on gpuType metadata, not just filename - Metadata gpuType takes precedence over filename-based A100 detection - Fix GPU text in HF Course and Meta templates when notebook uses A100/L4 - Rename general_announcement_content_fp8 to general_announcement_content_l4 - Add default value to .get("gpuType", "T4") for notebooks missing the key
1 parent f5e0fdf commit 83cb0fb

37 files changed

+56
-41
lines changed

nb/Advanced_Llama3_1_(3B)_GRPO_LoRA.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n",
7+
"To run this, press \"*Runtime*\" and press \"*Run all*\" on your A100 Google Colab Pro instance!\n",
88
"<div class=\"align-center\">\n",
99
"<a href=\"https://unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",
1010
"<a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord button.png\" width=\"145\"></a>\n",

nb/CodeForces-cot-Finetune_for_Reasoning_on_CodeForces.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n",
7+
"To run this, press \"*Runtime*\" and press \"*Run all*\" on your A100 Google Colab Pro instance!\n",
88
"<div class=\"align-center\">\n",
99
"<a href=\"https://unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",
1010
"<a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord button.png\" width=\"145\"></a>\n",

nb/Deepseek_OCR_(3B)-Evaluation.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n",
7+
"To run this, press \"*Runtime*\" and press \"*Run all*\" on your A100 Google Colab Pro instance!\n",
88
"<div class=\"align-center\">\n",
99
"<a href=\"https://unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",
1010
"<a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord button.png\" width=\"145\"></a>\n",

nb/ERNIE_4_5_21B_A3B_PT-Conversational.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n",
7+
"To run this, press \"*Runtime*\" and press \"*Run all*\" on your L4 Google Colab Pro instance!\n",
88
"<div class=\"align-center\">\n",
99
"<a href=\"https://unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",
1010
"<a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord button.png\" width=\"145\"></a>\n",

nb/ERNIE_4_5_VL_28B_A3B_PT_Vision.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n",
7+
"To run this, press \"*Runtime*\" and press \"*Run all*\" on your A100 Google Colab Pro instance!\n",
88
"<div class=\"align-center\">\n",
99
"<a href=\"https://unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",
1010
"<a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord button.png\" width=\"145\"></a>\n",

nb/Gemma3N_(2B)-Inference.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n",
7+
"To run this, press \"*Runtime*\" and press \"*Run all*\" on your A100 Google Colab Pro instance!\n",
88
"<div class=\"align-center\">\n",
99
"<a href=\"https://unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",
1010
"<a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord button.png\" width=\"145\"></a>\n",

nb/Gemma4_(E4B)-Audio.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n",
7+
"To run this, press \"*Runtime*\" and press \"*Run all*\" on your L4 Google Colab Pro instance!\n",
88
"<div class=\"align-center\">\n",
99
"<a href=\"https://unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",
1010
"<a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord button.png\" width=\"145\"></a>\n",
@@ -900,7 +900,7 @@
900900
"metadata": {
901901
"accelerator": "GPU",
902902
"colab": {
903-
"gpuType": "T4",
903+
"gpuType": "L4",
904904
"provenance": []
905905
},
906906
"kaggle": {

nb/HuggingFace Course-Advanced_Llama3_1_(3B)_GRPO_LoRA.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n",
7+
"To run this, press \"*Runtime*\" and press \"*Run all*\" on your A100 Google Colab Pro instance!\n",
88
"<div class=\"align-center\"><a href=\"https://huggingface.co/learn/nlp-course/en/chapter12/6?fw=pt\"><img src=\"https://github.com/unslothai/notebooks/raw/main/assets/hf%20course.png\" width=\"165\"></a>\n",
99
"<a href=\"https://unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",
1010
"<a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord button.png\" width=\"145\"></a>\n",

nb/HuggingFace Course-Llama_FP8_GRPO.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n",
7+
"To run this, press \"*Runtime*\" and press \"*Run all*\" on your L4 Google Colab Pro instance!\n",
88
"<div class=\"align-center\"><a href=\"https://huggingface.co/learn/nlp-course/en/chapter12/6?fw=pt\"><img src=\"https://github.com/unslothai/notebooks/raw/main/assets/hf%20course.png\" width=\"165\"></a>\n",
99
"<a href=\"https://unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",
1010
"<a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord button.png\" width=\"145\"></a>\n",

nb/HuggingFace Course-Qwen3_8B_FP8_GRPO.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n",
7+
"To run this, press \"*Runtime*\" and press \"*Run all*\" on your L4 Google Colab Pro instance!\n",
88
"<div class=\"align-center\"><a href=\"https://huggingface.co/learn/nlp-course/en/chapter12/6?fw=pt\"><img src=\"https://github.com/unslothai/notebooks/raw/main/assets/hf%20course.png\" width=\"165\"></a>\n",
99
"<a href=\"https://unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",
1010
"<a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord button.png\" width=\"145\"></a>\n",

0 commit comments

Comments
 (0)