[Bug] v0.12.2-cu12.8部署qwen3.5的时候请,求任何内容出现 illegal memory

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

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

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

2026年3月22日 から。

評価

この 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

latest-cu128 在单卡2080TI( 22G显存 ) + 8卡成功部署了Qwen3.5-35B-A3B。但是用请求测试的时候出现illegal memory 错误

Reproduction

docker run -d
--runtime nvidia
--gpus '"device=0,1,2,3,4,5,6,7"'
--name lmdeploy_ht
-v /data/model/hugginface:/models
-v ~/.cache/huggingface:/root/.cache/huggingface
-p 23333:23333
--ipc=host
--shm-size=128g
docker.1ms.run/openmmlab/lmdeploy:v0.12.2-cu12.8
tail -f /dev/null
docker exec -it lmdeploy_ht bash

lmdeploy serve api_server /models/Qwen/Qwen3.5-35B-A3B
--tp 8
--cache-max-entry-count 0.8
--log-level INFO
--max-concurrent-requests 4
--model-name pkumlm_txt
--backend turbomind
--max_batch_size 64
--cache-block-seq-len 32

Image Image
Environment
v0.12.2-cu12.8
单卡2080TI(  22G显存 ) * 8卡
Qwen3.5-35B-A3B
Error traceback
curl  -H "Accept: application/json"  -H "Content-type: application/json"   -X POST  -d '{"model": "pkumlm_txt","messages":[{"role":"user","content":"你是谁"} ]}'   http://192.168.1.36:23333/v1/chat/completions

报错
2026-03-19 12:52:50,954 - lmdeploy - INFO - turbomind.py:687 - [async_stream_infer] session 1 start
[TM][INFO] [SeqMgr][Create] ID 1
[TM][WARNING] [ProcessInferRequests] [1] total sequence length (11 + 262133) exceeds `session_len` (258368), `max_new_tokens` is truncated to 258357
invalid argument
主要言語
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 を短くまとめたダイジェスト。