Skip to content

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.

Update mapper.py

Daniel Han89a2517a8d12
diff --git a/unsloth/models/mapper.py b/unsloth/models/mapper.py
index 152ce5a85c5..47dbb325efc 100644
--- a/unsloth/models/mapper.py
+++ b/unsloth/models/mapper.py
@@ -638,6 +638,38 @@ __INT_TO_FLOAT_MAPPER = \
"Qwen/QwQ-32B",
"unsloth/QwQ-32B-bnb-4bit",
),
+ "unsloth/gemma-3-1b-it" : (
+ "unsloth/gemma-3-1b-it",
+ "google/gemma-3-1b-it",
+ ),
+ "unsloth/gemma-3-4b-it" : (
+ "unsloth/gemma-3-4b-it",
+ "google/gemma-3-4b-it",
+ ),
+ "unsloth/gemma-3-12b-it" : (
+ "unsloth/gemma-3-12b-it",
+ "google/gemma-3-12b-it",
+ ),
+ "unsloth/gemma-3-27b-it" : (
+ "unsloth/gemma-3-27b-it",
+ "google/gemma-3-27b-it",
+ ),
+ "unsloth/gemma-3-1b-pt" : (
+ "unsloth/gemma-3-1b-pt",
+ "google/gemma-3-1b-pt",
+ ),
+ "unsloth/gemma-3-4b-pt" : (
+ "unsloth/gemma-3-4b-pt",
+ "google/gemma-3-4b-pt",
+ ),
+ "unsloth/gemma-3-12b-pt" : (
+ "unsloth/gemma-3-12b-pt",
+ "google/gemma-3-12b-pt",
+ ),
+ "unsloth/gemma-3-27b-pt" : (
+ "unsloth/gemma-3-27b-pt",
+ "google/gemma-3-27b-pt",
+ ),
}
INT_TO_FLOAT_MAPPER = {}