New models
This commit is contained in:
parent
7429c5698c
commit
360e799f5d
2 changed files with 36 additions and 0 deletions
|
|
@ -501,6 +501,12 @@ class FastModel(FastBaseModel):
|
|||
raise RuntimeError("Unsloth: Aya Vision only works on transformers >= 4.50.0." + NIGHTLY)
|
||||
elif "gemma-3" in model_name.lower() and transformers_version < Version("4.50.0.dev0"):
|
||||
raise RuntimeError("Unsloth: Gemma 3 only works on transformers >= 4.50.0." + NIGHTLY)
|
||||
elif "c4ai-command-a-03-2025" in model_name.lower() and transformers_version < Version("4.50.0.dev0"):
|
||||
raise RuntimeError("Unsloth: Cohere's Command model only works on transformers >= 4.50.0." + NIGHTLY)
|
||||
elif "granite-vision" in model_name.lower() and transformers_version < Version("4.50.0.dev0"):
|
||||
raise RuntimeError("Unsloth: Granite Vision only works on transformers >= 4.50.0." + NIGHTLY)
|
||||
elif "olmo-2" in model_name.lower() and transformers_version < Version("4.50.0.dev0"):
|
||||
raise RuntimeError("Unsloth: OLMo-2 only works on transformers >= 4.50.0." + NIGHTLY)
|
||||
pass
|
||||
|
||||
if USE_MODELSCOPE and not os.path.exists(model_name):
|
||||
|
|
|
|||
|
|
@ -678,6 +678,36 @@ __INT_TO_FLOAT_MAPPER = \
|
|||
"google/gemma-3-27b-pt",
|
||||
"unsloth/gemma-3-27b-pt-bnb-4bit",
|
||||
),
|
||||
"unsloth/reka-flash-3-unsloth-bnb-4bit" : (
|
||||
"unsloth/reka-flash-3",
|
||||
"RekaAI/reka-flash-3",
|
||||
"unsloth/reka-flash-3-bnb-4bit",
|
||||
),
|
||||
"unsloth/c4ai-command-a-03-2025-unsloth-bnb-4bit" : (
|
||||
"unsloth/c4ai-command-a-03-2025",
|
||||
"CohereForAI/c4ai-command-a-03-2025",
|
||||
"unsloth/c4ai-command-a-03-2025-bnb-4bit",
|
||||
),
|
||||
"unsloth/aya-vision-32b-unsloth-bnb-4bit" : (
|
||||
"unsloth/aya-vision-32b",
|
||||
"CohereForAI/aya-vision-32b",
|
||||
"unsloth/aya-vision-32b-bnb-4bit",
|
||||
),
|
||||
"unsloth/aya-vision-8b-unsloth-bnb-4bit" : (
|
||||
"unsloth/aya-vision-8b",
|
||||
"CohereForAI/aya-vision-8b",
|
||||
"unsloth/aya-vision-8b-bnb-4bit",
|
||||
),
|
||||
"unsloth/granite-vision-3.2-2b-unsloth-bnb-4bit" : (
|
||||
"unsloth/granite-vision-3.2-2b",
|
||||
"ibm-granite/granite-vision-3.2-2b",
|
||||
"unsloth/granite-vision-3.2-2b-bnb-4bit",
|
||||
),
|
||||
"unsloth/OLMo-2-0325-32B-Instruct-unsloth-bnb-4bit" : (
|
||||
"unsloth/OLMo-2-0325-32B-Instruct",
|
||||
"allenai/OLMo-2-0325-32B-Instruct",
|
||||
"unsloth/OLMo-2-0325-32B-Instruct-bnb-4bit",
|
||||
),
|
||||
}
|
||||
|
||||
INT_TO_FLOAT_MAPPER = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue