Skip to content

Commit 0561b1a

Browse files
authored
Disable register_da8w4_concat_linear_cpu_pass (#2623)
Summary: at Differential Revision: D79130500
1 parent 0c3dc6b commit 0561b1a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/quantization/test_da8w4_cpu.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def test_8da4w_cpu(self, dtype, x_dim, bias, bs, sym_quant_a):
123123
@common_utils.parametrize("x_dim", [2, 3])
124124
@common_utils.parametrize("bias", [True, False])
125125
def test_8da4w_concat_linear_cpu(self, x_dim, bias):
126+
self.skipTest("Disabled for now")
126127
N, K = 64, 128
127128

128129
class Mod(torch.nn.Module):

torchao/dtypes/uintx/dyn_int8_act_int4_wei_cpu_layout.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,6 @@ def _linear_int8_act_int4_weight_cpu_impl(input_tensor, weight_tensor, bias):
317317

318318

319319
# Register the concat linear fusion pass
320-
from ...prototype.inductor.fx_passes import register_da8w4_concat_linear_cpu_pass
320+
# from ...prototype.inductor.fx_passes import register_da8w4_concat_linear_cpu_pass
321321

322-
register_da8w4_concat_linear_cpu_pass()
322+
# register_da8w4_concat_linear_cpu_pass()

0 commit comments

Comments
 (0)