diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py index c79d702b15..77bfa8762a 100644 --- a/unsloth/models/_utils.py +++ b/unsloth/models/_utils.py @@ -1129,6 +1129,7 @@ def unsloth_compile_transformers( revision = revision, trust_remote_code = trust_remote_code, ) + model_types = ["siglip"] + model_types if disable: return diff --git a/unsloth/models/mapper.py b/unsloth/models/mapper.py index 47dbb325ef..b4facf729c 100644 --- a/unsloth/models/mapper.py +++ b/unsloth/models/mapper.py @@ -638,35 +638,35 @@ __INT_TO_FLOAT_MAPPER = \ "Qwen/QwQ-32B", "unsloth/QwQ-32B-bnb-4bit", ), - "unsloth/gemma-3-1b-it" : ( + "unsloth/gemma-3-1b-it-bnb-4bit" : ( "unsloth/gemma-3-1b-it", "google/gemma-3-1b-it", ), - "unsloth/gemma-3-4b-it" : ( + "unsloth/gemma-3-4b-it-bnb-4bit" : ( "unsloth/gemma-3-4b-it", "google/gemma-3-4b-it", ), - "unsloth/gemma-3-12b-it" : ( + "unsloth/gemma-3-12b-it-bnb-4bit" : ( "unsloth/gemma-3-12b-it", "google/gemma-3-12b-it", ), - "unsloth/gemma-3-27b-it" : ( + "unsloth/gemma-3-27b-it-bnb-4bit" : ( "unsloth/gemma-3-27b-it", "google/gemma-3-27b-it", ), - "unsloth/gemma-3-1b-pt" : ( + "unsloth/gemma-3-1b-pt-bnb-4bit" : ( "unsloth/gemma-3-1b-pt", "google/gemma-3-1b-pt", ), - "unsloth/gemma-3-4b-pt" : ( + "unsloth/gemma-3-4b-pt-bnb-4bit" : ( "unsloth/gemma-3-4b-pt", "google/gemma-3-4b-pt", ), - "unsloth/gemma-3-12b-pt" : ( + "unsloth/gemma-3-12b-pt-bnb-4bit" : ( "unsloth/gemma-3-12b-pt", "google/gemma-3-12b-pt", ), - "unsloth/gemma-3-27b-pt" : ( + "unsloth/gemma-3-27b-pt-bnb-4bit" : ( "unsloth/gemma-3-27b-pt", "google/gemma-3-27b-pt", ),