-
Notifications
You must be signed in to change notification settings - Fork 22.6k
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
[Vulkan] Fix quantized cpu to vulkan broken by padding #97372
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/97372
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 594efee: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D44309956 |
This pull request was exported from Phabricator. Differential Revision: D44309956 |
3a86a2b
to
a274452
Compare
This pull request was exported from Phabricator. Differential Revision: D44309956 |
a274452
to
2bde1fd
Compare
Summary: Pull Request resolved: pytorch#97372 Previous diff D43068669 introduced channel padding, and in doing so, it broke the quantized copy of cpu to vulkan tensors. This diff updates the quantized nchw to image shaders, in order to work with padded channels. Test Plan: ``` buck run --target-platforms ovr_config//platform/macos:arm64-fbsource -c pt.vulkan_full_precision=1 //xplat/caffe2:pt_vulkan_quantized_api_test_binAppleMac\#macosx-arm64 ``` Reviewed By: SS-JIA Differential Revision: D44309956 fbshipit-source-id: baf4106aecbd4f8dec2851353fd67c9bf45f57d1
This pull request was exported from Phabricator. Differential Revision: D44309956 |
2bde1fd
to
594efee
Compare
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary:
Previous diff D43068669 introduced channel padding, and in doing so, it broke the quantized copy of cpu to vulkan tensors.
This diff updates the quantized nchw to image shaders, in order to work with padded channels.
Test Plan:
Differential Revision: D44309956