-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[Installation]: GitHub access required during install for vllm >=0.4.1 (for cu12-libnccl.so.2.18.1) #4360
Comments
You can download it from https://github.com/vllm-project/vllm-nccl/releases/tag/v0.1.0. Then place it in '/home/username/.config/vllm/nccl/cu12' and rename it as "libnccl.so.2.18.1" . |
Unless either NVIDIA/nccl#1234 or pypi/support#3792 is resolved, we have no choice but to bring libnccl.so this way. Sorry for the trouble. This is not what I want, either. |
Fair enough, thanks guys 🙏 fingers crossed one of those comes through! |
Out of curiosity, why not depend on |
Because pytorch already requires |
@youkaichao Is this problem solved? |
yes, it is not required now after #5091 , starting in v0.4.3. |
Your current environment
Current environment has no internet access. Using a local pypi mirror to install packages. Using the CUDA version of vllm on an Nvidia A10.
How you are installing vllm
Using a local pypi mirror to install packages in an environment without internet access.
The following works:
The following does not work:
The install process errors out when running the setup.py, which is expected in this scenario as the environment does not have internet access to be able to pull a file from github.
From looking at the diff vs version 0.4.0.post1 I can see that 0.4.1 has a new requirements-cuda.txt which adds
vllm-nccl-cu12>=2.18,<2.19
I think the code erroring out is vllm-nccl setup.py which is attempting to grab stuff from github.
From my point of view it would be amazing if there was a way to install vllm using only files from pypi (or a pypi mirror).
I think I might be able to work around this by fetching the file outside of the installation process and setting the
VLLM_NCCL_SO_PATH
env var to its location, but I don't think the vllm-nccl setup.py knows to check this, so would still fail on install unless I am able to put the .so file in the user's home directory ahead of time, or find a way to skip attempting to install vllm-nccl.The text was updated successfully, but these errors were encountered: