Open Mysnake opened 3 weeks ago
Based on this log
/tmp/pip-build-env-o_ebi3i5/overlay/lib/python3.10/site-packages/torch/_subclasses/functional_tensor.py:258: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.)
it seems you are having problems with a compatible numpy version for pytorch. I would recommend making a fresh virtual environment and installing vLLM from scratch
@mgoin looks like this is the cause:
fatal: not a git repository (or any of the parent directories): .git :56: RuntimeWarning: Failed to get commit hash:
Based on this log
/tmp/pip-build-env-o_ebi3i5/overlay/lib/python3.10/site-packages/torch/_subclasses/functional_tensor.py:258: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.)
it seems you are having problems with a compatible numpy version for pytorch. I would recommend making a fresh virtual environment and installing vLLM from scratch
I seem the same problems on v0.5.5. I create a new conda env, but it still exists.
Based on this log
/tmp/pip-build-env-o_ebi3i5/overlay/lib/python3.10/site-packages/torch/_subclasses/functional_tensor.py:258: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.)
it seems you are having problems with a compatible numpy version for pytorch. I would recommend making a fresh virtual environment and installing vLLM from scratch
I seem the same problems on v0.5.5. I create a new conda env, but it still exists.
I cleaning up existing builds (via python setup.py clean
) and then re-running pip install -e .
works.
Your current environment
Building wheels for collected packages: vllm Building wheel for vllm (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for vllm (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [71 lines of output] /tmp/pip-build-env-o_ebi3i5/overlay/lib/python3.10/site-packages/torch/_subclasses/functional_tensor.py:258: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.) cpu = _conversion_method_template(device=torch.device("cpu")) fatal: not a git repository (or any of the parent directories): .git