Skip to content

0.0.34 claims to support PyTorch>=2.10 but it doesn't? #1374

@levicki

Description

@levicki

Release notes say:

Pre-built binary wheels are available for PyTorch 2.10.0 (and later).

However:

(venv) d:\AI\ComfyUI>pip install xformers==0.0.34
Collecting xformers==0.0.34
  Using cached xformers-0.0.34-cp39-abi3-win_amd64.whl.metadata (1.0 kB)
Requirement already satisfied: numpy in d:\ai\comfyui\venv\lib\site-packages (from xformers==0.0.34) (2.4.0)
INFO: pip is looking at multiple versions of xformers to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install xformers==0.0.34 because these package versions have conflicting dependencies.

The conflict is caused by:
    xformers 0.0.34 depends on torch==2.10.0
    The user requested (constraint) torch==2.11.0.dev20260124+cu130

Additionally, some packages in these conflicts have no matching distributions available for your environment:
    torch

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

My environment is Python 3.14.2, Windows 10 x64.

Note that the same error happens if I explicitly use pip install xformers==0.0.34 --index-url https://download.pytorch.org/whl/cu130.

Finally, if I install xformers and torch 2.10+cu130 I am still missing triton:

pytorch version: 2.10.0+cu130
A matching Triton is not available, some optimizations will not be enabled
Traceback (most recent call last):
  File "d:\AI\ComfyUI\venv\Lib\site-packages\xformers\__init__.py", line 57, in _is_triton_available
    import triton  # noqa
    ^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'triton'
xformers version: 0.0.34

I have tried building xformers with CUDA 13.0/13.1 myself but as I reported earlier the build is broken in the sense that with CUDA 13.x it doesn't seem to produce any triton related code in the wheel. Maybe that's on purpose and maybe it was announced somewhere but if so I am not aware of it. Would be nice to get a clarification.

Please advise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions