Skip to content

Commit 8de38e2

Browse files
committed
spell
1 parent 588a30f commit 8de38e2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

_doc/examples/plot_dump_intermediate_results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
come from two results obtained with the same models
99
implemented in two different ways, :epkg:`pytorch` and :epkg:`onnx`.
1010
Models are big so where do they come from? That's the
11-
unavoidable question. Unless there is an obious reason,
11+
unavoidable question. Unless there is an obvious reason,
1212
the only way is to compare intermediate outputs alon the computation.
1313
The first step into that direction is to dump the intermediate results
1414
coming from :epkg:`pytorch`.

_unittests/ut_xrun_doc/test_documentation_examples.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,15 @@ def add_test_methods(cls):
7474
this = os.path.abspath(os.path.dirname(__file__))
7575
fold = os.path.normpath(os.path.join(this, "..", "..", "_doc", "examples"))
7676
found = os.listdir(fold)
77+
has_dot = int(os.environ.get("UNITTEST_DOT", "0"))
7778
for name in found:
7879
if not name.endswith(".py") or not name.startswith("plot_"):
7980
continue
8081
reason = None
8182

83+
if not reason and not has_dot and name in {"plot_dump_intermediate_results.py"}:
84+
reason = "dot not installed"
85+
8286
if (
8387
not reason
8488
and name in {"plot_export_tiny_llm.py"}

0 commit comments

Comments
 (0)