Skip to content

Commit 2ab0d07

Browse files
authored
Update super_resolution_with_onnxruntime.py
Fix for #1781 "tutorials/advanced_source/super_resolution_with_onnxruntime.py is maybe outdated?" References to requirements are out of date according to ONNX documentation (https://onnxruntime.ai/docs/reference/compatibility.html) which recommends the latest stable PyTorch version. Rather than manually update the version number with the current stable version (e.g., 2.0.1), as long as ONNX maintains compatibility with the lastest stable version that reference should be sufficient and constantly up to date.
1 parent 510f82e commit 2ab0d07

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

advanced_source/super_resolution_with_onnxruntime.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
and `ONNX Runtime <https://github.com/microsoft/onnxruntime>`__.
1717
You can get binary builds of ONNX and ONNX Runtime with
1818
``pip install onnx onnxruntime``.
19-
Note that ONNX Runtime is compatible with Python versions 3.5 to 3.7.
20-
21-
``NOTE``: This tutorial needs PyTorch master branch which can be installed by following
22-
the instructions `here <https://github.com/pytorch/pytorch#from-source>`__
19+
ONNX Runtime recommends using the latest stable runtime for PyTorch.
2320
2421
"""
2522

0 commit comments

Comments
 (0)