Int4WeightOnlyEmbeddingQATQuantizer¶
- class torchao.quantization.qat.Int4WeightOnlyEmbeddingQATQuantizer(group_size: int = 256, scale_precision: dtype = torch.float32, zero_point_precision: dtype = torch.int32)[source]¶
Quantizer for performing QAT on a model, where embedding layers have int4 fake quantized grouped per channel weights.