Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add XPU, CPU Autocast for torchvision ops #8946

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

frost-intel
Copy link
Contributor

This PR enables autocast for ops that do not yet have autocast support (roi_pool, ps_roi_align, ps_roi_pool, deform_conv2d)

Tests have been updated to check autocast on CPU. In regards to the flaky test in #8580 , additional testing on my end showed flakiness only with bfloat16, so that test is still skipped.

Regarding XPU tests, since torchvision doesn't currently have XPU CI/CD integration, autocast tests will be submitted to torch-xpu-ops

Copy link

pytorch-bot bot commented Feb 28, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/8946

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@frost-intel frost-intel marked this pull request as ready for review February 28, 2025 22:34
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants