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
  • Loading branch information
Ted Themistokleous committed Aug 22, 2024
1 parent c604fe9 commit a5ad8b2
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 a5ad8b2

Please sign in to comment.