Skip to content

Commit 1b22d86

Browse files
committed
style
Signed-off-by: Kyle Sayers <[email protected]>
1 parent feb0c38 commit 1b22d86

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/quantization_w8a8_fp8/fp8_block_example.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
# In this case, we:
1616
# * quantize the weights to fp8 with per channel via ptq
1717
# * quantize the activations to fp8 with dynamic per token
18-
recipe = QuantizationModifier(
19-
targets="Linear", scheme="FP8_BLOCK", ignore=["lm_head"]
20-
)
18+
recipe = QuantizationModifier(targets="Linear", scheme="FP8_BLOCK", ignore=["lm_head"])
2119

2220
# Apply quantization.
2321
oneshot(model=model, recipe=recipe)

0 commit comments

Comments
 (0)