Merge branch 'main' into nightly

This commit is contained in:
Daniel Han 2025-03-12 05:00:45 -07:00
commit b75e121b26
2 changed files with 9 additions and 8 deletions

View file

@ -1129,6 +1129,7 @@ def unsloth_compile_transformers(
revision = revision,
trust_remote_code = trust_remote_code,
)
model_types = ["siglip"] + model_types
if disable: return

View file

@ -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",
),