versioning

This commit is contained in:
Daniel Han 2025-07-10 07:01:44 -07:00
commit ee93391155
2 changed files with 6 additions and 1 deletions

View file

@ -222,7 +222,7 @@ elif DEVICE_TYPE == "xpu":
# Check for unsloth_zoo
try:
unsloth_zoo_version = importlib_version("unsloth_zoo")
if Version(unsloth_zoo_version) < Version("2025.7.1"):
if Version(unsloth_zoo_version) < Version("2025.7.2"):
print(
"Unsloth: Please update Unsloth and Unsloth-Zoo to the latest version!\n"\
"Do this via `pip install --upgrade --force-reinstall --no-cache-dir --no-deps unsloth unsloth_zoo`"

View file

@ -899,6 +899,11 @@ __INT_TO_FLOAT_MAPPER = \
"google/gemma-3n-E2B",
"unsloth/gemma-3n-E2B-unsloth-bnb-4bit",
),
"unsloth/Devstral-Small-2507-unsloth-bnb-4bit" : (
"unsloth/Devstral-Small-2507",
"mistralai/Devstral-Small-2507",
"unsloth/Devstral-Small-2507-bnb-4bit",
),
}
INT_TO_FLOAT_MAPPER = {}