-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Your current environment
os:win10
python:3.12.10
CUDA:12.8
GPU:3060
pytorch:2.10.0
How you are installing vllm
set DISTUTILS_USE_SDK=1
set VLLM_TARGET_DEVICE=cuda
set MAX_JOBS=4
set USE_CUDNN=1
set CUDNN_LIBRARY_PATH=D:\xx..\tmp\cuda\v9.17\lib\13.1\x64
set CUDNN_INCLUDE_PATH=D:\xx..\tmp\cuda\v9.17\include\13.1
set USE_CUDSS=1
set CUDSS_LIBRARY_PATH=D:\xx..\tmp\cuda\v0.7\lib\12
set CUDSS_INCLUDE_PATH=D:\xx..\tmp\cuda\v0.7\include
set USE_CUSPARSELT=1
set CUSPARSELT_INCLUDE_PATH=D:\xx..\tmp\cuda\v0.8\include
set CUSPARSELT_LIBRARY_PATH=D:\xx..\tmp\cuda\v0.8\lib
python use_existing_torch.py
pip install -r requirements/build.txt
pip install -r requirements/windows.txt
set TORCH_CUDA_ARCH_LIST=8.6
pip install . --no-build-isolation -v
【Note: D:/xx/../.venv is the environment created for the local uv】
ninja: build stopped: subcommand failed.
[stderr]
D:\xx...venv\Lib\site-packages\setuptools_scm_integration\version_inference.py:51: UserWarning: version of None already set
warnings.warn(self.message)
CMake Warning at D:/xx/../.venv/Lib/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:149 (message):
Failed to compute shorthash for libnvrtc.so
Call Stack (most recent call first):
D:/xx/../.venv/Lib/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:86 (include)
D:/xx/../.venv/Lib/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
CMakeLists.txt:90 (find_package)
CMake Warning at D:/xx/../.venv/Lib/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:332 (message):
pytorch is not compatible with CMAKE_CUDA_ARCHITECTURES and will ignore
its value. Please configure TORCH_CUDA_ARCH_LIST instead.
Call Stack (most recent call first):
D:/xx/../.venv/Lib/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:86 (include)
D:/xx/../.venv/Lib/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
CMakeLists.txt:90 (find_package)
CMake Warning at D:/xx/../.venv/Lib/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
static library kineto_LIBRARY-NOTFOUND not found.
Call Stack (most recent call first):
D:/xx/../.venv/Lib/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:125 (append_torchlib_if_found)
CMakeLists.txt:90 (find_package)
CMake Warning (dev) at cmake/external_projects/flashmla.cmake:52 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:1179 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at D:/xx/../.venv/Lib/site-packages/cmake/data/share/cmake-4.2/Modules/FetchContent.cmake:1963 (message):
Calling FetchContent_Populate(qutlass) is deprecated, call
FetchContent_MakeAvailable(qutlass) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(qutlass) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
cmake/external_projects/qutlass.cmake:27 (FetchContent_Populate)
CMakeLists.txt:1180 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning at .deps/vllm-flash-attn-src/CMakeLists.txt:77 (message):
Pytorch version 2.4.0 expected for CUDA build, saw 2.10.0 instead.
CMake Warning (dev) at cmake/external_projects/vllm_flash_attn.cmake:66 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:1183 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning:
Manually-specified variables were not used by the project:
nvtx3_dir
Traceback (most recent call last):
File "", line 11, in
File "D:\xx...venv\Lib\site-packages\setuptools\build_meta.py", line 439, in build_wheel
return _build(['bdist_wheel', '--dist-info-dir', str(metadata_directory)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\xx...venv\Lib\site-packages\setuptools\build_meta.py", line 427, in _build
return self._build_with_temp_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\xx...venv\Lib\site-packages\setuptools\build_meta.py", line 408, in build_with_temp_dir
self.run_setup()
File "D:\xx...venv\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup
exec(code, locals())
File "", line 1122, in
File "D:\xx...venv\Lib\site-packages\setuptools_init.py", line 117, in setup
return distutils.core.setup(**attrs) # type: ignore[return-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\xx...venv\Lib\site-packages\setuptools_distutils\core.py", line 186, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "D:\xx...venv\Lib\site-packages\setuptools_distutils\core.py", line 202, in run_commands
dist.run_commands()
File "D:\xx...venv\Lib\site-packages\setuptools_distutils\dist.py", line 1002, in run_commands
self.run_command(cmd)
File "D:\xx...venv\Lib\site-packages\setuptools\dist.py", line 1107, in run_command
super().run_command(command)
File "D:\xx...venv\Lib\site-packages\setuptools_distutils\dist.py", line 1021, in run_command
cmd_obj.run()
File "D:\xx...venv\Lib\site-packages\setuptools\command\bdist_wheel.py", line 370, in run
self.run_command("build")
File "D:\xx...venv\Lib\site-packages\setuptools_distutils\cmd.py", line 357, in run_command
self.distribution.run_command(command)
File "D:\xx...venv\Lib\site-packages\setuptools\dist.py", line 1107, in run_command
super().run_command(command)
File "D:\xx...venv\Lib\site-packages\setuptools_distutils\dist.py", line 1021, in run_command
cmd_obj.run()
File "D:\xx...venv\Lib\site-packages\setuptools_distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "D:\xx...venv\Lib\site-packages\setuptools_distutils\cmd.py", line 357, in run_command
self.distribution.run_command(command)
File "D:\xx...venv\Lib\site-packages\setuptools\dist.py", line 1107, in run_command
super().run_command(command)
File "D:\xx...venv\Lib\site-packages\setuptools_distutils\dist.py", line 1021, in run_command
cmd_obj.run()
File "", line 447, in run
File "D:\xx...venv\Lib\site-packages\setuptools\command\build_ext.py", line 97, in run
_build_ext.run(self)
File "D:\xx...venv\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 368, in run
self.build_extensions()
File "", line 416, in build_extensions
File "D:\xx...venv\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '-j=4', '--target=_moe_C', '--target=cumem_allocator', '--target=triton_kernels', '--target=_vllm_fa2_C', '--target=_C']' returned non-zero exit status 2.
hint: This usually indicates a problem with the package or the build environment.
Before submitting a new issue...
- Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.