Overview of Blockwise FP8 Quantization
mainThis implementation provides blockwise quantization based on the DeepSeek method. It optimizes inference by quantizing activations and weight matrices into specific block sizes using the FP8 format.
Quantization Specifications:
- Activations: Quantized in blocks of size
128x1. - Weight Matrices: Quantized in blocks of size
128x128.
The kernels are implemented using Triton and currently support the following torch types:
torch.float8_e4m3fntorch.float8_e5m2