-
Notifications
You must be signed in to change notification settings - Fork 685
Support BFloat16 in exir #14164
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
Support BFloat16 in exir #14164
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14164
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Cancelled Job, 4 Unrelated FailuresAs of commit bbf3095 with merge base 47acc87 ( CANCELLED JOB - The following job was cancelled. Please retry:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs failed but was present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D82129165 |
Summary: This diff adds support for BFloat16 dtype in ExecuTorch's exir dialect by updating the type system and operator constraints. Previously, BFloat16 inputs required disabling IR validity checks with `_check_ir_validity=False` to work around the lack of proper type system support. The changes include: - Adding `torch.bfloat16: "BFloat16"` mapping in the supported dtypes configuration - Updating edge.yaml to include BFloat16 anywhere that Half is supported Reviewed By: JacobSzwejbka Differential Revision: D82129165
b10217a
to
9c5d0b4
Compare
This pull request was exported from Phabricator. Differential Revision: D82129165 |
Summary: This diff adds support for BFloat16 dtype in ExecuTorch's exir dialect by updating the type system and operator constraints. Previously, BFloat16 inputs required disabling IR validity checks with `_check_ir_validity=False` to work around the lack of proper type system support. The changes include: - Adding `torch.bfloat16: "BFloat16"` mapping in the supported dtypes configuration - Updating edge.yaml to include BFloat16 anywhere that Half is supported Reviewed By: JacobSzwejbka Differential Revision: D82129165
9c5d0b4
to
c45d811
Compare
This pull request was exported from Phabricator. Differential Revision: D82129165 |
c45d811
to
6f08836
Compare
Summary: This diff adds support for BFloat16 dtype in ExecuTorch's exir dialect by updating the type system and operator constraints. Previously, BFloat16 inputs required disabling IR validity checks with `_check_ir_validity=False` to work around the lack of proper type system support. The changes include: - Adding `torch.bfloat16: "BFloat16"` mapping in the supported dtypes configuration - Updating edge.yaml to include BFloat16 anywhere that Half is supported Reviewed By: JacobSzwejbka Differential Revision: D82129165
This pull request was exported from Phabricator. Differential Revision: D82129165 |
Summary: This diff adds support for BFloat16 dtype in ExecuTorch's exir dialect by updating the type system and operator constraints. Previously, BFloat16 inputs required disabling IR validity checks with `_check_ir_validity=False` to work around the lack of proper type system support. The changes include: - Adding `torch.bfloat16: "BFloat16"` mapping in the supported dtypes configuration - Updating edge.yaml to include BFloat16 anywhere that Half is supported Reviewed By: JacobSzwejbka Differential Revision: D82129165
6f08836
to
bbf3095
Compare
This pull request was exported from Phabricator. Differential Revision: D82129165 |
Differential Revision: D82129165 Pull Request resolved: pytorch#14164
Summary:
This diff adds support for BFloat16 dtype in ExecuTorch's exir dialect by updating the type system and operator constraints.
Previously, BFloat16 inputs required disabling IR validity checks with
_check_ir_validity=False
to work around the lack of proper type system support.The changes include:
torch.bfloat16: "BFloat16"
mapping in the supported dtypes configurationDifferential Revision: D82129165