Update __init__.py

This commit is contained in:
Daniel Han 2025-07-10 07:03:28 -07:00
commit 2efbe7b738

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.2"):
if Version(unsloth_zoo_version) < Version("2025.7.1"):
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`"