-
Notifications
You must be signed in to change notification settings - Fork 24.1k
set CUDA_MODULE_LOADING for older drivers only #152695
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/152695
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 New FailureAs of commit 822da20 with merge base 50d4698 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
c10/cuda/driver_api.h
Outdated
_(nvmlDeviceGetComputeRunningProcesses)\ | ||
_(nvmlSystemGetCudaDriverVersion_v2) |
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.
_(nvmlDeviceGetComputeRunningProcesses)\ | |
_(nvmlSystemGetCudaDriverVersion_v2) | |
#if defined(CUDA_VERSION) && !defined(USE_ROCM) | |
_(nvmlDeviceGetComputeRunningProcesses)\ | |
#endif | |
_(nvmlSystemGetCudaDriverVersion_v2) |
@atalman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
CUDA_MODULE_LOADING=LAZY
is the default for all drivers shipped with CUDA >=12.2 and we should check the driver version before setting the env variable.(the
LOG(WARNING)
has to be removed before merging)cc @msaroufim @eqy @jerryzh168