feat: Update build.py to skip libnvshmem3-cuda-13 for cpu only build. #8528
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does the PR do?
Checklist
Agreement
<commit_type>: <Title>pre-commit install, pre-commit run --all)Commit Type:
Check the conventional commit type
box here and add the label to the github PR.
Related PRs:
#8329
Where should the reviewer start?
Test plan:
Used below commands to create triton server docker instance and starting up the triton server:
1.sudo docker run --privileged -it -p8000:8000 --volume /model_repository:/var/models --name triton_server_test tritonserver
2../bin/tritonserver --model-repository=/var/models
Tested the simple identity model using below commands in a different session:
1.curl -X POST localhost:8000/v2/repository/index | jq
2.curl localhost:8000/v2/models/simple_identity | jq
Caveats:
Background
Hi @whoisj , as mentioned in #8329 (comment), this PR adds changes to skip the
libnvshmem3-cuda-13library for cpu only build.Please review/merge this PR.
Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)