File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1777,7 +1777,7 @@ def test_torch_compile_recompilation_and_graph_break(self):
17771777 _ = model (** inputs_dict )
17781778 _ = model (** inputs_dict )
17791779
1780- def test_compilation_with_group_offloading (self ):
1780+ def test_compile_with_group_offloading (self ):
17811781 torch ._dynamo .config .cache_size_limit = 10000
17821782
17831783 init_dict , inputs_dict = self .prepare_init_args_and_inputs_for_common ()
@@ -1798,11 +1798,7 @@ def test_compilation_with_group_offloading(self):
17981798 }
17991799 model .enable_group_offload (** group_offload_kwargs )
18001800 model .compile ()
1801- with (
1802- torch ._inductor .utils .fresh_inductor_cache (),
1803- torch ._dynamo .config .patch (error_on_recompile = True ),
1804- torch .no_grad (),
1805- ):
1801+ with torch .no_grad ():
18061802 _ = model (** inputs_dict )
18071803 _ = model (** inputs_dict )
18081804
You can’t perform that action at this time.
0 commit comments