-
Notifications
You must be signed in to change notification settings - Fork 57
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
[release/2.4] Enable bf16 with fp32 weights for MIOpen batchnorm #1801
Conversation
This PR enables: * using MIOpen OCL_mix backend for bf16 batchnorm with fp32 weights (using torch autocast). This was required and tested for customer workload using NCHW (which is the only memory_layout enabled). * logging for MIOpen batchnorm using `PYTORCH_MIOPEN_EXTRA_LOGGING` env var. TODO in separate PR: Need to implement PyTorch unit tests for this bf16/fp16 inputs + fp32 weights case. (cherry picked from commit abbfe77)
Jenkins build for d3a5429db61ff9e44ef7d2f2ef70a819297cbca1 commit finished as FAILURE |
Jenkins build for d3a5429db61ff9e44ef7d2f2ef70a819297cbca1 commit finished as FAILURE |
Jenkins build for d3a5429db61ff9e44ef7d2f2ef70a819297cbca1 commit finished as FAILURE |
Jenkins build for d3a5429db61ff9e44ef7d2f2ef70a819297cbca1 commit finished as FAILURE |
Jenkins build for d3a5429db61ff9e44ef7d2f2ef70a819297cbca1 commit finished as FAILURE |
Jenkins build for d3a5429db61ff9e44ef7d2f2ef70a819297cbca1 commit finished as FAILURE |
Jenkins build for d3a5429db61ff9e44ef7d2f2ef70a819297cbca1 commit finished as FAILURE |
This PR enables:
PYTORCH_MIOPEN_EXTRA_LOGGING
env var.TODO in separate PR: Need to implement PyTorch unit tests for this bf16/fp16 inputs + fp32 weights case.
(cherry picked from commit abbfe77)