Skip to content

vllm.model_executor.layers.fusion.act_nvfp4_quant

Functions:

  • act_nvfp4_quant –

    Fuse ReLU2 or exact GELU, selected by act ("relu2" or "gelu"), and block16

act_nvfp4_quant(x, linear, act)

Fuse ReLU2 or exact GELU, selected by act ("relu2" or "gelu"), and block16 NVFP4 with 128x4 swizzled scales.