-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Register nms and roi_align Autocast policy for PyTorch Intel GPU backend #8541
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/8541
Note: Links to docs will display an error until the docs builds have been completed. ❌ 7 New Failures, 1 Unrelated FailureAs of commit 9ef9377 with merge base 61bd547 (): NEW FAILURES - The following jobs have failed:
BROKEN TRUNK - The following job failed but were 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. |
Please refine the PR title and description. |
…gn for XPU Signed-off-by: Feng Yuan <feng1.yuan@intel.com>
Updated. |
hi @fengyuan14 looks like there are coupe of CI failures |
Sure. I am checking the difference here, since it works at my local. |
Checked the failure. The failure occurs in the step,
Could you help to rerun the failure case? |
@fengyuan14 , you can rebase this PR to trigger the CI again. |
@pytorchbot rebase -b main |
You don't have permissions to rebase this PR since you are a first time contributor. If you think this is a mistake, please contact PyTorch Dev Infra. |
@NicolasHug Could you help to review the PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
… GPU backend (#8541) Summary: Signed-off-by: Feng Yuan <feng1.yuan@intel.com> Differential Revision: D60903715 fbshipit-source-id: c0919c6b0473432b7ef7a30599c3dc143e3da1cf Co-authored-by: Nicolas Hug <nh.nicolas.hug@gmail.com>
Intel GPU backend has been introduced to PyTorch, https://github.com/pytorch/pytorch/blob/main/third_party/xpu.txt. Some Torchvision models fails on
torchvision::nms
andtorchvision::roi_align
when enabling AMP execution. The PR is filed to add Autocast policy for Intel GPU backend, aligning CUDA and CPU policy and calculating on float for these two operators.See details in [RFC] Intel GPU Upstreaming · Issue #114723 · pytorch/pytorch (github.com) about PyTorch Intel GPU backend.