[cudnn] auto-download only if cuda version matches#16413
[cudnn] auto-download only if cuda version matches#16413strega-nil merged 8 commits intomicrosoft:masterfrom
Conversation
2c7b8dd to
9bfec00
Compare
|
Ready for review now? |
|
yes |
|
@cenit This is great - I tried to get this to work but couldn't. This looks much better. Thanks for the change! I'll close my other PR. |
I didn't propagate similar changes to nccl. After this PR is merged if you're in a hurry you will be quicker than me doing that for sure |
| ENV CUDA_BIN_PATH | ||
| ENV CUDA_PATH_V11_0 | ||
| ENV CUDA_PATH_V10_2 | ||
| ENV CUDA_PATH_V10_1) |
There was a problem hiding this comment.
Why remove these paths?
There was a problem hiding this comment.
a working cuda installation should have CUDA_PATH set up AFAIK.
Those variables just show up for each installed version (might even be all of them on a system) but do not express the user choice between them if multiple are available, which is done with the single CUDA_PATH.
Also, i'd lower the minimum cuda version we require, since it's not strictly installed by us (on the contrary, in this case we should support the broadest possible range of version, right?)
There was a problem hiding this comment.
@ras0219 these paths aren't standard and are version-specific. I'm unaware of any environment in which these paths are set. CUDA_PATH or CUDA_HOME is standard across many versions of CUDA.
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Sounds good. I'll send a PR for NCCL once this PR is merged. |
|
any reason this is still unmerged? |
|
@strega-nil Ping for review and merge this PR. |
supersedes #16031 ?
@jacobkahn this is what I meant. Let me know if it works for you. Sorry just found some time only now