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

Abierto
#4,484 3 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 2 días

@43758726 ya está trabajando en esto.

Desde el 29/4/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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

Lenguaje dominante
Python
Estrellas
8.2k
Forks
797
Merge medio
3 d 15 h
PR fusionados (30 d)
52

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de InternLM/lmdeploy

Todos los issues de InternLM/lmdeploy

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.