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

CUDA_MODULE_LOADING: use default lazy loading #831

Closed
wants to merge 1 commit into from

Conversation

olupton
Copy link
Collaborator

@olupton olupton commented May 17, 2024

Prefer to set fewer magic variables. Eager loading cuDNN/cuBLAS during XLA compilation can also be noticably slow.

This was added in #329

Prefer to set fewer magic variables. Eager loading cuDNN/cuBLAS during
XLA compilation can also be noticably slow.
@DwarKapex
Copy link
Contributor

Does it affect only compilation time? How much do we save on that?
WDYT to simply revert #329?

@olupton
Copy link
Collaborator Author

olupton commented May 21, 2024

Opened #842 with a straight revert.

@olupton olupton closed this May 21, 2024
@olupton olupton deleted the olupton/unset-cuda-module-loading branch May 21, 2024 12:27
olupton added a commit that referenced this pull request Jun 13, 2024
#842)

Prefer to set fewer magic variables.
Note that these values were anyway not used inside e.g. the JAX unit
test environment, so this was a source of inconsistency.
Eager loading cuDNN/cuBLAS during XLA compilation can also be noticeably
slow.
See documentation here:
https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#cuda-environment-variables
Replaces #831. Reverts
#329.

Co-authored-by: ashors1 <ashors@nvidia.com>
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

Successfully merging this pull request may close these issues.

2 participants