Skip to content

Compatibility of Quant3Linear and 4-bit quantization #48

@mynotwo

Description

@mynotwo

Hi! I've noticed that the quantization layer would pack the quantized weight using class Quant3Linear, as shown below:
image

However, it seems to me that it only suits for 2bits and 3bits weights. If the original weights in $intweight is 4bits, some bits would be lost.

Could you explain the logic behind this? Thanks!

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