79432373

Date: 2025-02-12 08:29:43
Score: 0.5
Natty:
Report link

My similar issue had appeared after setting the torch default device to cuda… it seems that torch.onnx.export depends on that.
So to workaround it, i have changed the default device to cpu right before the export, then changed it back to cuda after the export. Hope this helps.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Octav