Skip to content

Commit 615961c

Browse files
committed
doc
1 parent 13234a3 commit 615961c

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

_doc/examples/plot_export_tiny_llm_dim01.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,14 @@
7272
# +++++++++++++++++++
7373
#
7474
# We try to export with the following options:
75+
#
7576
# - cache registration: register cache serialization with
7677
# :func:`onnx_diagnostic.torch_export_patches.register_additional_serialization_functions`
78+
#
7779
# - oblivious: an option to remove some the exception raises by the exporter
80+
#
7881
# - rt: see ``prefer_deferred_runtime_asserts_over_guards`` in :func:`torch.export.export`
82+
#
7983
# - cache_patch: patches the model before exporting with
8084
# :func:`onnx_diagnostic.torch_export_patches.torch_export_patches`
8185
#

_doc/examples/plot_export_tiny_llm_dim01_onnx.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,14 @@
6767
# +++++++++++++++++++
6868
#
6969
# We try to export with the following options:
70+
#
7071
# - cache registration: register cache serialization with
7172
# :func:`onnx_diagnostic.torch_export_patches.register_additional_serialization_functions`
73+
#
7274
# - oblivious: an option to remove some the exception raises by the exporter
75+
#
7376
# - rt: see ``prefer_deferred_runtime_asserts_over_guards`` in :func:`torch.export.export`
77+
#
7478
# - cache_patch: patches the model before exporting with
7579
# :func:`onnx_diagnostic.torch_export_patches.torch_export_patches`
7680
#

_doc/examples/plot_export_tiny_llm_dim01_onnx_custom.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,14 @@
6666
# +++++++++++++++++++
6767
#
6868
# We try to export with the following options:
69+
#
6970
# - cache registration: register cache serialization with
7071
# :func:`onnx_diagnostic.torch_export_patches.register_additional_serialization_functions`
72+
#
7173
# - oblivious: an option to remove some the exception raises by the exporter
74+
#
7275
# - rt: see ``prefer_deferred_runtime_asserts_over_guards`` in :func:`torch.export.export`
76+
#
7377
# - cache_patch: patches the model before exporting with
7478
# :func:`onnx_diagnostic.torch_export_patches.torch_export_patches`
7579
#

_unittests/ut_torch_export_patches/test_patch_torch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def forward(self, x, ind1, ind2):
345345
)
346346
self.assertEqualArray(expected, ep.module()(*inputs), atol=1e-2)
347347

348-
@requires_torch("2.7.9999")
348+
@requires_torch("2.8.9999")
349349
@requires_transformers("4.49.9999")
350350
def test_export_with_patch_tiny_llm_dim_meta(self):
351351
data = get_untrained_model_with_inputs("arnir0/Tiny-LLM", verbose=0)

0 commit comments

Comments
 (0)