Repair a verified behavior in xilinx/mlir-aie.
Repair a verified behavior in xilinx/mlir-aie.: a task in OriGent-SFT-Data (Harbor dataset). The host-runtime Tensor abstraction provides to torch() for reading tensor data as a PyTorch tensor, but for an NPU-resident tensor that path synchronizes device memory to host first. A caller on a write…
The task
The host-runtime `Tensor` abstraction provides `to_torch()` for reading tensor data as a PyTorch tensor, but for an NPU-resident tensor that path synchronizes device memory to host first. A caller on a write path that will overwrite the host storage has no way to obtain a PyTorch tensor without that unnecessary read…
Part of henryen/OriGent-SFT-Data.