Skip to content

Weight Protective Quantization Range -119, 119 #60

@Jzz24

Description

@Jzz24

https://github.com/mit-han-lab/omniserve/blob/main/omniserve/modeling/layers/quantized_linear/w4a8_linear.py#L176, it seems we do not quantize the int8 w to range [-119, 119]? And how to caculate the s1_scale? just like the int8 quantization? but use qmin=-119, qmax=119?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions