vllm - 💡(How to fix) Fix [Quantization] Humming MoE import uses a non-existent RoutedExperts submodule [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

The import fails because vllm.model_executor.layers.fused_moe.routed_experts is not present in the tree.

Fix Action

Fixed

Code Example

from vllm.model_executor.layers.fused_moe.routed_experts import RoutedExperts

---

import vllm.model_executor.layers.quantization.utils.humming_utils

---

from vllm.model_executor.layers.fused_moe import RoutedExperts
RAW_BUFFERClick to expand / collapse

What happened

vllm/model_executor/layers/quantization/utils/humming_utils.py currently imports:

from vllm.model_executor.layers.fused_moe.routed_experts import RoutedExperts

That submodule does not exist on main.

RoutedExperts is exported from vllm.model_executor.layers.fused_moe itself, so the Humming helper is importing from a stale path and raises ModuleNotFoundError as soon as the Humming MoE helper gets imported.

Why it matters

This is on the Humming / MXFP4 MoE path, so the backend crashes when code reaches get_humming_moe_quant_config or prepare_humming_moe_layer.

Repro

With Humming installed:

import vllm.model_executor.layers.quantization.utils.humming_utils

The import fails because vllm.model_executor.layers.fused_moe.routed_experts is not present in the tree.

History

This looks like a regression from #40735 (4d591db47), which switched humming_utils.py over to RoutedExperts but pointed it at fused_moe.routed_experts instead of the alias exported from fused_moe.__init__.

Expected fix

Import from:

from vllm.model_executor.layers.fused_moe import RoutedExperts

instead of the missing fused_moe.routed_experts submodule.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

vllm - 💡(How to fix) Fix [Quantization] Humming MoE import uses a non-existent RoutedExperts submodule [1 pull requests]