Open jiangqucheng opened 10 months ago
I created another ref backend called RefBackendHwaccLinalgOnTensorsBackend
which integrated the Hwacc lib call into the original LinalgOnTensors
backend.
Therefore, end users won't need to add other steps other than changing the imported package.
Check detail in commit a0542a2 .
from torch_mlir_e2e_test.linalg_on_tensors_backends import refbackend
from torch_mlir_e2e_test.hwacc_linalg_on_tensors_backends import refbackend
Dialect/Linalg/Passes.td
torch-mlir
python backend (linalg_on_tensors_backends/refbackend.py
).