Skip to content

Conversation

@stas00
Copy link
Contributor

@stas00 stas00 commented Jun 16, 2022

This is a follow up to #17734 where @pacman100 discovered that the IPEX PR made is_torch_bf16_available ambiguous, as it went from gpu-only checks to cpu or gpu which is undefined behavior.

So this PR deprecates this function in favor of the very specific is_torch_bf16_gpu_available and is_torch_bf16_cpu_available that were added in #17734

@sgugger

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jun 16, 2022

The documentation is not available anymore as the PR was closed or merged.

@stas00 stas00 requested a review from sgugger June 17, 2022 15:06
Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

Great, thanks a lot for splitting things up like this!

@stas00
Copy link
Contributor Author

stas00 commented Jun 18, 2022

does it look good now, Sylvain?

@sgugger
Copy link
Collaborator

sgugger commented Jun 20, 2022

Yes, all good :-) Thanks again!

@sgugger sgugger merged commit a2d34b7 into main Jun 20, 2022
@sgugger sgugger deleted the bf16_cpu branch June 20, 2022 12:40
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.

4 participants