intel / torch-xpu-ops

Apache License 2.0
30 stars 21 forks source link

Add linalg operators #1029

Open xytintel opened 3 weeks ago

xytintel commented 3 weeks ago

Motivation The linalg operators are generally composed of multiple smaller operators, with only a small portion as stubs (which MKL is supposed to handle, but MKL isn't done yet). This PR manually sets the stubs to fallback to the CPU, which allows as many composed operations as possible to run on the XPU.