[Bug] lmdeploy run qwen3.5-122b-a10b-awq , which transformers version?

オープン
#4,484 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@43758726 がすでに取り組んでいます。

2026年4月29日 から。

評価

この issue はまだ評価されていません。

説明

Checklist
  • 1. I have searched related issues but cannot get the expected help.
  • 2. The bug has not been fixed in the latest version.
  • 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
Describe the bug

run : CUDA_VISIBLE_DEVICES=0,1,2,3
lmdeploy serve api_server /home/eric/Qwen3.5-122b-A10B-AWQ --backend pytorch --tp 4 --server-name 0.0.0.0 --server-port 8001 --log-level INFO

The argument trust_remote_codeis to be used with Auto classes. It has no effect here and is ignored. You are using a model of type qwen3_5_moe to instantiate a model of type . This is not supported for all configurations of models and can yield errors. 2026-04-01 16:16:59,225 - lmdeploy - WARNING - archs.py:45 - Fallback to pytorch engine because/home/eric/Qwen3.5-122b-A10B-AWQnot supported by turbomind engine. The argumenttrust_remote_codeis to be used with Auto classes. It has no effect here and is ignored. You are using a model of type qwen3_5_moe to instantiate a model of type . This is not supported for all configurations of models and can yield errors. The argumenttrust_remote_codeis to be used with Auto classes. It has no effect here and is ignored. You are using a model of type qwen3_5_moe to instantiate a model of type . This is not supported for all configurations of models and can yield errors. The argumenttrust_remote_codeis to be used with Auto classes. It has no effect here and is ignored. You are using a model of type qwen3_5_moe to instantiate a model of type . This is not supported for all configurations of models and can yield errors. The argumenttrust_remote_codeis to be used with Auto classes. It has no effect here and is ignored. You are using a model of type qwen3_5_moe to instantiate a model of type . This is not supported for all configurations of models and can yield errors. The argumenttrust_remote_codeis to be used with Auto classes. It has no effect here and is ignored. You are using a model of type qwen3_5_moe to instantiate a model of type . This is not supported for all configurations of models and can yield errors. The argumenttrust_remote_codeis to be used with Auto classes. It has no effect here and is ignored. You are using a model of type qwen3_5_moe to instantiate a model of type . This is not supported for all configurations of models and can yield errors. 2026-04-01 16:17:01,100 - lmdeploy - WARNING - utils.py:340 - The model's config.json does not contain any of the following keys to determine the original maximum length of the model: ['max_position_embeddings', 'n_positions', 'max_seq_len', 'seq_length', 'model_max_length', 'max_sequence_length', 'max_seq_length', 'seq_len']. Assuming the model's maximum length is 2048. 2026-04-01 16:17:07,504 - lmdeploy - ERROR - base.py:55 - ValueError: The checkpoint you are trying to load has model typeqwen3_5_moe` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.

You can update Transformers with the command pip install --upgrade transformers. If this does not work, and the checkpoint is very new, then there may not be a release version that supports this model yet. In this case, you can get the most up-to-date code by installing Transformers from source with the command pip install git+https://github.com/huggingface/transformers.git
2026-04-01 16:17:07,504 - lmdeploy - ERROR - base.py:56 - check failed!
Load model config with transformers==4.57.1 failed. Please make sure model can be loaded with transformers API.`

Reproduction

lmdeploy serve api_server /home/eric/Qwen3.5-122b-A10B-AWQ
--model-format awq
--tp 4
--server-port 23333 \

Environment
4 gpu titan NVIDIA TITAN RTX ,96g 
cuda version : 13.1 
nvidia-smi : 590.48.01
Error traceback

主要言語
Python
スター
8.2k
フォーク
797
平均マージ
3日 15時間
マージ済み PR(30日)
52

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

InternLM/lmdeploy のほかの issue

InternLM/lmdeploy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。