Skip to content

Commit 47fb158

Browse files
authored
Remove QDQ and Opset Coupling for TRT RTX EP (microsoft#1692)
Remove the need to provide `use_qdq` for the TRT RTX EP to get opset 21 since the default opset in model builder is now opset 21. The `use_qdq` flag can still be used if the user wishes.
1 parent b92970c commit 47fb158

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/python/py/models/builder.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4185,10 +4185,6 @@ def check_extra_options(kv_pairs):
41854185
# 'include_hidden_states' is for when 'hidden_states' are outputted and 'logits' are outputted
41864186
raise ValueError("Both 'exclude_lm_head' and 'include_hidden_states' cannot be used together. Please use only one of them at once.")
41874187

4188-
# NvTensorRtRtx EP requires Opset 21, so force use_qdq which controls it.
4189-
if args.execution_provider == "NvTensorRtRtx":
4190-
kv_pairs["use_qdq"] = True
4191-
41924188

41934189
def parse_extra_options(kv_items):
41944190
"""

0 commit comments

Comments
 (0)