Open parkesorgua opened 4 months ago
Tried pip install -e .
got an error No ROCm runtime is found, using ROCM_HOME='/opt/rocm-6.1.2
, while rocminfo displays Runtime Version: 1.13
Figured out my cpu supports Rocm. Hardcoded rocm in setup.py. Now observing another error Your installed Caffe2 version uses CUDA but I cannot find the CUDA
Figured out my cpu supports Rocm. Hardcoded rocm in setup.py. Now observing another error
Your installed Caffe2 version uses CUDA but I cannot find the CUDA
Encountered the same problem when run VLLM_TARGET_DEVICE=cpu pip install -e .
. Do you have any new progress on this error?
-- The CXX compiler identification is GNU 12.3.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: cpu
-- Target device: 123
-- Found Python: /usr/bin/python3 (found version "3.10.12") found components: Interpreter Development.Module Development.SABIModule
-- Found python matching: /usr/bin/python3.
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
CMake Warning at /tmp/pip-build-env-mn104v5q/overlay/local/lib/python3.10/dist-packages/torch/share/cmake/Caffe2/public/cuda.cmake:31 (message):
Caffe2: CUDA cannot be found. Depending on whether you are building Caffe2
or a Caffe2 dependent library, the next warning / error will give you more
info.
Call Stack (most recent call first):
/tmp/pip-build-env-mn104v5q/overlay/local/lib/python3.10/dist-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:87 (include)
/tmp/pip-build-env-mn104v5q/overlay/local/lib/python3.10/dist-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
CMakeLists.txt:69 (find_package)
CMake Error at /tmp/pip-build-env-mn104v5q/overlay/local/lib/python3.10/dist-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:91 (message):
Your installed Caffe2 version uses CUDA but I cannot find the CUDA
libraries. Please set the proper CUDA prefixes and / or install CUDA.
Call Stack (most recent call first):
/tmp/pip-build-env-mn104v5q/overlay/local/lib/python3.10/dist-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
CMakeLists.txt:69 (find_package)
It is not patched yet. Try docker image.
This issue has been automatically marked as stale because it has not had any activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. Leave a comment if you feel this issue should remain open. Thank you!
still hitting this.
Your current environment
How you are installing vllm
Information about the Issue
I am trying to run small quantized model on my notebook. As I understood to run on CPU building from source required. I have followed instructions on https://docs.vllm.ai/en/latest/getting_started/cpu-installation.html. After running VLLM_TARGET_DEVICE=cpu python setup.py install no binary found in build folder only 3 other folders:
How to build vllm from source to get binary file?
Actual behaviour
3 folders, but no executable
Expected behavior
executable file in build folder