[fix] T5 ONNX test: model.to(torch_device)
Should fix #5724

Signed-off-by: Morgan Funtowicz <morgan@huggingface.co>
Code Quality is failing due to files that were not modified in this PR, not addressing to avoid rebasing somewhere else.<|||||>ill fix code quality.