[Installation]: Cannot install vllm due to xformers: ERROR: Failed building wheel for xformers fatal: Not a git repository (or any parent up to mount point /scratch) assert len(sources) > 0 AssertionError #17015
Labels
installation
Installation problems
Hi all,
I am pip installing the latest vllm, 0.8.4.
CUDA: 12.4
torch: 2.6.0
Python: 3.12.1
python collect_env.py
Traceback (most recent call last):
File "/program/ms-swift/collect_env.py", line 17, in
from vllm.envs import environment_variables
ModuleNotFoundError: No module named 'vllm'
I got several errors:
ERROR: Failed building wheel for xformers
fatal: Not a git repository (or any parent up to mount point /scratch)
assert len(sources) > 0 AssertionError
Error logs:
(myvenv_msswift) [data@sh1 /program//ms-swift] $ pip install xformers
Collecting xformers
Using cached xformers-0.0.29.post3.tar.gz (8.5 MB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: xformers
Building wheel for xformers (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [257 lines of output]
fatal: Not a git repository (or any parent up to mount point /scratch)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
/program//myvenv_msswift/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for xformers
Running setup.py clean for xformers
Failed to build xformers
ERROR: Failed to build installable wheels for some pyproject.toml based projects (xformers)
How you are installing vllm
I am running pip install vllm.
Before submitting a new issue...
The text was updated successfully, but these errors were encountered: