vllm-project / vllm

A high-throughput and memory-efficient inference and serving engine for LLMs
https://docs.vllm.ai
Apache License 2.0
27k stars 3.96k forks source link

[Installation]: pip install -e . #6200

Open Kev1ntan opened 2 months ago

Kev1ntan commented 2 months ago

Your current environment

PyTorch version: 2.3.1+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 24.04 LTS (x86_64)
GCC version: (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.39

Python version: 3.12.3 (main, Apr 10 2024, 05:33:47) [GCC 13.2.0] (64-bit runtime)
Python platform: Linux-6.8.0-36-generic-x86_64-with-glibc2.39
Is CUDA available: True
CUDA runtime version: 12.5.82
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3090
Nvidia driver version: 555.42.06
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        39 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               16
On-line CPU(s) list:                  0-15
Vendor ID:                            GenuineIntel
Model name:                           Intel(R) Core(TM) i5-14400F
CPU family:                           6
Model:                                183
Thread(s) per core:                   2
Core(s) per socket:                   10
Socket(s):                            1
Stepping:                             1
CPU(s) scaling MHz:                   59%
CPU max MHz:                          4700.0000
CPU min MHz:                          800.0000
BogoMIPS:                             4992.00
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
Virtualization:                       VT-x
L1d cache:                            416 KiB (10 instances)
L1i cache:                            448 KiB (10 instances)
L2 cache:                             9.5 MiB (7 instances)
L3 cache:                             20 MiB (1 instance)
NUMA node(s):                         1
NUMA node0 CPU(s):                    0-15
Vulnerability Gather data sampling:   Not affected
Vulnerability Itlb multihit:          Not affected
Vulnerability L1tf:                   Not affected
Vulnerability Mds:                    Not affected
Vulnerability Meltdown:               Not affected
Vulnerability Mmio stale data:        Not affected
Vulnerability Reg file data sampling: Mitigation; Clear Register File
Vulnerability Retbleed:               Not affected
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Not affected

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] torch==2.3.1
[pip3] transformers==4.42.3
[conda] Could not collect
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: N/A
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      0-15    0               N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

How you are installing vllm

pip install -e .

