Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions QEfficient/base/modeling_qeff.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,12 @@ def _compile(

For QNN Compilation path, when enable_qnn is set to True, any parameter passed in compiler_options will be ignored.
"""
# Backward-compatible alias accepted by some APIs.
if "aic_perf_warning" in compiler_options:
if "aic_perf_warnings" not in compiler_options:
compiler_options["aic_perf_warnings"] = compiler_options["aic_perf_warning"]
compiler_options.pop("aic_perf_warning", None)

onnx_path = Path(
onnx_path
if onnx_path
Expand Down
Loading
Loading