Skip to content

Commit 8359e1a

Browse files
titaiwangmsfacebook-github-bot
authored andcommitted
Fix torch_onnx patch accuracy bug in benchmark (#130586)
Summary: The ONNX related compilers have another route of accuracy check, and this PR brings torch_onnx compiler to the right measurement. X-link: pytorch/pytorch#130586 Approved by: https://github.com/justinchuby Reviewed By: izaitsevfb Differential Revision: D59724163 fbshipit-source-id: 5bdaa15e433d1908a20011d1ea6c370da9242850
1 parent 35489f1 commit 8359e1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

userbenchmark/dynamo/dynamobench/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4005,7 +4005,7 @@ def run(runner, args, original_dir=None):
40054005
)
40064006
experiment = speedup_experiment_onnx
40074007
output_filename = "torch_onnx_patch.csv"
4008-
current_onnx_compiler = "torch_onnx_patch"
4008+
current_onnx_compiler = "dynamo"
40094009
elif args.dynamo_onnx:
40104010
optimize_ctx = functools.partial(
40114011
optimize_onnx_ctx,

0 commit comments

Comments
 (0)