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

[Misc]Easier access to the nccl library #4767

Closed
wants to merge 1 commit into from

Conversation

Cyuchuan
Copy link

[Misc]Easier access to the nccl library

When I install vllm-nccl it downloads libnccl.so to home/.config/vllm/cu12/libnccl.so.2.18.1. I like to migrate it to the libs of the conda environment for ease of use in production, so I generally migrate it to the conda lib directory for that. Generally the application will specify LD_LIBRARY_PATH to look for the so file, but originally it only searched for libnccl.so.2 in LD_LIBRARY_PATH, but now it extends LD_LIBRARY_PATH to search for libnccl.so.2* files.

@youkaichao
Copy link
Member

I intentionally avoid the glob search format. It is ambiguous when you have multiple so files in the same directory.

If you want vllm to use a specific nccl library, just set VLLM_NCCL_SO_PATH . This will skip the search.

@youkaichao youkaichao closed this May 13, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants