Repository navigation
v0.2.8
New Features
- Add double-quantization support for scales and zero points with
scale_dtype,zero_point_dtypeanduse_codebook_scale.- The default
zero_point_dtypevalueNonemeans it will use the same value fromscale_dtype. - NVFP4 is an example of double-quantization using:
weights_dtype=float4_e2m1fnscale_dtype=float8_e4m3fngroup_size=16
- The default
Changes
- Add default values to
SDNQDequantizer. - Refactor SDNQTensor to use
sdnq.common.sdnq_keysinstead of hard-coded keys. - Move the SDNQ Atten backward pass dQ and dK sm_scale scaling to occur after the matmul instead of scaling dS before the matmul (aka the 3rd fix from KohakuFA).
Fixes
- Fix kahan_buffer init on optimizers.
- Fix float attn_mask accuracy on SDNQ Atten.
Full Changelog: v0.2.7...v0.2.8