Skip to content

Commit a983c2a

Browse files
committed
words
1 parent 2534137 commit a983c2a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

beginner_source/onnx/intro_onnx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
including Microsoft's `ONNX Runtime <https://www.onnxruntime.ai>`_.
2121
2222
.. note::
23-
Currently, the users can choose either through `TorchScript https://pytorch.org/docs/stable/jit.html`_ or
23+
Currently, you can choose either through `TorchScript https://pytorch.org/docs/stable/jit.html`_ or
2424
`ExportedProgram https://pytorch.org/docs/stable/export.html`_ to export the model to ONNX by the
2525
boolean parameter dynamo in `torch.onnx.export <https://pytorch.org/docs/stable/generated/torch.onnx.export.html>`_.
2626
In this tutorial, we will focus on the ExportedProgram approach.

beginner_source/onnx/onnx_registry_tutorial.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def custom_aten_add(self, other, alpha: float = 1.0):
109109
# ir_version=10,
110110
# opset_imports={'pkg.onnxscript.torch_lib.common': 1, '': 18},
111111
# producer_name='pytorch',
112-
# producer_version='2.7.0.dev20250124+cu124',
112+
# producer_version='2.6.0',
113113
# domain=None,
114114
# model_version=None,
115115
# >
@@ -200,7 +200,7 @@ def custom_aten_gelu(self: FLOAT, approximate: str = "none") -> FLOAT:
200200
# ir_version=10,
201201
# opset_imports={'pkg.onnxscript.torch_lib.common': 1, 'com.microsoft': 1, '': 18},
202202
# producer_name='pytorch',
203-
# producer_version='2.7.0.dev20250124+cu124',
203+
# producer_version='2.6.0',
204204
# domain=None,
205205
# model_version=None,
206206
# >
@@ -283,7 +283,7 @@ def onnx_add_and_round(input):
283283
# ir_version=10,
284284
# opset_imports={'pkg.onnxscript.torch_lib.common': 1, '': 18},
285285
# producer_name='pytorch',
286-
# producer_version='2.7.0.dev20250124+cu124',
286+
# producer_version='2.6.0',
287287
# domain=None,
288288
# model_version=None,
289289
# >

0 commit comments

Comments
 (0)