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

[Core] Add integrity check during initialization; add test for it #4155

Merged
merged 10 commits into from
Apr 18, 2024

Conversation

youkaichao
Copy link
Member

As we move to vllm-managed nccl, users have reported incompletely downloaded nccl library due to network issues. This will lead to core dump, and is not easy to debug. See #3916 .

This PR adds integrity check during initialization, in another process by os.system . If the process crashes, we will know and give warnings to users.

In addition, this PR adds tests for the corruption and environment variable to set the library path.

vllm/utils.py Outdated Show resolved Hide resolved
@youkaichao youkaichao merged commit 6dc1fc9 into vllm-project:main Apr 18, 2024
46 checks passed
@youkaichao youkaichao deleted the nccl_integrity_check branch April 18, 2024 05:28
robertgshaw2-neuralmagic pushed a commit to neuralmagic/nm-vllm that referenced this pull request Apr 21, 2024
[Core] Add integrity check during initialization; add test for it (vllm-project#4155)
z103cb pushed a commit to z103cb/opendatahub_vllm that referenced this pull request Apr 22, 2024
[Core] Add integrity check during initialization; add test for it (vllm-project#4155)
robertgshaw2-neuralmagic pushed a commit to neuralmagic/nm-vllm that referenced this pull request Apr 26, 2024
[Core] Add integrity check during initialization; add test for it (vllm-project#4155)
alexeykondrat pushed a commit to alexeykondrat/ci-vllm that referenced this pull request May 1, 2024
[Core] Add integrity check during initialization; add test for it (vllm-project#4155)
Temirulan pushed a commit to Temirulan/vllm-whisper that referenced this pull request Sep 6, 2024
[Core] Add integrity check during initialization; add test for it (vllm-project#4155)
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.

2 participants