Commit 54cefb2
Add --trt_build flag to torch_quant_to_onnx and simplify tests
Move TRT engine build logic into the script as a --trt_build flag,
removing the duplicate trtexec invocation from the test file.
Signed-off-by: ajrasane <arasane@nvidia.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: ajrasane <131806219+ajrasane@users.noreply.github.com>1 parent 9810e1d commit 54cefb2
File tree
2 files changed
+27
-34
lines changed- examples/torch_onnx
- tests/examples/torch_onnx
2 files changed
+27
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
395 | 396 | | |
396 | 397 | | |
397 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
398 | 404 | | |
399 | 405 | | |
400 | 406 | | |
| |||
496 | 502 | | |
497 | 503 | | |
498 | 504 | | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
499 | 525 | | |
500 | 526 | | |
501 | 527 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
| |||
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 31 | | |
61 | 32 | | |
62 | 33 | | |
63 | 34 | | |
64 | 35 | | |
65 | 36 | | |
66 | 37 | | |
67 | | - | |
68 | 38 | | |
69 | 39 | | |
70 | 40 | | |
| |||
74 | 44 | | |
75 | 45 | | |
76 | 46 | | |
77 | | - | |
| 47 | + | |
78 | 48 | | |
79 | | - | |
80 | | - | |
81 | | - | |
0 commit comments