Skip to content

Commit 61d3480

Browse files
committed
gemm
1 parent 7f3d89d commit 61d3480

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

CHANGELOGS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Change Logs
88
* :pr:`311`: use custom and local function to use PackedMultiHeadAttention from onnxruntime
99
* :pr:`310`: splits patches into multiple files
1010
* :pr:`308`: add option --save_ep to dump the exported program as well as torch input
11-
* :pr:`304`, :pr:`306`, :pr:`316`, :pr:`317`: improves side-by-side comparison, creates command line sbs
11+
* :pr:`304`, :pr:`306`, :pr:`316`, :pr:`317`, :pr:`318`: improves side-by-side comparison, creates command line sbs
1212

1313
0.8.2
1414
+++++

onnx_diagnostic/_command_lines_parser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,6 @@ def _size(name):
13191319
args=margs,
13201320
kwargs=mkwargs,
13211321
use_tensor=True,
1322-
gemmlinear=args.gemmlinear,
13231322
reset_names=args.reset.split(","),
13241323
exc=False,
13251324
):

onnx_diagnostic/helpers/onnx_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@ def make_submodel(
12811281
def _mkv_(name, itype, irank):
12821282
return oh.make_tensor_value_info(name, itype, [f"{name}_d{i}" for i in range(irank)])
12831283

1284-
not_known = set()
1284+
not_known: Set[str] = set()
12851285
for node in nodes[::-1]:
12861286
not_known -= set(node.output)
12871287
not_known |= set(node.input)

onnx_diagnostic/torch_onnx/sbs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ class ReplayConfiguration:
182182
183183
:param dump_folder: where to dump the onnx model corresponding to the
184184
pieces to investigate
185-
:param selected_names: list of results names to dump, None for all
186-
:param selected_op_types: list of onnx operators to dump, None for all
187-
:param threshold: only keep thos whose discrepancies is greater than that theshold
185+
:param selected_names: list of results names to dump
186+
:param selected_op_types: list of onnx operators to dump
187+
:param threshold: only keep thoses whose discrepancies is greater than that threshold
188188
"""
189189

190190
dump_folder: str
@@ -239,7 +239,7 @@ def dump(
239239
:param model: onnx model
240240
:param onnx_results: all known onnx results
241241
:param torch_results: all known torch results
242-
:param onnx_name_to_ep_name: correspondance between onnx_node name
242+
:param onnx_name_to_ep_name: correspondence between onnx_node name
243243
and exported program name
244244
:param verbose: verbosity level
245245
:return: the folder created to dump everything

0 commit comments

Comments
 (0)