intel / torch-xpu-ops

Apache License 2.0
29 stars 21 forks source link

[Infrastructure] Align dtypesIfXPU of refs op with CUDA #768

Closed daisyden closed 1 month ago

daisyden commented 3 months ago

🐛 Describe the bug

Refs op will use the original op dtypes, we can also align the dtypesIfXPU of refs ops with cuda to avoid issues like the below. The two cases are skipped by cuda but not by torch-xpu-ops.

Versions

latest version

yuchengliu1 commented 1 month ago

These two cases does not run in current vision