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

Reapply with fix "Add comments to _is_available and raise exceptions … #6143

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

frgossen
Copy link
Collaborator

…in unimple… (#6141)

This reverts commit ddc2e34.

Use is_xla_device_available to check CUDA device.

@frgossen frgossen requested a review from cota December 13, 2023 22:13
return False

# Check accelerator contraints.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
# Check accelerator contraints.
# Check accelerator constraints.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@frgossen frgossen force-pushed the frg-bm-e-is-available branch 2 times, most recently from b324d4e to a9d1b76 Compare December 14, 2023 18:42
…in unimple… (#6141)

This reverts commit ddc2e34.

Use `is_xla_device_available` to check CUDA device.
@frgossen frgossen force-pushed the frg-bm-e-is-available branch from a9d1b76 to d2abd29 Compare December 14, 2023 18:42
@frgossen frgossen merged commit f9dc824 into master Dec 14, 2023
20 checks passed
@frgossen frgossen deleted the frg-bm-e-is-available branch December 14, 2023 21:43
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