HF RL Explorer

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 Python aie.iron.tensor.Tensor class accepts device='npu' and device='cpu' , but its host/device buffer synchronization is not consistently based on that device. Constructing a CPU tensor from…

The task

The Python `aie.iron.tensor.Tensor` class accepts `device='npu'` and `device='cpu'`, but its host/device buffer synchronization is not consistently based on that device. Constructing a CPU tensor from array-like data currently issues a device upload, and converting such a tensor to NumPy issues a device download. A…

Part of henryen/OriGent-SFT-Data.