Skip to content

Commit 7aa4514

Browse files
authored
Fix typo in CPU offload test (#7542)
update
1 parent c2e8786 commit 7aa4514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pipelines/test_pipelines_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ def test_sequential_offload_forward_pass_twice(self, expected_max_diff=2e-4):
11811181
inputs = self.get_dummy_inputs(generator_device)
11821182
output_with_offload = pipe(**inputs)[0]
11831183

1184-
pipe.nable_sequential_cpu_offload()
1184+
pipe.enable_sequential_cpu_offload()
11851185
inputs = self.get_dummy_inputs(generator_device)
11861186
output_with_offload_twice = pipe(**inputs)[0]
11871187

0 commit comments

Comments
 (0)