Skip to content

Commit aa6ef46

Browse files
Fix lint
Signed-off-by: Thara Palanivel <[email protected]>
1 parent d9d12ea commit aa6ef46

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

fms_mo/run_quant.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,8 @@ def quantize(
9595
run_dq(model_args, data_args, opt_args, fms_mo_args)
9696
else:
9797
raise ValueError(
98-
"{} is not a valid quantization technique option. Please choose from: gptq, fp8, dq".format(
99-
opt_args.quant_method
100-
)
98+
f"{opt_args.quant_method} is not a valid quantization technique option. \
99+
Please choose from: gptq, fp8, dq"
101100
)
102101

103102

0 commit comments

Comments
 (0)