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 (microsoft#58)

Co-authored-by: Ted Themistokleous <[email protected]>
  • Loading branch information
TedThemistokleous and Ted Themistokleous committed Aug 23, 2024
1 parent 4c4ae1e commit 490d7f4
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 @@ -135,15 +135,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 490d7f4

Please sign in to comment.