You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/DebuggingNumericalError.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,10 @@ This script is found here `utils/onnx-mlir-print.sh`, and it is used by adding a
76
76
That compiler log may typically have 10-100 passes. We have a tool to isolate a given pass. Use `utils/IsolatePass.py -m <log-file-name> -l` to list the name of all of these passes. You can then decide to investigate the compiler output of a given pass.
77
77
For example, if interested in the transformation of ONNX to Krnl dialect, you can add the `-p "convert-onnx-to-krnl"` option, where the `convert-onnx-to-krnl` is the name of the actual pass. The `-p` option just take a regex matching a pass as listed with the `-l` option. Alternatively, option `-n 34` will isolate the 34th pass as listed with the `-l` option.
78
78
79
-
Say you are interested in the pass just before or just after `convert-onnx-to-krnl`, you can use, respectively, the `-a -1` or the `-a 1` additional option. Full options are listed under the `--help` flag.
79
+
Say you are interested in the pass just before or just after `convert-onnx-to-krnl`, you can use, respectively, the `-a -1` or the `-a 1` additional option.
80
+
The `-a` option can also list a REGEX, in which case, it will print the next pass that matches that REGEX.
0 commit comments