Skip to content

Commit

Permalink
Remove default noopt for migraphx. use -o no_opt instead on select sc…
Browse files Browse the repository at this point in the history
…ripts (#58)

Co-authored-by: Ted Themistokleous <[email protected]>
  • Loading branch information
TedThemistokleous and Ted Themistokleous authored Aug 22, 2024
1 parent c604fe9 commit 8a43be8
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions onnxruntime/python/tools/transformers/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,6 @@ def run_onnxruntime(
)
return results

if provider == "migraphx":
optimizer_info = OptimizerInfo.NOOPT
warm_up_repeat = 5
if "MIGraphXExecutionProvider" not in onnxruntime.get_available_providers():
logger.error(
"Please install onnxruntime-rocm package, and use a machine with GPU for testing gpu performance."
)
return results

if optimizer_info == OptimizerInfo.NOOPT:
logger.warning(
f"OptimizerInfo is set to {optimizer_info}, graph optimizations specified in FusionOptions are not applied."
Expand Down

0 comments on commit 8a43be8

Please sign in to comment.