Reminder
Description
Intel AutoRound format seems to very reliably produce quantized weights that are high-quality when using a good calibration dataset, and can produce a format with scaled block sizes of 64, matching the AMXINT4 and AMXINT8 block sizes. From my understanding, the only parts missing would be numa optimization and VNNI repacking of the blocks to allow quick decode with AVX512 instructions on Xeon CPUs.
Intel AutoRound is natively supported by sglang, meaning that the only gaps would be packaging the groups for AMX prefill + AVX512 decode + NUMA node optimization on the CPU-side.
Optimally, the integration would involve allowing the user to select the specific quantization algorithm as intel autoround for the actual quantization part of convert_cpu_weights.py, while leaving the other sections untouched.
As a stretch goal: supporting the lowest-bit formats like W2A16 and W3A16 produced by autoround would be great too, and allow for very-low-bit format support in ktransformers.
Pull Request
No response
Reminder
Description
Intel AutoRound format seems to very reliably produce quantized weights that are high-quality when using a good calibration dataset, and can produce a format with scaled block sizes of 64, matching the AMXINT4 and AMXINT8 block sizes. From my understanding, the only parts missing would be numa optimization and VNNI repacking of the blocks to allow quick decode with AVX512 instructions on Xeon CPUs.
Intel AutoRound is natively supported by sglang, meaning that the only gaps would be packaging the groups for AMX prefill + AVX512 decode + NUMA node optimization on the CPU-side.
Optimally, the integration would involve allowing the user to select the specific quantization algorithm as intel autoround for the actual quantization part of convert_cpu_weights.py, while leaving the other sections untouched.
As a stretch goal: supporting the lowest-bit formats like W2A16 and W3A16 produced by autoround would be great too, and allow for very-low-bit format support in ktransformers.
Pull Request
No response