Skip to content

Commit 001927f

Browse files
fix lint
1 parent e1b1564 commit 001927f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/models/llama/source_transformation/quantize.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ def quantize( # noqa C901
7777
matches = re.findall(pattern, qmode)
7878
assert len(matches) == 1, f"Expected 1 match for pattern but got {len(matches)}"
7979
bitwidth = int(matches[0][0])
80-
_load_torchao_aten_lib(libname="libtorchao_ops_mps_linear_fp_act_xbit_weight_aten")
80+
_load_torchao_aten_lib(
81+
libname="libtorchao_ops_mps_linear_fp_act_xbit_weight_aten"
82+
)
8183
from torchao.experimental.quant_api import UIntxWeightOnlyLinearQuantizer
8284

8385
with torch.no_grad():

0 commit comments

Comments
 (0)