Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Missing quantization type #15

Description

@damian1996
class BitPrecision(Enum):
    none = 'none'
    int8 = 'int8'
    int4 = 'int4'
    float16 = 'float16'
    float32 = 'float32'


class Method(Enum):
    None_ = 'None'
    dynamic = 'dynamic'
    static = 'static'


class Quantization(BaseModel):
    bit_precision: BitPrecision = Field(..., description='Quantization bit precision')
    method: Method = Field(..., description='Quantization method')

We should add type field to Quantization class because the model results depends on the quant type (for example qptq, awq and so on).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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