Using pip 24.0 from /home/feedloop/.venv/lib/python3.12/site-packages/pip (python 3.12) Obtaining file:///home/feedloop/vllm Running command pip subprocess to install build dependencies Collecting cmake>=3.21 Using cached cmake-3.30.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.1 kB) Collecting ninja Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl.metadata (5.3 kB) Collecting packaging Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB) Collecting setuptools>=49.4.0 Using cached setuptools-70.2.0-py3-none-any.whl.metadata (5.8 kB) Collecting torch==2.3.0 Using cached torch-2.3.0-cp312-cp312-manylinux1_x86_64.whl.metadata (26 kB) Collecting wheel Using cached wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB) Collecting filelock (from torch==2.3.0) Using cached filelock-3.15.4-py3-none-any.whl.metadata (2.9 kB) Collecting typing-extensions>=4.8.0 (from torch==2.3.0) Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB) Collecting sympy (from torch==2.3.0) Using cached sympy-1.12.1-py3-none-any.whl.metadata (12 kB) Collecting networkx (from torch==2.3.0) Using cached networkx-3.3-py3-none-any.whl.metadata (5.1 kB) Collecting jinja2 (from torch==2.3.0) Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) Collecting fsspec (from torch==2.3.0) Using cached fsspec-2024.6.1-py3-none-any.whl.metadata (11 kB) Collecting nvidia-cuda-nvrtc-cu12==12.1.105 (from torch==2.3.0) Using cached nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB) Collecting nvidia-cuda-runtime-cu12==12.1.105 (from torch==2.3.0) Using cached nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB) Collecting nvidia-cuda-cupti-cu12==12.1.105 (from torch==2.3.0) Using cached nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB) Collecting nvidia-cudnn-cu12==8.9.2.26 (from torch==2.3.0) Using cached nvidia_cudnn_cu12-8.9.2.26-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB) Collecting nvidia-cublas-cu12==12.1.3.1 (from torch==2.3.0) Using cached nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB) Collecting nvidia-cufft-cu12==11.0.2.54 (from torch==2.3.0) Using cached nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB) Collecting nvidia-curand-cu12==10.3.2.106 (from torch==2.3.0) Using cached nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB) Collecting nvidia-cusolver-cu12==11.4.5.107 (from torch==2.3.0) Using cached nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB) Collecting nvidia-cusparse-cu12==12.1.0.106 (from torch==2.3.0) Using cached nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB) Collecting nvidia-nccl-cu12==2.20.5 (from torch==2.3.0) Using cached nvidia_nccl_cu12-2.20.5-py3-none-manylinux2014_x86_64.whl.metadata (1.8 kB) Collecting nvidia-nvtx-cu12==12.1.105 (from torch==2.3.0) Using cached nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.7 kB) Collecting nvidia-nvjitlink-cu12 (from nvidia-cusolver-cu12==11.4.5.107->torch==2.3.0) Using cached nvidia_nvjitlink_cu12-12.5.82-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB) Collecting MarkupSafe>=2.0 (from jinja2->torch==2.3.0) Using cached MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB) Collecting mpmath<1.4.0,>=1.1.0 (from sympy->torch==2.3.0) Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB) Using cached torch-2.3.0-cp312-cp312-manylinux1_x86_64.whl (779.1 MB) Using cached nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl (410.6 MB) Using cached nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (14.1 MB) Using cached nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (23.7 MB) Using cached nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (823 kB) Using cached nvidia_cudnn_cu12-8.9.2.26-py3-none-manylinux1_x86_64.whl (731.7 MB) Using cached nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl (121.6 MB) Using cached nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl (56.5 MB) Using cached nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl (124.2 MB) Using cached nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl (196.0 MB) Using cached nvidia_nccl_cu12-2.20.5-py3-none-manylinux2014_x86_64.whl (176.2 MB) Using cached nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (99 kB) Using cached cmake-3.30.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.9 MB) Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl (307 kB) Using cached packaging-24.1-py3-none-any.whl (53 kB) Using cached setuptools-70.2.0-py3-none-any.whl (930 kB) Using cached wheel-0.43.0-py3-none-any.whl (65 kB) Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB) Using cached filelock-3.15.4-py3-none-any.whl (16 kB) Using cached fsspec-2024.6.1-py3-none-any.whl (177 kB) Using cached jinja2-3.1.4-py3-none-any.whl (133 kB) Using cached networkx-3.3-py3-none-any.whl (1.7 MB) Using cached sympy-1.12.1-py3-none-any.whl (5.7 MB) Using cached MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB) Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Using cached nvidia_nvjitlink_cu12-12.5.82-py3-none-manylinux2014_x86_64.whl (21.3 MB) Installing collected packages: ninja, mpmath, wheel, typing-extensions, sympy, setuptools, packaging, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, networkx, MarkupSafe, fsspec, filelock, cmake, nvidia-cusparse-cu12, nvidia-cudnn-cu12, jinja2, nvidia-cusolver-cu12, torch ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. datasets 2.20.0 requires fsspec[http]<=2024.5.0,>=2023.1.0, but you have fsspec 2024.6.1 which is incompatible. Successfully installed MarkupSafe-2.1.5 cmake-3.30.0 filelock-3.15.4 fsspec-2024.6.1 jinja2-3.1.4 mpmath-1.3.0 networkx-3.3 ninja-1.11.1.1 nvidia-cublas-cu12-12.1.3.1 nvidia-cuda-cupti-cu12-12.1.105 nvidia-cuda-nvrtc-cu12-12.1.105 nvidia-cuda-runtime-cu12-12.1.105 nvidia-cudnn-cu12-8.9.2.26 nvidia-cufft-cu12-11.0.2.54 nvidia-curand-cu12-10.3.2.106 nvidia-cusolver-cu12-11.4.5.107 nvidia-cusparse-cu12-12.1.0.106 nvidia-nccl-cu12-2.20.5 nvidia-nvjitlink-cu12-12.5.82 nvidia-nvtx-cu12-12.1.105 packaging-24.1 setuptools-70.2.0 sympy-1.12.1 torch-2.3.0 typing-extensions-4.12.2 wheel-0.43.0 Installing build dependencies ... done Running command Checking if build backend supports build_editable Checking if build backend supports build_editable ... done Running command Getting requirements to build editable running egg_info writing vllm.egg-info/PKG-INFO writing dependency_links to vllm.egg-info/dependency_links.txt writing requirements to vllm.egg-info/requires.txt writing top-level names to vllm.egg-info/top_level.txt reading manifest file 'vllm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'vllm.egg-info/SOURCES.txt' Getting requirements to build editable ... done Running command Preparing editable metadata (pyproject.toml) running dist_info creating /tmp/pip-modern-metadata-8ill7kn7/vllm.egg-info writing /tmp/pip-modern-metadata-8ill7kn7/vllm.egg-info/PKG-INFO writing dependency_links to /tmp/pip-modern-metadata-8ill7kn7/vllm.egg-info/dependency_links.txt writing requirements to /tmp/pip-modern-metadata-8ill7kn7/vllm.egg-info/requires.txt writing top-level names to /tmp/pip-modern-metadata-8ill7kn7/vllm.egg-info/top_level.txt writing manifest file '/tmp/pip-modern-metadata-8ill7kn7/vllm.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-modern-metadata-8ill7kn7/vllm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/tmp/pip-modern-metadata-8ill7kn7/vllm.egg-info/SOURCES.txt' creating '/tmp/pip-modern-metadata-8ill7kn7/vllm-0.5.1+cu125.dist-info' Preparing editable metadata (pyproject.toml) ... done Collecting cmake>=3.21 (from vllm==0.5.1+cu125) Obtaining dependency information for cmake>=3.21 from https://files.pythonhosted.org/packages/f9/2e/4f04db5517547aea3cf7dc59c4fef66b2b0e647792babd913b956aa95ceb/cmake-3.30.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Using cached cmake-3.30.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.1 kB) Collecting ninja (from vllm==0.5.1+cu125) Obtaining dependency information for ninja from https://files.pythonhosted.org/packages/6d/92/8d7aebd4430ab5ff65df2bfee6d5745f95c004284db2d8ca76dcbfd9de47/ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl.metadata Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl.metadata (5.3 kB) Requirement already satisfied: psutil in /home/feedloop/.venv/lib/python3.12/site-packages (from vllm==0.5.1+cu125) (6.0.0) Collecting sentencepiece (from vllm==0.5.1+cu125) Obtaining dependency information for sentencepiece from https://files.pythonhosted.org/packages/4f/d2/18246f43ca730bb81918f87b7e886531eda32d835811ad9f4657c54eee35/sentencepiece-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Using cached sentencepiece-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB) Requirement already satisfied: numpy<2.0.0 in /home/feedloop/.venv/lib/python3.12/site-packages (from vllm==0.5.1+cu125) (1.26.4) Requirement already satisfied: requests in /home/feedloop/.venv/lib/python3.12/site-packages (from vllm==0.5.1+cu125) (2.32.3) Requirement already satisfied: tqdm in /home/feedloop/.venv/lib/python3.12/site-packages (from vllm==0.5.1+cu125) (4.66.4) Collecting py-cpuinfo (from vllm==0.5.1+cu125) Obtaining dependency information for py-cpuinfo from https://files.pythonhosted.org/packages/e0/a9/023730ba63db1e494a271cb018dcd361bd2c917ba7004c3e49d5daf795a2/py_cpuinfo-9.0.0-py3-none-any.whl.metadata Using cached py_cpuinfo-9.0.0-py3-none-any.whl.metadata (794 bytes) Requirement already satisfied: transformers>=4.42.0 in /home/feedloop/.venv/lib/python3.12/site-packages (from vllm==0.5.1+cu125) (4.42.3) Requirement already satisfied: tokenizers>=0.19.1 in /home/feedloop/.venv/lib/python3.12/site-packages (from vllm==0.5.1+cu125) (0.19.1) Requirement already satisfied: fastapi in /home/feedloop/.venv/lib/python3.12/site-packages (from vllm==0.5.1+cu125) (0.111.0) Requirement already satisfied: aiohttp in /home/feedloop/.venv/lib/python3.12/site-packages (from vllm==0.5.1+cu125) (3.9.5) Collecting openai (from vllm==0.5.1+cu125) Obtaining dependency information for openai from https://files.pythonhosted.org/packages/82/60/2ab971a017357bab653035df8ff6e6e625e1d70a8e2e03faed34741750f1/openai-1.35.10-py3-none-any.whl.metadata Using cached openai-1.35.10-py3-none-any.whl.metadata (21 kB) Requirement already satisfied: uvicorn[standard] in /home/feedloop/.venv/lib/python3.12/site-packages (from vllm==0.5.1+cu125) (0.30.1) Requirement already satisfied: pydantic>=2.0 in /home/feedloop/.venv/lib/python3.12/site-packages (from vllm==0.5.1+cu125) (2.8.2) Collecting pillow (from vllm==0.5.1+cu125) Obtaining dependency information for pillow from https://files.pythonhosted.org/packages/55/77/40daddf677897a923d5d33329acd52a2144d54a9644f2a5422c028c6bf2d/pillow-10.4.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata Using cached pillow-10.4.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (9.2 kB) Collecting prometheus-client>=0.18.0 (from vllm==0.5.1+cu125) Obtaining dependency information for prometheus-client>=0.18.0 from https://files.pythonhosted.org/packages/c7/98/745b810d822103adca2df8decd4c0bbe839ba7ad3511af3f0d09692fc0f0/prometheus_client-0.20.0-py3-none-any.whl.metadata Using cached prometheus_client-0.20.0-py3-none-any.whl.metadata (1.8 kB) Collecting prometheus-fastapi-instrumentator>=7.0.0 (from vllm==0.5.1+cu125) Obtaining dependency information for prometheus-fastapi-instrumentator>=7.0.0 from https://files.pythonhosted.org/packages/59/66/2e93a8f56adb51ede41d0ef5f4f0277522acc4adc87937f5457b7b5692a8/prometheus_fastapi_instrumentator-7.0.0-py3-none-any.whl.metadata Using cached prometheus_fastapi_instrumentator-7.0.0-py3-none-any.whl.metadata (13 kB) Collecting tiktoken>=0.6.0 (from vllm==0.5.1+cu125) Obtaining dependency information for tiktoken>=0.6.0 from https://files.pythonhosted.org/packages/50/81/1842a22f15586072280364c2ab1e40835adaf64e42fe80e52aff921ee021/tiktoken-0.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Using cached tiktoken-0.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB) Collecting lm-format-enforcer==0.10.1 (from vllm==0.5.1+cu125) Obtaining dependency information for lm-format-enforcer==0.10.1 from https://files.pythonhosted.org/packages/2d/fd/e21d1f0608da7696746c5d4cdf2f944d714daf63a97def416e0f3c154f98/lm_format_enforcer-0.10.1-py3-none-any.whl.metadata Using cached lm_format_enforcer-0.10.1-py3-none-any.whl.metadata (16 kB) Collecting outlines>=0.0.43 (from vllm==0.5.1+cu125) Obtaining dependency information for outlines>=0.0.43 from https://files.pythonhosted.org/packages/fd/2c/1ce85b81b2f6835720db1fda9f2d4439a69458b119d2ad5fcf7cae573923/outlines-0.0.46-py3-none-any.whl.metadata Using cached outlines-0.0.46-py3-none-any.whl.metadata (15 kB) Requirement already satisfied: typing-extensions in /home/feedloop/.venv/lib/python3.12/site-packages (from vllm==0.5.1+cu125) (4.12.2) Requirement already satisfied: filelock>=3.10.4 in /home/feedloop/.venv/lib/python3.12/site-packages (from vllm==0.5.1+cu125) (3.15.4) Collecting ray>=2.9 (from vllm==0.5.1+cu125) Obtaining dependency information for ray>=2.9 from https://files.pythonhosted.org/packages/59/67/29b36cb8f22fc7420637ea30c9881d5dac0e020ee7a2ff57025a05ffc26c/ray-2.31.0-cp312-cp312-manylinux2014_x86_64.whl.metadata Using cached ray-2.31.0-cp312-cp312-manylinux2014_x86_64.whl.metadata (13 kB) Collecting nvidia-ml-py (from vllm==0.5.1+cu125) Obtaining dependency information for nvidia-ml-py from https://files.pythonhosted.org/packages/50/13/fcc6b604dea9782d69e675b1481af16e9a02c44d1d43819af209b0a1e6bb/nvidia_ml_py-12.555.43-py3-none-any.whl.metadata Using cached nvidia_ml_py-12.555.43-py3-none-any.whl.metadata (8.6 kB) Collecting torch==2.3.0 (from vllm==0.5.1+cu125) Obtaining dependency information for torch==2.3.0 from https://files.pythonhosted.org/packages/51/03/1abad10990c76bee3703857b1617563b241f87d297ee466dbad922b0c308/torch-2.3.0-cp312-cp312-manylinux1_x86_64.whl.metadata Using cached torch-2.3.0-cp312-cp312-manylinux1_x86_64.whl.metadata (26 kB) Collecting torchvision==0.18.0 (from vllm==0.5.1+cu125) Obtaining dependency information for torchvision==0.18.0 from https://files.pythonhosted.org/packages/6d/fe/729256fec03403b0bfdc229d4350936e29020d618f1740009c6a4f995b06/torchvision-0.18.0-cp312-cp312-manylinux1_x86_64.whl.metadata Using cached torchvision-0.18.0-cp312-cp312-manylinux1_x86_64.whl.metadata (6.6 kB) Collecting xformers==0.0.26.post1 (from vllm==0.5.1+cu125) Using cached xformers-0.0.26.post1.tar.gz (4.1 MB) Running command pip subprocess to install build dependencies Collecting setuptools>=40.8.0 Using cached setuptools-70.2.0-py3-none-any.whl.metadata (5.8 kB) Using cached setuptools-70.2.0-py3-none-any.whl (930 kB) Installing collected packages: setuptools Successfully installed setuptools-70.2.0 Installing build dependencies ... done Running command Getting requirements to build wheel Traceback (most recent call last): File "/home/feedloop/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/home/feedloop/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/feedloop/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-fqjbnf17/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-fqjbnf17/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-fqjbnf17/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 497, in run_setup super().run_setup(setup_script=setup_script) File "/tmp/pip-build-env-fqjbnf17/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 313, in run_setup exec(code, locals()) File "", line 23, in ModuleNotFoundError: No module named 'torch' error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. full command: /home/feedloop/.venv/bin/python3 /home/feedloop/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpjdzp7bsh cwd: /tmp/pip-install-j_w5fu6j/xformers_a410e59a64e44f4680a66d17fd87f8a9 Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

rockwotj commented 1 month ago

Seeing this as well..

huangpan2507 commented 1 month ago

+1, the same as me

cybrtooth commented 2 weeks ago

Anyone solved this issue?