Skip to content

[Feature]: CompressedTensors: NVFP4A16 not supported for MoE models#30694

Description

@zhangyimi

馃殌 The feature, motivation and pitch

NVFP4A16 (W4A16 FP4) quantization via compressed_tensors works for dense models but fails on MoE models like Qwen3-30B-A3B.

Looking at compressed_tensors_moe.py, _is_fp4a16_nvfp4 is checked for Linear layers but not in get_moe_method() for FusedMoE. Only W4A4 has a MoE method (CompressedTensorsW4A4Nvfp4MoEMethod).

Since the Marlin kernel already supports FP4 weights + FP16 activations, is there a plan to add W4A16 MoE support for compressed_tensors?

Alternatives

No response

Additional context

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or requeststaleOver 90 days of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions