Skip to content

[Bug] unsloth_zoo version mismatch(xpu) #5494

Closed

Description

@fablevi

after new pr:

commit
pr1
pr2

install command

UV_SKIP_WHEEL_FILENAME_CHECK=1 uv pip install -e .[intelgputorch2120] --force-reinstall

pip list

Package               Version     Editable project location
--------------------- ----------- -------------------------
accelerate            1.13.0
aiohappyeyeballs      2.6.1
aiohttp               3.13.5
aiosignal             1.4.0
annotated-doc         0.0.4
annotated-types       0.7.0
anyio                 4.13.0
attrs                 26.1.0
bitsandbytes          0.50.0.dev0
certifi               2026.4.22
charset-normalizer    3.4.7
click                 8.3.3
cut-cross-entropy     25.1.1
datasets              4.3.0
diffusers             0.37.1
dill                  0.4.0
docstring_parser      0.18.0
dpcpp-cpp-rt          2025.3.2
filelock              3.29.0
frozenlist            1.8.0
fsspec                2025.9.0
h11                   0.16.0
hf_transfer           0.1.9
hf-xet                1.5.0
httpcore              1.0.9
httpx                 0.28.1
huggingface_hub       1.15.0
idna                  3.15
impi-rt               2021.17.2
importlib_metadata    9.0.0
intel-cmplr-lib-rt    2025.3.2
intel-cmplr-lib-ur    2025.3.2
intel-cmplr-lic-rt    2025.3.2
intel-opencl-rt       2025.3.2
intel-openmp          2025.3.2
intel-pti             0.16.0
intel-sycl-rt         2025.3.2
Jinja2                3.1.6
joblib                1.5.3
markdown-it-py        4.2.0
MarkupSafe            3.0.3
mdurl                 0.1.2
mkl                   2025.3.1
mpmath                1.3.0
msgspec               0.21.1
multidict             6.7.1
multiprocess          0.70.16
nest-asyncio          1.6.0
networkx              3.6.1
numpy                 2.4.5
oneccl                2021.17.2
oneccl-devel          2021.17.2
onemkl-license        2025.3.1
onemkl-sycl-blas      2025.3.1
onemkl-sycl-dft       2025.3.1
onemkl-sycl-lapack    2025.3.1
onemkl-sycl-rng       2025.3.1
onemkl-sycl-sparse    2025.3.1
packaging             26.2
pandas                3.0.3
peft                  0.19.1
pillow                12.2.0
pip                   25.1.1
propcache             0.5.2
protobuf              7.34.1
psutil                7.2.2
pyarrow               24.0.0
pydantic              2.13.4
pydantic_core         2.46.4
pyelftools            0.32
Pygments              2.20.0
python-dateutil       2.9.0.post0
PyYAML                6.0.3
regex                 2026.5.9
requests              2.34.2
rich                  15.0.0
safetensors           0.7.0
scikit-learn          1.8.0
scipy                 1.17.1
sentence-transformers 5.5.0
sentencepiece         0.2.1
setuptools            81.0.0
shellingham           1.5.4
six                   1.17.0
sympy                 1.14.0
tbb                   2022.3.1
tcmlib                1.4.1
threadpoolctl         3.6.0
tokenizers            0.22.2
torch                 2.12.0+xpu
torchao               0.17.0
torchvision           0.27.0+xpu
tqdm                  4.67.3
transformers          5.3.0
triton                3.7.0
triton-xpu            3.7.1
trl                   0.24.0
typeguard             4.5.2
typer                 0.25.1
typing_extensions     4.15.0
typing-inspection     0.4.2
tyro                  1.0.13
umf                   1.0.3
unsloth               2026.5.2    /home/fablevi/git/unsloth
unsloth_zoo           2026.3.6
urllib3               2.7.0
wheel                 0.47.0
xxhash                3.7.0
yarl                  1.23.0
zipp                  3.23.1

manual fix:

UV_SKIP_WHEEL_FILENAME_CHECK=1 uv pip install -e .[intelgputorch2120] --force-reinstall
uv pip install --upgrade --no-deps unsloth_zoo

Activity

  1. danielhanchen commented on May 17, 2026

    @danielhanchen
    Member

    Diagnosed and fixing in two parts:

    1. deps: bump torch upper cap to <2.13.0 (allow xpu 2.11.0 / 2.12.0) unsloth-zoo#658 (merged). unsloth_zoo's base deps were capping torch<2.11.0, which silently forced the resolver onto a stale unsloth_zoo (the 2026.3.6 you saw) once the intel-gpu-torch2110 / 2120 extras started pinning newer torch wheels. That PR relaxes the cap to <2.13.0 and bumps unsloth_zoo to 2026.5.2.

    2. intel-gpu: pin unsloth_zoo>=2026.5.2 (fixes #5494) #5499 (draft, this repo). Adds unsloth_zoo>=2026.5.2 to the huggingfacenotorch extra, which every intel-gpu-torch* block includes. Single line, single source of truth. Held in draft until 2026.5.2 lands on PyPI so CI can resolve the graph cleanly.

    Once 2026.5.2 is published to PyPI, pip install -e .[intelgputorch2120] --force-reinstall will pick unsloth_zoo 2026.5.2 directly. The uv pip install --upgrade --no-deps unsloth_zoo workaround you used will no longer be necessary.

  2. added a commit that references this issue on May 17, 2026
    e20bbef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions