1
0
Fork 0
onnx-web/api/onnx_web/torch_before_ort.py

6 lines
203 B
Python

# this file exists to make sure torch is always imported before onnxruntime
# to work around https://github.com/microsoft/onnxruntime/issues/11092
import torch # NOQA
from onnxruntime import * # NOQA