Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am unable to build the vLLM Container #142

Open
AMGI-Pipeline opened this issue Mar 27, 2024 · 4 comments
Open

I am unable to build the vLLM Container #142

AMGI-Pipeline opened this issue Mar 27, 2024 · 4 comments

Comments

@AMGI-Pipeline
Copy link

I am unable to build the vLLM Container. I am getting these errors:

252.2 Building wheels for collected packages: vllm
252.2   Building wheel for vllm (pyproject.toml): started
313.8   Building wheel for vllm (pyproject.toml): still running...
551.9   Building wheel for vllm (pyproject.toml): still running...
774.4   Building wheel for vllm (pyproject.toml): still running...
936.1   Building wheel for vllm (pyproject.toml): still running...
983.2   Building wheel for vllm (pyproject.toml): finished with status 'error'
983.6   error: subprocess-exited-with-error
983.6
983.6   × Building wheel for vllm (pyproject.toml) did not run successfully.
983.6   │ exit code: 1
983.6   ╰─> [983 lines of output]
983.6       /tmp/pip-build-env-rt38cp4x/overlay/local/lib/python3.10/dist-packages/torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.)
983.6         device: torch.device = torch.device(torch._C._get_default_device()),  # torch.device('cpu'),
.
.
.
983.6         File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
983.6           raise CalledProcessError(retcode, cmd)
983.6       subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', '_C', '-j', '32']' returned non-zero exit status 1.
983.6       [end of output]
983.6
983.6   note: This error originates from a subprocess, and is likely not a problem with pip.
983.6   ERROR: Failed building wheel for vllm
983.6 Failed to build vllm
983.6 ERROR: Could not build wheels for vllm, which is required to install pyproject.toml-based projects
------

Any ideas what is going on?

Any help is greatly apprecated!

@vipulg13
Copy link

vipulg13 commented Apr 2, 2024

I am also getting the same error. Does anybody have any ideas what is causing this?

@AMGI-Pipeline
Copy link
Author

Until this is fixed, I am pulling the pre-built container from the registry as documented here.

@vipulg13
Copy link

vipulg13 commented Apr 4, 2024

@AMGI-Pipeline after downgrading the CUDA version from 12.3 to 12.1 the build is successful. However, I am dealing now with the following error while creating a container:

ImportError: cannot import name 'model_validator' from 'pydantic'

@nathan-pugh-fsn
Copy link

system level import file location is probably in the wrong place…check config files for CUDA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants