Skip to content

vllm.model_executor.layers.quantization.quark.schemes.quark_ocp_mx

Classes:

QuarkOCP_MX

Bases: QuarkScheme, InputHadamardFusable

_expanding_scale_loader(weight_loader)

Expand a 2-D block scale to one row per weight row.

A block_size=[R, 32] export carries one e8m0 value per R weight rows; the kernels want one per row. At R == 1 the layouts already coincide, so the loader is passed through untouched.