---
id: pr-vllm-21166
repo: vllm-project/vllm
pr: 21166
title: '[Feature][OCP MX] Support mxfp6 and mixed mxfp6-mxfp4'
author: fxmarty-amd
date: '2025-10-07'
url: https://github.com/vllm-project/vllm/pull/21166
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- fp8
- kernel-fusion
- moe
- quantization
techniques:
- kernel-fusion
hardware_features:
- fp4
- fp8
kernel_types:
- moe
- quantization
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 41f1cf38f2e14b44842ea76011282efec2e8fd56
inclusion_reason: kernel file changes
changed_paths:
- docs/features/quantization/quark.md
- tests/kernels/moe/test_ocp_mx_moe.py
- tests/quantization/test_quark.py
- vllm/model_executor/layers/fused_moe/config.py
- vllm/model_executor/layers/fused_moe/fused_batched_moe.py
- vllm/model_executor/layers/fused_moe/fused_moe.py
- vllm/model_executor/layers/fused_moe/utils.py
- vllm/model_executor/layers/quantization/mxfp4.py
- vllm/model_executor/layers/quantization/quark/quark.py
- vllm/model_executor/layers/quantization/quark/quark_moe.py
- vllm/model_executor/layers/quantization/quark/schemes/__init__.py
- vllm/model_executor/layers/quantization/quark/schemes/quark_ocp_mx.py
- vllm/model_executor/layers/quantization/utils/mxfp4_utils.py
- vllm/model_executor/layers/quantization/utils/mxfp6_utils.py
- vllm/model_executor/layers/quantization/utils/mxfp8_utils.py
- vllm/model_executor/layers/quantization/utils/ocp_mx_utils.py
- vllm/scalar_type.py
- vllm/utils/flashinfer.py
head_ref_oid: fb0d1ac0df1ea46d3db54b325a0b21d2ec4df6c3
artifact_dir: evidence/pull-bundles/vllm/gh-21166
---
# [Feature][OCP MX] Support mxfp6 and mixed mxfp6-mxfp4

- Repository: `vllm-project/vllm`
- PR: [21166](https://github.com/vllm-project/vllm/pull/21166)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `docs/features/quantization/quark.md`
- `tests/kernels/moe/test_ocp_mx_moe.py`
- `tests/quantization/test_quark.py`
- `vllm/model_executor/layers/fused_moe/config.py`
- `vllm/model_executor/layers/fused_moe/fused_batched_moe.py`
- `vllm/model_executor/layers/fused_moe/fused_moe.py`
- `vllm/model_executor/layers/fused_moe/utils.py`
- `vllm/model_executor/layers/quantization/mxfp4.py`
- `vllm/model_executor/layers/quantization/quark/quark.py`
- `vllm/model_executor/layers/quantization/quark/quark_moe.py`
- `vllm/model_executor/layers/quantization/quark/schemes/__init__.py`
- `vllm/model_executor/layers/quantization/quark/schemes/quark_ocp_mx.py`
- `vllm/model_executor/layers/quantization/utils/mxfp4_utils.py`
- `vllm/model_executor/layers/quantization/utils/mxfp6_utils.py`
- `vllm/model_executor/layers/quantization/utils/mxfp8_utils.py`
- `vllm/model_executor/layers/quantization/utils/ocp_mx_utils.py`
- `vllm/scalar_type.py`
- `vllm/utils/flashinfer.py`

## Evidence Bundle

`evidence/pull-bundles/vllm/gh-21166`
