-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Allow multiple 'local' installs of cuda to be specified #66
Conversation
Is it still draft? I think this should good to go? |
…he local_cuda repository_rule and adding a attribute
It is weird that the CI failure cannot be reproduced on local machine with cuda 11.* |
cuda/extensions.bzl
Outdated
@@ -2,7 +2,28 @@ | |||
|
|||
load("//cuda/private:repositories.bzl", "local_cuda") | |||
|
|||
cuda_toolkit = tag_class(attrs = { | |||
"name": attr.string(doc = "Name for the toolchain repository", default = "local_cuda"), | |||
"toolkit_path": attr.string(doc = "Path to the CUDA SDK"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit, attr is default to mandatory=False
, in this case, local_cuda
will do the detect. We shall add "..., otherwise, automatically detect it blahblah..."
@jsharpe Finally got sometime to figure this one out. The reason is a mixture of CI and you impl. On CI we only installed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
Exposes the
local_cuda
repository_rule to allow additional installs of cuda to be installed as toolchains.e.g.