File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -409,12 +409,12 @@ def deferred_for_real_inputs(real_inputs):
409409 log .warning ("Accuracy failed for the AOT Autograd graph" )
410410 dump_compiler_graph_state (
411411 fx .GraphModule (gm , orig_graph ),
412- real_inputs ,
412+ example_inputs ,
413413 f"{ compiler_name } _accuracy" ,
414414 )
415415 dump_to_minify (
416416 fx .GraphModule (gm , orig_graph ),
417- real_inputs ,
417+ example_inputs ,
418418 f"{ compiler_name } _accuracy" ,
419419 )
420420 raise ValueError ("Bad accuracy detected" )
@@ -431,11 +431,15 @@ def deferred_for_real_inputs(real_inputs):
431431 except Exception as e :
432432 if config .repro_level == 1 :
433433 dump_compiler_graph_state (
434- fx .GraphModule (gm , orig_graph ), real_inputs , compiler_name
434+ fx .GraphModule (gm , orig_graph ),
435+ example_inputs ,
436+ compiler_name ,
435437 )
436438 elif config .repro_level == 2 :
437439 dump_to_minify (
438- fx .GraphModule (gm , orig_graph ), real_inputs , compiler_name
440+ fx .GraphModule (gm , orig_graph ),
441+ example_inputs ,
442+ compiler_name ,
439443 )
440444 raise e
441445
You can’t perform that action at this time.
0 commit comments