quantization#

Modules

modelopt.torch.kernels.quantization.attention

Quantization-specific attention kernel pieces.

modelopt.torch.kernels.quantization.common

Shared composable Triton JIT fake-quantization functions.

modelopt.torch.kernels.quantization.conv

Implicit-GEMM CUDA kernel for quantized 3D convolution.

modelopt.torch.kernels.quantization.gemm

Triton quantization kernels.

modelopt.torch.kernels.quantization.iq_gemm

Packed GGML projections with bounded tile storage in both autograd directions.

modelopt.torch.kernels.quantization.iq_grouped_gemm

Persistent GGML expert tiles using GPU routing offsets and compact pointer tables.

modelopt.torch.kernels.quantization.linear_attention

Linear-attention kernels for quantization.

modelopt.torch.kernels.quantization.repair

Fused application/reduction of immutable integer levels and learned block scales.

Quantization kernels: conv (implicit GEMM) and gemm (tensor_quant + Triton FP4/FP8).