onnx-diagnostic 0.8.6__py3-none-any.whl → 0.8.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- onnx_diagnostic/__init__.py +1 -1
- onnx_diagnostic/_command_lines_parser.py +108 -3
- onnx_diagnostic/ci_models/ci_helpers.py +12 -7
- onnx_diagnostic/ci_models/export_phi4_mm.py +1062 -0
- onnx_diagnostic/ci_models/export_qwen25_vl.py +12 -4
- onnx_diagnostic/export/api.py +295 -5
- onnx_diagnostic/export/cf_simple_loop_for.py +195 -10
- onnx_diagnostic/export/dynamic_shapes.py +45 -3
- onnx_diagnostic/export/shape_helper.py +1 -0
- onnx_diagnostic/ext_test_case.py +9 -2
- onnx_diagnostic/helpers/bench_run.py +1 -1
- onnx_diagnostic/helpers/cache_helper.py +0 -8
- onnx_diagnostic/helpers/fake_tensor_helper.py +26 -5
- onnx_diagnostic/helpers/helper.py +30 -1
- onnx_diagnostic/helpers/log_helper.py +1 -3
- onnx_diagnostic/helpers/optim_helper.py +116 -0
- onnx_diagnostic/helpers/ort_session.py +5 -0
- onnx_diagnostic/tasks/image_text_to_text.py +19 -9
- onnx_diagnostic/tasks/text2text_generation.py +84 -48
- onnx_diagnostic/tasks/text_generation.py +3 -0
- onnx_diagnostic/torch_export_patches/onnx_export_errors.py +28 -2
- onnx_diagnostic/torch_export_patches/patch_details.py +3 -3
- onnx_diagnostic/torch_export_patches/patch_expressions.py +4 -1
- onnx_diagnostic/torch_export_patches/patch_module.py +31 -23
- onnx_diagnostic/torch_export_patches/patches/_patch_transformers_dynamic_cache.py +14 -5
- onnx_diagnostic/torch_export_patches/patches/_patch_transformers_funnel.py +80 -0
- onnx_diagnostic/torch_export_patches/patches/_patch_transformers_qwen2_5.py +12 -1
- onnx_diagnostic/torch_export_patches/patches/_patch_transformers_rotary_embedding.py +2 -2
- onnx_diagnostic/torch_export_patches/patches/patch_torch.py +15 -0
- onnx_diagnostic/torch_export_patches/patches/patch_transformers.py +22 -24
- onnx_diagnostic/torch_models/hghub/hub_api.py +11 -0
- onnx_diagnostic/torch_models/hghub/hub_data.py +9 -1
- onnx_diagnostic/torch_models/hghub/model_inputs.py +24 -19
- onnx_diagnostic/torch_models/validate.py +48 -0
- {onnx_diagnostic-0.8.6.dist-info → onnx_diagnostic-0.8.8.dist-info}/METADATA +3 -1
- {onnx_diagnostic-0.8.6.dist-info → onnx_diagnostic-0.8.8.dist-info}/RECORD +39 -36
- {onnx_diagnostic-0.8.6.dist-info → onnx_diagnostic-0.8.8.dist-info}/WHEEL +0 -0
- {onnx_diagnostic-0.8.6.dist-info → onnx_diagnostic-0.8.8.dist-info}/licenses/LICENSE.txt +0 -0
- {onnx_diagnostic-0.8.6.dist-info → onnx_diagnostic-0.8.8.dist-info}/top_level.txt +0 -0
|
@@ -1771,6 +1771,10 @@ def validate_onnx_model(
|
|
|
1771
1771
|
if os.environ.get("DUMPORTOPT", "") in ("1", "true", "True"):
|
|
1772
1772
|
opts = onnxruntime.SessionOptions()
|
|
1773
1773
|
opts.optimized_model_filepath = f"{data['onnx_filename']}.rtopt.onnx"
|
|
1774
|
+
opts.add_session_config_entry(
|
|
1775
|
+
"session.optimized_model_external_initializers_file_name",
|
|
1776
|
+
f"{os.path.split(data['onnx_filename'])[0]}.rtopt.data",
|
|
1777
|
+
)
|
|
1774
1778
|
if verbose:
|
|
1775
1779
|
print(
|
|
1776
1780
|
f"[validate_onnx_model] saved optimized onnxruntime "
|
|
@@ -2326,6 +2330,7 @@ def call_torch_export_custom(
|
|
|
2326
2330
|
"custom-dec",
|
|
2327
2331
|
"custom-decall",
|
|
2328
2332
|
"custom-fake",
|
|
2333
|
+
"custom-tracing",
|
|
2329
2334
|
}
|
|
2330
2335
|
assert exporter in available, f"Unexpected value for exporter={exporter!r} in {available}"
|
|
2331
2336
|
assert "model" in data, f"model is missing from data: {sorted(data)}"
|
|
@@ -2338,11 +2343,16 @@ def call_torch_export_custom(
|
|
|
2338
2343
|
f"Options strict cannot be specified in the exporter name {exporter!r} "
|
|
2339
2344
|
f"and in the options {exporter_options}"
|
|
2340
2345
|
)
|
|
2346
|
+
assert ("-tracing" not in exporter) or ("tracing" not in exporter_options), (
|
|
2347
|
+
f"Options tracing cannot be specified in the exporter name {exporter!r} "
|
|
2348
|
+
f"and in the options {exporter_options}"
|
|
2349
|
+
)
|
|
2341
2350
|
summary: Dict[str, Union[str, int, float]] = {}
|
|
2342
2351
|
strict = "-strict" in exporter or exporter_options.pop("strict", False)
|
|
2343
2352
|
args, kwargs = split_args_kwargs(data["inputs_export"])
|
|
2344
2353
|
ds = data.get("dynamic_shapes", None)
|
|
2345
2354
|
fake = "-fake" in exporter or exporter_options.pop("fake", False)
|
|
2355
|
+
tracing = "-tracing" in exporter or exporter_options.pop("tracing", False)
|
|
2346
2356
|
if fake:
|
|
2347
2357
|
from onnx_diagnostic.export.shape_helper import make_fake_with_dynamic_dimensions
|
|
2348
2358
|
|
|
@@ -2366,6 +2376,7 @@ def call_torch_export_custom(
|
|
|
2366
2376
|
summary["export_exporter"] = exporter
|
|
2367
2377
|
summary["export_optimization"] = optimization or ""
|
|
2368
2378
|
summary["export_strict"] = strict
|
|
2379
|
+
summary["export_tracing"] = tracing
|
|
2369
2380
|
summary["export_fake"] = fake
|
|
2370
2381
|
summary["export_args"] = string_type(args, with_shape=True)
|
|
2371
2382
|
summary["export_kwargs"] = string_type(kwargs, with_shape=True)
|
|
@@ -2388,6 +2399,7 @@ def call_torch_export_custom(
|
|
|
2388
2399
|
)
|
|
2389
2400
|
)
|
|
2390
2401
|
large_model = bool(exporter_options.pop("large_model", True))
|
|
2402
|
+
exporter_options.pop("tracing", False)
|
|
2391
2403
|
return_optimize_report = bool(exporter_options.pop("return_optimize_report", True))
|
|
2392
2404
|
export_modules_as_functions = bool(
|
|
2393
2405
|
exporter_options.pop("export_modules_as_functions", False)
|
|
@@ -2401,6 +2413,7 @@ def call_torch_export_custom(
|
|
|
2401
2413
|
summary["export_external_threshold"] = str(external_threshold)
|
|
2402
2414
|
|
|
2403
2415
|
export_options = ExportOptions(
|
|
2416
|
+
tracing=tracing,
|
|
2404
2417
|
strict=strict,
|
|
2405
2418
|
decomposition_table=decomposition_table,
|
|
2406
2419
|
save_ep=(
|
|
@@ -2445,6 +2458,41 @@ def call_torch_export_custom(
|
|
|
2445
2458
|
)
|
|
2446
2459
|
),
|
|
2447
2460
|
)
|
|
2461
|
+
if "optimization" in opt_stats and dump_folder:
|
|
2462
|
+
import pandas
|
|
2463
|
+
|
|
2464
|
+
pattern_stats = []
|
|
2465
|
+
for k, v in opt_stats.items():
|
|
2466
|
+
if "time" in k:
|
|
2467
|
+
pattern_stats.append(dict(level="main", pattern=k, time_in=v))
|
|
2468
|
+
pattern_stats.extend(
|
|
2469
|
+
[{**obs, "level": "detailed"} for obs in opt_stats["optimization"]]
|
|
2470
|
+
)
|
|
2471
|
+
stat_filename = os.path.join(dump_folder, "optimization_stats.xlsx")
|
|
2472
|
+
df = pandas.DataFrame(pattern_stats)
|
|
2473
|
+
df.to_excel(stat_filename, index=False)
|
|
2474
|
+
cols = [
|
|
2475
|
+
c
|
|
2476
|
+
for c in [
|
|
2477
|
+
"level",
|
|
2478
|
+
"pattern",
|
|
2479
|
+
"time_in",
|
|
2480
|
+
"iteration",
|
|
2481
|
+
"inlined",
|
|
2482
|
+
"removed",
|
|
2483
|
+
"added",
|
|
2484
|
+
"instances",
|
|
2485
|
+
"changed",
|
|
2486
|
+
"scale",
|
|
2487
|
+
]
|
|
2488
|
+
if c in df.columns
|
|
2489
|
+
]
|
|
2490
|
+
agg = {k: "sum" for k in cols if k not in ("level", "pattern")}
|
|
2491
|
+
agg.update(dict(iteration="max", instances="mean"))
|
|
2492
|
+
agg = {k: v for k, v in agg.items() if k in df.columns}
|
|
2493
|
+
stat_filename = os.path.join(dump_folder, "optimization_stats.agg.xlsx")
|
|
2494
|
+
df[cols].groupby(["level", "pattern"]).agg(agg).to_excel(stat_filename)
|
|
2495
|
+
|
|
2448
2496
|
if "ERR_export_onnx_c" in summary:
|
|
2449
2497
|
return summary, data
|
|
2450
2498
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: onnx-diagnostic
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.8
|
|
4
4
|
Summary: Tools to help converting pytorch models into ONNX.
|
|
5
5
|
Home-page: https://github.com/sdpython/onnx-diagnostic
|
|
6
6
|
Author: Xavier Dupré
|
|
@@ -90,6 +90,8 @@ Enlightening Examples
|
|
|
90
90
|
|
|
91
91
|
* `Export microsoft/phi-2
|
|
92
92
|
<https://sdpython.github.io/doc/onnx-diagnostic/dev/auto_examples/plot_export_tiny_phi2.html>`_
|
|
93
|
+
* `Export a model through method generate (with Tiny-LLM)
|
|
94
|
+
<https://sdpython.github.io/doc/onnx-diagnostic/dev/auto_examples/plot_export_tiny_llm_method_generate.html>`_
|
|
93
95
|
|
|
94
96
|
**Torch Export**
|
|
95
97
|
|
|
@@ -1,37 +1,39 @@
|
|
|
1
|
-
onnx_diagnostic/__init__.py,sha256=
|
|
1
|
+
onnx_diagnostic/__init__.py,sha256=Is5g4yyLoruIq2F94HTISS_8sTf8w9AHzf6qlhhytZ0,173
|
|
2
2
|
onnx_diagnostic/__main__.py,sha256=YmyV_Aq_ianDlHyKLHMa6h8YK3ZmFPpLVHLKjM91aCk,79
|
|
3
|
-
onnx_diagnostic/_command_lines_parser.py,sha256=
|
|
3
|
+
onnx_diagnostic/_command_lines_parser.py,sha256=g_udwHBHmY6X_d41Qby_DqMpEHL1p9GfUhJGBCihl8c,57784
|
|
4
4
|
onnx_diagnostic/api.py,sha256=BhCl_yCd78N7TlVtPOHjeYv1QBEy39TjZ647rcHqLh0,345
|
|
5
5
|
onnx_diagnostic/doc.py,sha256=t3RELgfooYnVMAi0JSpggWkQEgUsREz8NmRvn0TnLI8,2829
|
|
6
|
-
onnx_diagnostic/ext_test_case.py,sha256=
|
|
6
|
+
onnx_diagnostic/ext_test_case.py,sha256=A6BkrRm-QbvM8A-qRRMLt9o9ZO6wMXE9jrotggjpGfE,50460
|
|
7
7
|
onnx_diagnostic/ci_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
onnx_diagnostic/ci_models/ci_helpers.py,sha256=
|
|
9
|
-
onnx_diagnostic/ci_models/
|
|
8
|
+
onnx_diagnostic/ci_models/ci_helpers.py,sha256=lblOF7z2kLcCRAwMOdqp-Tz1EL1oBywHfVokhqiTQRg,15592
|
|
9
|
+
onnx_diagnostic/ci_models/export_phi4_mm.py,sha256=DH225jXhOG_S8KZE9Kn7FGNE4VqFyc9ZDnG-qxZn-hk,41668
|
|
10
|
+
onnx_diagnostic/ci_models/export_qwen25_vl.py,sha256=_rYPr8PPraWizr2MPcGuYjrJ55ilJOyKl8kg0wq4L90,20405
|
|
10
11
|
onnx_diagnostic/export/__init__.py,sha256=yEIoWiOeTwBsDhyYt2fTKuhtA0Ya1J9u9ZzMTOTWaWs,101
|
|
11
|
-
onnx_diagnostic/export/api.py,sha256=
|
|
12
|
-
onnx_diagnostic/export/cf_simple_loop_for.py,sha256=
|
|
12
|
+
onnx_diagnostic/export/api.py,sha256=V-2IhcxfMRFIh-CBb3c7QUUTcd_11FjRLHXLhIOy4Fk,22111
|
|
13
|
+
onnx_diagnostic/export/cf_simple_loop_for.py,sha256=OHPGQc9AC-0TBtCYpP6cm-iHP9gmNt8WYRrPlO9ewlc,21158
|
|
13
14
|
onnx_diagnostic/export/control_flow_onnx.py,sha256=izGlctqQANrHzSxPMbT7hoauNbnIBdx6hb8ry7HtVmM,18263
|
|
14
|
-
onnx_diagnostic/export/dynamic_shapes.py,sha256=
|
|
15
|
+
onnx_diagnostic/export/dynamic_shapes.py,sha256=z6BgCAHyrB6SLcCdjy5CMr8lOy-dm-CUQgJc_GyQVTw,44138
|
|
15
16
|
onnx_diagnostic/export/onnx_plug.py,sha256=U13fL0BjnhMzcDGxaAOqM4TQte5Z4zKDg4ESS0iktjM,22704
|
|
16
|
-
onnx_diagnostic/export/shape_helper.py,sha256=
|
|
17
|
+
onnx_diagnostic/export/shape_helper.py,sha256=L0RKUufLQDM5PqDMYk-9L3YZMnv4Zpz2t18KL_37RUU,11341
|
|
17
18
|
onnx_diagnostic/export/validate.py,sha256=_PGUql2DJhIgGKo0WjTGUc5AgsZUx8fEs00MePy-w98,6043
|
|
18
19
|
onnx_diagnostic/helpers/__init__.py,sha256=GJ2GT7cgnlIveVUwMZhuvUwidbTJaKv8CsSIOpZDsJg,83
|
|
19
20
|
onnx_diagnostic/helpers/_log_helper.py,sha256=OTwQH0OIxs9B6nrSvR7MoxMimSw_8mU0mj133NvLk5o,16832
|
|
20
21
|
onnx_diagnostic/helpers/args_helper.py,sha256=SRWnqC7EENg09RZlA50B_PcdiIhdbgA4C3ACfzl5nMs,4419
|
|
21
|
-
onnx_diagnostic/helpers/bench_run.py,sha256=
|
|
22
|
-
onnx_diagnostic/helpers/cache_helper.py,sha256=
|
|
22
|
+
onnx_diagnostic/helpers/bench_run.py,sha256=Vvzb7Wy0baIT5O0dx4RKQTx-5V08PiHxPJh6XPkY-lU,16544
|
|
23
|
+
onnx_diagnostic/helpers/cache_helper.py,sha256=RsPuYRQ_RiA4I-J2loD-gXnmLsvxskp_nqv_C9hQlrU,28114
|
|
23
24
|
onnx_diagnostic/helpers/config_helper.py,sha256=cWRETgFhZ7tayIZPnMqF8BF5AvTU64G2BMqyzgO7lzs,5670
|
|
24
25
|
onnx_diagnostic/helpers/doc_helper.py,sha256=pl5MZd3_FaE8BqQnqoBuSBxoNCFcd2OJd3eITUSku5c,5897
|
|
25
26
|
onnx_diagnostic/helpers/dot_helper.py,sha256=hwgTJsbsUv0qq7euyPDnc1NsBZDGOwv32JXSZxIHJkE,8118
|
|
26
|
-
onnx_diagnostic/helpers/fake_tensor_helper.py,sha256=
|
|
27
|
+
onnx_diagnostic/helpers/fake_tensor_helper.py,sha256=59046wDIw84or6PJxLaa2CFqaWT7Y3mpYr-BB2shcBE,12027
|
|
27
28
|
onnx_diagnostic/helpers/graph_helper.py,sha256=hevQT5a7_QuriVPQcbT5qe18n99Doyl5h3-qshx1-uk,14093
|
|
28
|
-
onnx_diagnostic/helpers/helper.py,sha256=
|
|
29
|
-
onnx_diagnostic/helpers/log_helper.py,sha256=
|
|
29
|
+
onnx_diagnostic/helpers/helper.py,sha256=Fa5wB0CAva2d82RDjCoJxbf1AafYWPZEHKlyz7PZLg0,66505
|
|
30
|
+
onnx_diagnostic/helpers/log_helper.py,sha256=3mWQd-nLKCctKZt9N8SpoWgLC8O7YdNQ2pfW5QXYWDQ,93232
|
|
30
31
|
onnx_diagnostic/helpers/memory_peak.py,sha256=M3m4_thWFIwP5HytbJYEqaijXIv5v5BW_vlcJowIYI4,6434
|
|
31
32
|
onnx_diagnostic/helpers/mini_onnx_builder.py,sha256=jR2lkRZEQ0N30H0FqeBwaxJd_w_6kyxFagrnulqFjhE,23883
|
|
32
33
|
onnx_diagnostic/helpers/model_builder_helper.py,sha256=qKIq4Naqq03gk6NfqXLQjSDiKL5FFNc1AEyVX0R8GmA,18540
|
|
33
34
|
onnx_diagnostic/helpers/onnx_helper.py,sha256=MshvqMSTNUUZIpkkRYGDymdW2t2KtB2BgYtOPHIDwvQ,57508
|
|
34
|
-
onnx_diagnostic/helpers/
|
|
35
|
+
onnx_diagnostic/helpers/optim_helper.py,sha256=0NiYRwV9GLTub4SEny0dqEhLcajRjEhcgkeBDVr9bGQ,4424
|
|
36
|
+
onnx_diagnostic/helpers/ort_session.py,sha256=Y6iJojJcQtPesy9dRaaxRSeRTLXk0Pdh6-_fzdiPDm0,30779
|
|
35
37
|
onnx_diagnostic/helpers/rt_helper.py,sha256=OOxHSCKZup2u7zTvVJxPkRHb4jQZ03KpkiDGrfwibMM,38135
|
|
36
38
|
onnx_diagnostic/helpers/torch_fx_graph_helper.py,sha256=7xFe4svdbr4gV3OTNcx8eJejjDyHAv4hD_RNNKSxL0c,6571
|
|
37
39
|
onnx_diagnostic/helpers/torch_helper.py,sha256=ADV81WWCskQ-jmzn1GI_LU8GqBtufCHS3oeLG-3Uw0E,38954
|
|
@@ -87,27 +89,27 @@ onnx_diagnostic/tasks/automatic_speech_recognition.py,sha256=aMufLDGW005f7aLMZ9a
|
|
|
87
89
|
onnx_diagnostic/tasks/feature_extraction.py,sha256=IS9z9fPNE0hhGUebBfmNZl0twdXobMc7MFKpQB9qZI0,5388
|
|
88
90
|
onnx_diagnostic/tasks/fill_mask.py,sha256=5Gt6zlj0p6vuifox7Wmj-TpHXJvPS0CEH8evgdBHDNA,2640
|
|
89
91
|
onnx_diagnostic/tasks/image_classification.py,sha256=nLpBBB1Gkog3Fk6pu2waiHcuQr4ILPptc9FhQ-pn460,4682
|
|
90
|
-
onnx_diagnostic/tasks/image_text_to_text.py,sha256=
|
|
92
|
+
onnx_diagnostic/tasks/image_text_to_text.py,sha256=A3mg3t7zh2Z_kAJ4cQBrW9x6O1knMPjL_LwMlH78m-k,22142
|
|
91
93
|
onnx_diagnostic/tasks/image_to_video.py,sha256=SoF2cVIJr6P30Abp-FCuixFDh5RvTuNEOL36QthGY6U,3860
|
|
92
94
|
onnx_diagnostic/tasks/mask_generation.py,sha256=fjdD3rd-O-mFL0hQy3la3JXKth_0bH2HL7Eelq-3Dbs,5057
|
|
93
95
|
onnx_diagnostic/tasks/mixture_of_expert.py,sha256=al4tk1BrHidtRiHlAaiflWiJaAte0d5M8WcBioANG9k,2808
|
|
94
96
|
onnx_diagnostic/tasks/object_detection.py,sha256=3FiT8ya5FCd9lwjQCRXhAwXspNwYTlAD3Gpk8aAcG5w,4279
|
|
95
97
|
onnx_diagnostic/tasks/sentence_similarity.py,sha256=vPqNZgAnIvY0rKWPUTs0IlU3RFQDkXAHL7IVfRFmilY,2655
|
|
96
98
|
onnx_diagnostic/tasks/summarization.py,sha256=AyDUHLjEymn4waIFf_ZgLAUJT6xqiGFKdaYAikK3wVA,5382
|
|
97
|
-
onnx_diagnostic/tasks/text2text_generation.py,sha256=
|
|
99
|
+
onnx_diagnostic/tasks/text2text_generation.py,sha256=E-H5_wZX-RjExpM65-B61eaNx_lJVCCOKo5AN7FnYzc,9873
|
|
98
100
|
onnx_diagnostic/tasks/text_classification.py,sha256=CGc72SpXFzTUyzAHEMPgyy_s187DaYGsRdrosxG80_Q,2711
|
|
99
|
-
onnx_diagnostic/tasks/text_generation.py,sha256=
|
|
101
|
+
onnx_diagnostic/tasks/text_generation.py,sha256=qIhpVmTphnXVt-ewdSJF6GlIih0C0ewhtGtOs9IgW3U,14625
|
|
100
102
|
onnx_diagnostic/tasks/text_to_image.py,sha256=mOS3Ruosi3hzRMxXLDN7ZkAbi7NnQb7MWwQP_okGVHs,2962
|
|
101
103
|
onnx_diagnostic/tasks/zero_shot_image_classification.py,sha256=jJCMWuOqGv5ahCfjrcqxuYCJFhTgHV5KUf2yyv2yxYA,4624
|
|
102
104
|
onnx_diagnostic/tasks/data/__init__.py,sha256=uJoemrWgEjI6oA-tMX7r3__x-b3siPmkgqaY7bgIles,401
|
|
103
105
|
onnx_diagnostic/tasks/data/dummies_imagetext2text_generation_gemma3.onnx,sha256=UbtvmWMqcZOKJ-I-HXWI1A6YR6QDaFS5u_yXm5C3ZBw,10299
|
|
104
106
|
onnx_diagnostic/torch_export_patches/__init__.py,sha256=0SaZedwznm1hQUCvXZsGZORV5vby954wEExr5faepGg,720
|
|
105
|
-
onnx_diagnostic/torch_export_patches/onnx_export_errors.py,sha256=
|
|
107
|
+
onnx_diagnostic/torch_export_patches/onnx_export_errors.py,sha256=XHYtU7w3vsaTMCuF5X1YtOKxgwL8eEuktXzVZpRz55o,43431
|
|
106
108
|
onnx_diagnostic/torch_export_patches/onnx_export_serialization.py,sha256=0HdubI06EGpxOICqDWZoVmZkVO9gAaFADEmby197EyM,11935
|
|
107
|
-
onnx_diagnostic/torch_export_patches/patch_details.py,sha256=
|
|
108
|
-
onnx_diagnostic/torch_export_patches/patch_expressions.py,sha256=
|
|
109
|
+
onnx_diagnostic/torch_export_patches/patch_details.py,sha256=UHBo4QTLF3ZgQ4951yYHIQqxOeRYNaG7x56XFcRTtg4,11794
|
|
110
|
+
onnx_diagnostic/torch_export_patches/patch_expressions.py,sha256=VOsv71FsR_UZtxz4-5_VKL2sHQhOkHy9RkPJME2h7UU,3271
|
|
109
111
|
onnx_diagnostic/torch_export_patches/patch_inputs.py,sha256=-TgcyjVzxTb5Y-_ibssTeaA5PFz6FJrV6q84HMUAsJw,8075
|
|
110
|
-
onnx_diagnostic/torch_export_patches/patch_module.py,sha256=
|
|
112
|
+
onnx_diagnostic/torch_export_patches/patch_module.py,sha256=1Mn3xdpK1jSdRs6z1C-mJGkfGmD2TNRwLNoPaOW_EFI,40061
|
|
111
113
|
onnx_diagnostic/torch_export_patches/patch_module_helper.py,sha256=2U0AdyZuU0W54QTdE7tY7imVzMnpQ5091ADNtTCkT8Y,6967
|
|
112
114
|
onnx_diagnostic/torch_export_patches/eval/__init__.py,sha256=YQoOGt9XQLWqnJ15NnT7ri_jDevfvpuQwEJo38E-VRU,25056
|
|
113
115
|
onnx_diagnostic/torch_export_patches/eval/model_cases.py,sha256=9h4yo9vKiK-E6zaXyAsxXGM-lCjd88ONybA1F3YcTI4,27988
|
|
@@ -115,31 +117,32 @@ onnx_diagnostic/torch_export_patches/patches/__init__.py,sha256=47DEQpj8HBSa-_TI
|
|
|
115
117
|
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_attention.py,sha256=5JOyT95BNwHIuxaSFJDSEGsoI-6IwbgNnFwg2q3UM-Q,7731
|
|
116
118
|
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_cache_utils.py,sha256=UdxLii-od2OpQmUJbmXmZinXeLBItVFrr75BVT1Y0zw,2041
|
|
117
119
|
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_causal_mask.py,sha256=h37DPVxsq8iAWECnTlKW5tVqSBgPBF52xr3uxsjdi2k,3113
|
|
118
|
-
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_dynamic_cache.py,sha256=
|
|
120
|
+
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_dynamic_cache.py,sha256=aiRtT1SUTrH7wYpBF7YjPEgb-fRYXlnilims4Y5a0JA,8516
|
|
121
|
+
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_funnel.py,sha256=QAMFiA8MGQgbowZzpfLsh7gXTuzXc3eGmZ7hLKF1i78,3352
|
|
119
122
|
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_gemma3.py,sha256=nVgYQk0xXpHiictN1wOHVMN2lTH9b0vfIJ4ie-uKopg,1999
|
|
120
123
|
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_generation_mixin.py,sha256=VIZsVHgR8NmAcBQalPl5I6ZzNgcBxjGb6ars31m9gRg,21936
|
|
121
124
|
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_idefics.py,sha256=kTjuTRsfkGGGhspJnMxAMQSchZgGC_IruJzpHh_FmI8,6348
|
|
122
125
|
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_masking_utils.py,sha256=HE3fovyvMiYe9EPz1UjdD9AWopX3H188SMwPb8w5mzM,7111
|
|
123
126
|
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_qwen2.py,sha256=OxYdlLrwtd_KGHt3E17poduxvWFg-CfGS57-yN1i6gI,3827
|
|
124
|
-
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_qwen2_5.py,sha256=
|
|
127
|
+
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_qwen2_5.py,sha256=oYz0tr-6KH0DabpgaISytnXAGxQosoA8gV5LpksO4yI,34834
|
|
125
128
|
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_qwen3.py,sha256=cND9Iqo1aKdlX-BXGr9Qlq_Y4EW1L5VWSwZfqYTVazU,4888
|
|
126
|
-
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_rotary_embedding.py,sha256=
|
|
129
|
+
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_rotary_embedding.py,sha256=LAqoL5SWISekZO15G1HIcCkN1JlBxGqb9XbK_eLzalA,16949
|
|
127
130
|
onnx_diagnostic/torch_export_patches/patches/_patch_transformers_sam_mask_decoder.py,sha256=-6TuBm3sLAFEGuW3vRfOTtE5uP6aINFfu7xMnl27Dws,5703
|
|
128
131
|
onnx_diagnostic/torch_export_patches/patches/patch_helper.py,sha256=kK_CGW643iVXxa-m6pttDBS7HTyMQaPypza7iqIInn4,721
|
|
129
|
-
onnx_diagnostic/torch_export_patches/patches/patch_torch.py,sha256=
|
|
130
|
-
onnx_diagnostic/torch_export_patches/patches/patch_transformers.py,sha256=
|
|
132
|
+
onnx_diagnostic/torch_export_patches/patches/patch_torch.py,sha256=VCs3uZHcuzosCqn9sSEskEWHJym_RrDJM6-G6FcTC08,45117
|
|
133
|
+
onnx_diagnostic/torch_export_patches/patches/patch_transformers.py,sha256=1W3iKVYx2QT2xJTKlz1UmtjySuwv-rfT5yVL9DjOfzI,3376
|
|
131
134
|
onnx_diagnostic/torch_export_patches/serialization/__init__.py,sha256=BHLdRPtNAtNPAS-bPKEj3-foGSPvwAbZXrHzGGPDLEw,1876
|
|
132
135
|
onnx_diagnostic/torch_export_patches/serialization/diffusers_impl.py,sha256=drq3EH_yjcSuIWYsVeUWm8Cx6YCZFU6bP_1PLtPfY5I,945
|
|
133
136
|
onnx_diagnostic/torch_export_patches/serialization/transformers_impl.py,sha256=sIHFvUQoMK8ytXQYB-k7OL62z8A3f5uDaq-S5R5uN-M,10034
|
|
134
137
|
onnx_diagnostic/torch_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
135
138
|
onnx_diagnostic/torch_models/code_sample.py,sha256=rCDZY64pkn6uIbJJSBuC5TlU_-uleI73I9GlbXtJd54,12923
|
|
136
139
|
onnx_diagnostic/torch_models/llms.py,sha256=soyg4yC87ptGoeulJhKqw5opGmuLvH1pn_ZDXZ4Jr8E,90
|
|
137
|
-
onnx_diagnostic/torch_models/validate.py,sha256=
|
|
140
|
+
onnx_diagnostic/torch_models/validate.py,sha256=JsEMv7aeg9tGGriKZ_CJeqGDfNUmZNdGtPu5jQN9TWY,96739
|
|
138
141
|
onnx_diagnostic/torch_models/hghub/__init__.py,sha256=vi1Q7YHdddj1soiBN42MSvJdFqe2_KUoWafHISjwOu8,58
|
|
139
|
-
onnx_diagnostic/torch_models/hghub/hub_api.py,sha256=
|
|
140
|
-
onnx_diagnostic/torch_models/hghub/hub_data.py,sha256=
|
|
142
|
+
onnx_diagnostic/torch_models/hghub/hub_api.py,sha256=V3azxUqb7mkmHQ8m5DCgg1WUU2NYBK12USEUy_sfYIA,14709
|
|
143
|
+
onnx_diagnostic/torch_models/hghub/hub_data.py,sha256=6jR8A83cGP4Xw1Wg-q1zzKFpqzoVrybqm0Fm3yurkrE,9030
|
|
141
144
|
onnx_diagnostic/torch_models/hghub/hub_data_cached_configs.py,sha256=Dxa13rsnTQ8eH_BcQvbY2bp1AYFtzuFrJ-J_urrSmeQ,292694
|
|
142
|
-
onnx_diagnostic/torch_models/hghub/model_inputs.py,sha256=
|
|
145
|
+
onnx_diagnostic/torch_models/hghub/model_inputs.py,sha256=XahJ-m6ajdXg6vFGUOfV5IvFwn-yjAsIOU37nISbBoo,17646
|
|
143
146
|
onnx_diagnostic/torch_models/hghub/model_specific.py,sha256=j50Nu7wddJMoqmD4QzMbNdFDUUgUmSBKRzPDH55TlUQ,2498
|
|
144
147
|
onnx_diagnostic/torch_models/untrained/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
145
148
|
onnx_diagnostic/torch_models/untrained/llm_phi2.py,sha256=y_akbdApi136qHcEQgykwIAYVw0Yfi0lbjb3DNuafaU,3948
|
|
@@ -149,8 +152,8 @@ onnx_diagnostic/torch_onnx/compare.py,sha256=O0lws4kzn8WAXr8-x-YMPr7oyBC9DtSIs4O
|
|
|
149
152
|
onnx_diagnostic/torch_onnx/runtime_info.py,sha256=u1bD6VXqzBCRmqmbzQtDswaPs1PH_ygr1r-CrcfXpNU,8562
|
|
150
153
|
onnx_diagnostic/torch_onnx/sbs.py,sha256=8okBEIupMgw7TtKc80YFimMtwnY3GchdY05FsA9ooa0,40749
|
|
151
154
|
onnx_diagnostic/torch_onnx/sbs_dataclasses.py,sha256=UctdBjzoPTQG1LS0tZ8A6E9hpoq5HWUYaJLPOPJc9FI,20299
|
|
152
|
-
onnx_diagnostic-0.8.
|
|
153
|
-
onnx_diagnostic-0.8.
|
|
154
|
-
onnx_diagnostic-0.8.
|
|
155
|
-
onnx_diagnostic-0.8.
|
|
156
|
-
onnx_diagnostic-0.8.
|
|
155
|
+
onnx_diagnostic-0.8.8.dist-info/licenses/LICENSE.txt,sha256=Vv6TXglX6Rc0d-f8aREhayhT-6PMQXEyOmI2NKlUCMc,1045
|
|
156
|
+
onnx_diagnostic-0.8.8.dist-info/METADATA,sha256=sxPBIjOSLqQITi527dnl_3gk3RxT9kNCu47gPPyrg7Q,6905
|
|
157
|
+
onnx_diagnostic-0.8.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
158
|
+
onnx_diagnostic-0.8.8.dist-info/top_level.txt,sha256=KwNkXewmcobM3ZT1DJLVWH6ebJzA5qKg7cWqKfpGNT4,16
|
|
159
|
+
onnx_diagnostic-0.8.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|