Skip to content

Commit af57070

Browse files
committed
update
1 parent d3010dd commit af57070

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

tests/quantization/bnb/test_4bit.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -880,8 +880,5 @@ def test_torch_compile(self):
880880
def test_torch_compile_with_cpu_offload(self):
881881
super()._test_torch_compile_with_cpu_offload(quantization_config=self.quantization_config)
882882

883-
@pytest.mark.xfail(
884-
reason="Test fails because of an illegal memory access.",
885-
)
886883
def test_torch_compile_with_group_offload(self):
887884
super()._test_torch_compile_with_group_offload(quantization_config=self.quantization_config)

tests/quantization/test_torch_compile_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ def _test_torch_compile_with_group_offload(self, quantization_config, torch_dtyp
7171
group_offload_kwargs = {
7272
"onload_device": torch.device("cuda"),
7373
"offload_device": torch.device("cpu"),
74-
"offload_type": "block_level",
75-
"num_blocks_per_group": 1,
74+
"offload_type": "leaf_level",
7675
"use_stream": True,
7776
"non_blocking": True,
7877
}

0 commit comments

Comments
 (0)