File size: 424 Bytes
e8805c1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""Compression recipe used to create this checkpoint.

Run quantization from the original BF16 checkpoint, not from an already
quantized checkpoint.
"""

from llmcompressor.modifiers.quantization import QuantizationModifier


RECIPE = QuantizationModifier(
    targets="Linear",
    scheme="FP8_DYNAMIC",
    ignore=[
        "re:.*vision_tower.*",
        "re:.*multi_modal_projector.*",
        "re:.*lm_head.*",
    ],
)