[Qwen4Exp] Repair: import Qwen4ExpTextConfig from transformers
Upstream e3cae8d2ac (#57387) deleted vllm/transformers_utils/configs/
qwen4_exp.py and moved the config family into the model package, so
that module path no longer resolves. transformers 5.18 exports the
config itself, which is how the rest of this fork imports it
(nvidia/model.py, amd/mtp.py, and nvidia/qsa.py at the base).
vllm/models/qwen4_exp/common/mtp.py carried the dead path at the base,
which made the Qwen4Exp model package fail to import at all; the PLE
pull transport and the FP8-KV reader added two more users of it.
Co-Authored-By: Hinata <hinata@idihore.id>
Signed-off-by: MOVZX <movzx@yahoo.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
import torch
|
||||
|
||||
from vllm.config import VllmConfig
|
||||
from vllm.transformers_utils.configs.qwen4_exp import Qwen4ExpTextConfig
|
||||
from transformers import Qwen4ExpTextConfig
|
||||
|
||||
|
||||
def make_mtp_hidden_buffer(
|
||||
|
||||
Reference in New Issue
Block a user