4 ms·
Afaik models exported to onnx are already jit compiled in the export process: https://pytorch.org/docs/stable/onnx.html https://pytorch.org/docs/stable/onnx.htm
by m3at 5y ago
Afaik models exported to onnx are already jit compiled in the export process: https://pytorch.org/docs/stable/onnx.html https://pytorch.org/docs/stable/onnx.html
- chessgecko 5y agoI was referring to the benchmark script from the article https://github.com/neuralmagic/deepsparse/blob/main/examples/ultralytics-yolo/benchmark.py https://github.com/neuralmagic/deepsparse/blob/main/examples... It looks like they used torch.load instead of torch.jit.load so I don’t think it’s scripted here, but I didn’t check the model file itself so I’m not entirely sure