From ee93391155a8532d746bb7a822a37dae1d4b4189 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 10 Jul 2025 07:01:44 -0700 Subject: [PATCH] versioning --- unsloth/__init__.py | 2 +- unsloth/models/mapper.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/unsloth/__init__.py b/unsloth/__init__.py index e965b2959e..7e735fc4ff 100644 --- a/unsloth/__init__.py +++ b/unsloth/__init__.py @@ -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`" diff --git a/unsloth/models/mapper.py b/unsloth/models/mapper.py index 62259841c5..f559c6c01e 100644 --- a/unsloth/models/mapper.py +++ b/unsloth/models/mapper.py @@ -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 = {}