You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, XPU supports torchvision::nms and torchvision::roi_align, but additional ops in the torchvision repo are not supported. My proposal is to add SYCL kernels for the following ops:
ps_roi_align
roi_pool
ps_roi_pool
deform_conv2d
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Adds SYCL kernels for `roi_pool`, `ps_roi_pool`, and `ps_roi_align` ops,
and registers them in torchvision. Code is adapted from existing CUDA
kernels, with minimal changes, similar to the existing `nms` and
`roi_align` ops.
Part of #1290
### Testing
For testing, I copied the comprehensive ops [test
](https://github.com/pytorch/vision/blob/main/test/test_ops.py) from
torchvision repo. I removed the DefornConv test (support to come in a
follow-up PR) and autocast xpu tests, since autocast registration in
Pytorch would need to be updated.
🚀 The feature, motivation and pitch
Currently, XPU supports
torchvision::nms
andtorchvision::roi_align
, but additional ops in the torchvision repo are not supported. My proposal is to add SYCL kernels for the following ops:ps_roi_align
roi_pool
ps_roi_pool
deform_conv2d
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: