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

Added check for CUDA device compute capability #19808

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

Micky774
Copy link
Collaborator

Closes #993

This PR adds a runtime checks for the compute capability of all visible CUDA devices. If any device has a compute capability that is unsupported, a RuntimeWarning is issued.

@Micky774 Micky774 force-pushed the cc_check branch 2 times, most recently from 4cffd2f to 0e286ea Compare February 19, 2024 17:52
@superbobry superbobry self-assigned this Feb 19, 2024
jax/_src/xla_bridge.py Outdated Show resolved Hide resolved
jax/_src/xla_bridge.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@superbobry superbobry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

jax/_src/xla_bridge.py Outdated Show resolved Hide resolved
@google-ml-butler google-ml-butler bot added kokoro:force-run pull ready Ready for copybara import and testing labels Feb 19, 2024
jax/_src/xla_bridge.py Outdated Show resolved Hide resolved
jax/_src/xla_bridge.py Outdated Show resolved Hide resolved
@Micky774
Copy link
Collaborator Author

Micky774 commented Mar 3, 2024

@hawkinsp should be ready for review

@copybara-service copybara-service bot merged commit 81363ce into jax-ml:main Mar 4, 2024
9 checks passed
@Micky774 Micky774 deleted the cc_check branch March 4, 2024 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warn if a GPU is detected but it is too old to be supported by XLA
4 participants