Open xiaoxiaosuaxuan opened 4 days ago
Error:
running build_py
running build_ext
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type: RelWithDebInfo
-- Target device: cuda
-- Found Python: /home/hang/miniconda3/envs/vllm-v062/bin/python (found version "3.10.15") found components: Interpreter Development.Module Development.SABIModule
-- Found python matching: /home/hang/miniconda3/envs/vllm-v062/bin/python.
-- Found CUDA: /usr/local/cuda-12.1 (found version "12.1")
-- The CUDA compiler identification is NVIDIA 12.0.140
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Found CUDAToolkit: /usr/include (found version "12.0.140")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Caffe2: CUDA detected: 12.1
-- Caffe2: CUDA nvcc is: /usr/local/cuda-12.1/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda-12.1
-- Caffe2: Header version is: 12.1
-- /usr/local/cuda-12.1/lib64/libnvrtc.so shorthash is b51b459d
-- USE_CUDNN is set to 0. Compiling without cuDNN support
-- USE_CUSPARSELT is set to 0. Compiling without cuSPARSELt support
-- Autodetected CUDA architecture(s): 8.6 8.6
-- Added CUDA NVCC flags for: -gencode;arch=compute_86,code=sm_86
CMake Warning at /tmp/pip-build-env-qxkzns9r/overlay/lib/python3.10/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
static library kineto_LIBRARY-NOTFOUND not found.
Call Stack (most recent call first):
/tmp/pip-build-env-qxkzns9r/overlay/lib/python3.10/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:120 (append_torchlib_if_found)
CMakeLists.txt:84 (find_package)
-- Found Torch: /tmp/pip-build-env-qxkzns9r/overlay/lib/python3.10/site-packages/torch/lib/libtorch.so
-- Enabling core extension.
-- CUDA supported arches: 7.0;7.5;8.0;8.6;8.9;9.0
-- CUDA target arches: 86-real
-- CMake Version: 3.30.5
-- CUTLASS 3.5.1
-- CUDART: /usr/local/cuda-12.1/lib64/libcudart.so
-- CUDA Driver: /usr/local/cuda-12.1/lib64/stubs/libcuda.so
-- NVRTC: /usr/local/cuda-12.1/lib64/libnvrtc.so
-- Default Install Location: install
-- Found Python3: /home/hang/miniconda3/envs/vllm-v062/bin/python3.10 (found suitable version "3.10.15", minimum required is "3.5") found components: Interpreter
-- Make cute::tuple be the new standard-layout tuple type
-- CUDA Compilation Architectures: 70;72;75;80;86;87;89;90;90a
-- Enable caching of reference results in conv unit tests
-- Enable rigorous conv problem sizes in conv unit tests
-- Using NVCC flags: --expt-relaxed-constexpr;-DCUTE_USE_PACKED_TUPLE=1;-DCUTLASS_TEST_LEVEL=0;-DCUTLASS_TEST_ENABLE_CACHED_RESULTS=1;-DCUTLASS_CONV_UNIT_TEST_RIGOROUS_SIZE_ENABLED=1;-DCUTLASS_DEBUG_TRACE_LEVEL=0;-Xcompiler=-Wconversion;-Xcompiler=-fno-strict-aliasing;-lineinfo
-- Configuring cublas ...
-- cuBLAS Disabled.
-- Configuring cuBLAS ... done.
-- Machete generation completed successfully.
-- Machete generated sources: /home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_bf16u4.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_bf16u4_impl_part0.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_bf16u4_impl_part1.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_bf16u4b8.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_bf16u4b8_impl_part0.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_bf16u4b8_impl_part1.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_bf16u8.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_bf16u8_impl_part0.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_bf16u8_impl_part1.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_bf16u8b128.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_bf16u8b128_impl_part0.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_bf16u8b128_impl_part1.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_f16u4.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_f16u4_impl_part0.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_f16u4_impl_part1.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_f16u4b8.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_f16u4b8_impl_part0.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_f16u4b8_impl_part1.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_f16u8.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_f16u8_impl_part0.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_f16u8_impl_part1.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_f16u8b128.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_f16u8b128_impl_part0.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_mm_f16u8b128_impl_part1.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_prepack_bf16u4.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_prepack_bf16u4b8.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_prepack_bf16u8.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_prepack_bf16u8b128.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_prepack_f16u4.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_prepack_f16u4b8.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_prepack_f16u8.cu;/home/hang/workdir/os-hw/vllm/csrc/quantization/machete/generated/machete_prepack_f16u8b128.cu
-- Enabling C extension.
-- Enabling moe extension.
-- Build type: RelWithDebInfo
-- Target device: cuda
-- Building vllm-flash-attn inside vLLM. Skipping flag detection and relying on parent build.
-- vllm-flash-attn is available at /tmp/tmp_b9gxugc.build-temp/_deps/vllm-flash-attn-src
-- Configuring done (29.1s)
CMake Warning at /tmp/pip-build-env-qxkzns9r/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.30/Modules/FindPython/Support.cmake:4239 (add_library):
Cannot generate a safe runtime search path for target _core_C because files
in some directories may conflict with libraries in implicit directories:
runtime library [libnvToolsExt.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/usr/local/cuda-12.1/lib64
Some of these libraries may not be found correctly.
Call Stack (most recent call first):
/tmp/pip-build-env-qxkzns9r/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.30/Modules/FindPython.cmake:692 (__Python_add_library)
cmake/utils.cmake:327 (Python_add_library)
CMakeLists.txt:95 (define_gpu_extension_target)
-- Generating done (0.1s)
-- Build files have been written to: /tmp/tmp_b9gxugc.build-temp
[1/137] Building CUDA object CMakeFiles/_C.dir/csrc/cuda_utils_kernels.cu.o
FAILED: CMakeFiles/_C.dir/csrc/cuda_utils_kernels.cu.o
/usr/bin/nvcc -forward-unknown-to-host-compiler -DCUTLASS_ENABLE_DIRECT_CUDA_DRIVER_CALL=1 -DPy_LIMITED_API=3 -DTORCH_EXTENSION_NAME=_C -DUSE_C10D_GLOO -DUSE_C10D_NCCL -DUSE_DISTRIBUTED -DUSE_RPC -DUSE_TENSORPIPE -D_C_EXPORTS -I/home/hang/workdir/os-hw/vllm/csrc -I/tmp/tmp_b9gxugc.build-temp/_deps/cutlass-src/include -isystem /home/hang/miniconda3/envs/vllm-v062/include/python3.10 -isystem /tmp/pip-build-env-qxkzns9r/overlay/lib/python3.10/site-packages/torch/include -isystem /tmp/pip-build-env-qxkzns9r/overlay/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -DONNX_NAMESPACE=onnx_c2 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -O2 -g -DNDEBUG -std=c++17 "--generate-code=arch=compute_86,code=[sm_86]" -Xcompiler=-fPIC --expt-relaxed-constexpr -DENABLE_FP8 --threads=1 -D_GLIBCXX_USE_CXX11_ABI=0 -MD -MT CMakeFiles/_C.dir/csrc/cuda_utils_kernels.cu.o -MF CMakeFiles/_C.dir/csrc/cuda_utils_kernels.cu.o.d -x cu -c /home/hang/workdir/os-hw/vllm/csrc/cuda_utils_kernels.cu -o CMakeFiles/_C.dir/csrc/cuda_utils_kernels.cu.o
/usr/include/x86_64-linux-gnu/bits/stdlib.h(39): error: identifier "__builtin_dynamic_object_size" is undefined
size_t sz = __builtin_dynamic_object_size (__resolved, 1);
^
/usr/include/x86_64-linux-gnu/bits/stdlib.h(67): error: identifier "__builtin_dynamic_object_size" is undefined
return (((__builtin_constant_p (__builtin_dynamic_object_size (__buf, 1)) && (__builtin_dynamic_object_size (__buf, 1)) == (long unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((long unsigned int) (__buflen)) <= ((__builtin_dynamic_object_size (__buf, 1))) / ((sizeof (char))))) && (((long unsigned int) (__buflen)) <= ((__builtin_dynamic_object_size (__buf, 1))) / ((sizeof (char)))))) ? __ptsname_r_alias (__fd, __buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((long unsigned int) (__buflen)) <= (__builtin_dynamic_object_size (__buf, 1)) / (sizeof (char)))) && !(((long unsigned int) (__buflen)) <= (__builtin_dynamic_object_size (__buf, 1)) / (sizeof (char)))) ? __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_dynamic_object_size (__buf, 1)) : __ptsname_r_chk (__fd, __buf, __buflen, __builtin_dynamic_object_size (__buf, 1))))
^
/usr/include/x86_64-linux-gnu/bits/stdlib.h(88): error: identifier "__builtin_dynamic_object_size" is undefined
if (__builtin_dynamic_object_size (__s, 1) != (size_t) -1
^
/usr/include/x86_64-linux-gnu/bits/stdlib.h(123): error: identifier "__builtin_dynamic_object_size" is undefined
return (((__builtin_constant_p (__builtin_dynamic_object_size (__dst, 1)) && (__builtin_dynamic_object_size (__dst, 1)) == (long unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((long unsigned int) (__len)) <= ((__builtin_dynamic_object_size (__dst, 1))) / ((sizeof (wchar_t))))) && (((long unsigned int) (__len)) <= ((__builtin_dynamic_object_size (__dst, 1))) / ((sizeof (wchar_t)))))) ? __mbstowcs_alias (__dst, __src, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((long unsigned int) (__len)) <= (__builtin_dynamic_object_size (__dst, 1)) / (sizeof (wchar_t)))) && !(((long unsigned int) (__len)) <= (__builtin_dynamic_object_size (__dst, 1)) / (sizeof (wchar_t)))) ? __mbstowcs_chk_warn (__dst, __src, __len, (__builtin_dynamic_object_size (__dst, 1)) / (sizeof (wchar_t))) : __mbstowcs_chk (__dst, __src, __len, (__builtin_dynamic_object_size (__dst, 1)) / (sizeof (wchar_t)))))
^
/usr/include/x86_64-linux-gnu/bits/stdlib.h(146): error: identifier "__builtin_dynamic_object_size" is undefined
return (((__builtin_constant_p (__builtin_dynamic_object_size (__dst, 1)) && (__builtin_dynamic_object_size (__dst, 1)) == (long unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((long unsigned int) (__len)) <= ((__builtin_dynamic_object_size (__dst, 1))) / ((sizeof (char))))) && (((long unsigned int) (__len)) <= ((__builtin_dynamic_object_size (__dst, 1))) / ((sizeof (char)))))) ? __wcstombs_alias (__dst, __src, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((long unsigned int) (__len)) <= (__builtin_dynamic_object_size (__dst, 1)) / (sizeof (char)))) && !(((long unsigned int) (__len)) <= (__builtin_dynamic_object_size (__dst, 1)) / (sizeof (char)))) ? __wcstombs_chk_warn (__dst, __src, __len, __builtin_dynamic_object_size (__dst, 1)) : __wcstombs_chk (__dst, __src, __len, __builtin_dynamic_object_size (__dst, 1))))
^
/usr/include/x86_64-linux-gnu/bits/strings_fortified.h(26): error: identifier "__builtin_dynamic_object_size" is undefined
__builtin_dynamic_object_size (__dest, 0));
^
/usr/include/x86_64-linux-gnu/bits/strings_fortified.h(33): error: identifier "__builtin_dynamic_object_size" is undefined
__builtin_dynamic_object_size (__dest, 0));
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(30): error: identifier "__builtin_dynamic_object_size" is undefined
__builtin_dynamic_object_size (__dest, 0));
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(37): error: identifier "__builtin_dynamic_object_size" is undefined
__builtin_dynamic_object_size (__dest, 0));
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(46): error: identifier "__builtin_dynamic_object_size" is undefined
__builtin_dynamic_object_size (__dest, 0));
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(60): error: identifier "__builtin_dynamic_object_size" is undefined
__builtin_dynamic_object_size (__dest, 0));
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(72): error: identifier "__builtin_dynamic_object_size" is undefined
__explicit_bzero_chk (__dest, __len, __builtin_dynamic_object_size (__dest, 0));
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(79): error: identifier "__builtin_dynamic_object_size" is undefined
return __builtin___strcpy_chk (__dest, __src, __builtin_dynamic_object_size (__dest, 1));
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(86): error: identifier "__builtin_dynamic_object_size" is undefined
return __builtin___stpcpy_chk (__dest, __src, __builtin_dynamic_object_size (__dest, 1));
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(96): error: identifier "__builtin_dynamic_object_size" is undefined
__builtin_dynamic_object_size (__dest, 1));
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(105): error: identifier "__builtin_dynamic_object_size" is undefined
__builtin_dynamic_object_size (__dest, 1));
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(130): error: identifier "__builtin_dynamic_object_size" is undefined
return __builtin___strcat_chk (__dest, __src, __builtin_dynamic_object_size (__dest, 1));
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(139): error: identifier "__builtin_dynamic_object_size" is undefined
__builtin_dynamic_object_size (__dest, 1));
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(153): error: identifier "__builtin_dynamic_object_size" is undefined
if (__builtin_dynamic_object_size (__dest, 1) != (size_t) -1
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h(170): error: identifier "__builtin_dynamic_object_size" is undefined
if (__builtin_dynamic_object_size (__dest, 1) != (size_t) -1
^
20 errors detected in the compilation of "/home/hang/workdir/os-hw/vllm/csrc/cuda_utils_kernels.cu".
...
...
...
/usr/include/x86_64-linux-gnu/bits/stdio2.h(198): error: identifier "__builtin_dynamic_object_size" is undefined
size_t sz = __builtin_dynamic_object_size (__s, 1);
^
/usr/include/x86_64-linux-gnu/bits/stdio2.h(210): error: identifier "__builtin_dynamic_object_size" is undefined
size_t sz = __builtin_dynamic_object_size (__ptr, 0);
^
/usr/include/x86_64-linux-gnu/bits/stdio2.h(223): error: identifier "__builtin_dynamic_object_size" is undefined
size_t sz = __builtin_dynamic_object_size (__s, 1);
^
/usr/include/x86_64-linux-gnu/bits/stdio2.h(238): error: identifier "__builtin_dynamic_object_size" is undefined
size_t sz = __builtin_dynamic_object_size (__ptr, 0);
^
49 errors detected in the compilation of "/home/hang/workdir/os-hw/vllm/csrc/moe/marlin_kernels/marlin_moe_kernel_ku4b8.cu".
[95/137] Building CXX object CMakeFiles/_moe_C.dir/csrc/moe/torch_bindings.cpp.o
[96/137] Building CXX object CMakeFiles/_C.dir/csrc/torch_bindings.cpp.o
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 137, in run
self._create_wheel_file(bdist_wheel)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 338, in _create_wheel_file
files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 261, in _run_build_commands
self._run_build_subcommands()
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 288, in _run_build_subcommands
self.run_command(name)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "<string>", line 235, in run
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 98, in run
_build_ext.run(self)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
self.build_extensions()
File "<string>", line 209, in build_extensions
File "/home/hang/miniconda3/envs/vllm-v062/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '-j=96', '--target=_core_C', '--target=_moe_C', '--target=vllm_flash_attn_c', '--target=_C']' returned non-zero exit status 1.
/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py:973: _DebuggingTips: Problem in editable installation.
!!
********************************************************************************
An error happened while installing `vllm` in editable mode.
The following steps are recommended to help debug this problem:
- Try to install the project normally, without using the editable mode.
Does the error still persist?
(If it does, try fixing the problem before attempting the editable mode).
- If you are using binary extensions, make sure you have all OS-level
dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
- Try the latest version of setuptools (maybe the error was already fixed).
- If you (or your project dependencies) are using any setuptools extension
or customization, make sure they support the editable mode.
After following the steps above, if the problem still persists and
you think this is related to how setuptools handles editable installations,
please submit a reproducible example
(see https://stackoverflow.com/help/minimal-reproducible-example) to:
https://github.com/pypa/setuptools/issues
See https://setuptools.pypa.io/en/latest/userguide/development_mode.html for details.
********************************************************************************
!!
cmd_obj.run()
Traceback (most recent call last):
File "/home/hang/miniconda3/envs/vllm-v062/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/hang/miniconda3/envs/vllm-v062/lib/python3.10/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/hang/miniconda3/envs/vllm-v062/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 273, in build_editable
return hook(wheel_directory, config_settings, metadata_directory)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 475, in build_editable
return self._build_with_temp_dir(
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 406, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 319, in run_setup
exec(code, locals())
File "<string>", line 483, in <module>
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 137, in run
self._create_wheel_file(bdist_wheel)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 338, in _create_wheel_file
files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 261, in _run_build_commands
self._run_build_subcommands()
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 288, in _run_build_subcommands
self.run_command(name)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "<string>", line 235, in run
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 98, in run
_build_ext.run(self)
File "/tmp/pip-build-env-8i21mc29/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
self.build_extensions()
File "<string>", line 209, in build_extensions
File "/home/hang/miniconda3/envs/vllm-v062/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '-j=96', '--target=_core_C', '--target=_moe_C', '--target=vllm_flash_attn_c', '--target=_C']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building editable for vllm
Failed to build vllm
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (vllm)
Your current environment
How you are installing vllm