Skip to content

Enhance GPU bfloat16 support check #183

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

Merged
merged 1 commit into from
Jul 24, 2023
Merged

Conversation

AlpinDale
Copy link
Contributor

This PR updates the existing code to check GPU support for bfloat16 using torch.cuda.is_bf16_supported() function, which returns a boolean value. This should provide a more robust approach than using torch.cuda.get_device_capability().

@artidoro
Copy link
Owner

Thank you!

@artidoro artidoro merged commit 7f4e95a into artidoro:main Jul 24, 2023
@AlpinDale AlpinDale deleted the patch-2 branch August 16, 2023 04:21
LagPixelLOL pushed a commit to LagPixelLOL/qlora that referenced this pull request Feb 8, 2024
Enhance GPU `bfloat16` support check
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