Skip to content

Auto Lazy-Reorder for BF16 #30

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

Closed
wants to merge 21 commits into from
Closed

Conversation

EikanWang
Copy link
Contributor

IPEX will enable Lazy-Reorder for BF16. The user just needs to call enable_mix_bf16_fp32 to enable BF16 mix precision. The user does not need to call xxx.to(torch.bfloat16)/xxx.bfloat16() explicitly.
IPEX will auto-reorder the input tensor to BF16 if the OP supports BF16, otherwise, it will be reordered to float.

@EikanWang
Copy link
Contributor Author

@hongzhen1 @pinzhenx

@EikanWang EikanWang closed this Jun 2, 2020
EikanWang pushed a commit that referenced this pull request Oct 4, 2021
* linear weight prepack cache for jit path

* add description of weight prepack

* fix conv bn fusion error when some model can't use FX

* change the description of weight prepack
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.

1 participant