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

Are there plans to support NCCL local repository? #307

Closed
MoFHeka opened this issue Dec 31, 2024 · 5 comments
Closed

Are there plans to support NCCL local repository? #307

MoFHeka opened this issue Dec 31, 2024 · 5 comments

Comments

@MoFHeka
Copy link

MoFHeka commented Dec 31, 2024

NCCL is usually installed along with CUDA as a base library, and it is convenient to have a rule.

@cloudhan
Copy link
Collaborator

See this example https://github.com/bazel-contrib/rules_cuda/tree/main/examples/nccl you can copy them to you repo.

@MoFHeka
Copy link
Author

MoFHeka commented Dec 31, 2024 via email

@cloudhan
Copy link
Collaborator

Nope, this repo will only include cudax library.

@MoFHeka
Copy link
Author

MoFHeka commented Jan 2, 2025

A lite version of bazel local installed NCCL
https://github.com/MoFHeka/rules_nccl

@cloudhan
Copy link
Collaborator

cloudhan commented Jan 3, 2025

I actually have some ideas on repo injection, for cudnn or nccl, etc. In currently wip hermetic toolchain, it is actually very easy to expose repo to targets mapping via a key-value pair in a dict. I might design some mechanism to customize the process for users to

  • inject a BUILD file to setup a repo
  • map targets in that BUILD file to local_cuda repo.

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

2 participants