[Bug] 多模型下输入图片提示没有ResizeD等操作,无法使用多模态,只能纯文本推理
- Dominant language
- Python
- Stars
- 8.1k
- Forks
- 748
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 54
Description
### 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
平台310p
CANN: 8.2.rc1
torch_npu:2.6.0
torchvision:2.6.0
driver: 25.2.0
lmdeploy:v0.10.0
dlinfer-ascend:0.22
在用lmdeploy跑Internvl3_5系列的LLM时,多模型下输入图片提示没有ResizeD等操作,无法使用多模态,只能纯文本推理,之前也不支持Internvl3,或internvl2_5,internvl2系列模型,在降级lmdeploy(0.9.2,0.7.0.post3)也都不支持LLM推理
### Reproduction
lmdeploy serve api_server /workspace/InternVL3-8B --backend pytorch --device ascend
### Environment
```Shell
absl-py 2.3.1
accelerate 1.10.1
addict 2.4.0
aiohappyeyeballs 2.6.1
aiohttp 3.13.0
aiosignal 1.4.0
annotated-types 0.7.0
anyio 4.11.0
async-timeout 5.0.1
attrs 25.4.0
auto_tune 0.1.0
certifi 2025.10.5
charset-normalizer 3.4.3
click 8.2.2
cloudpickle 3.1.1
cmake 4.1.0
cmake-build-extension 0.6.1
dataflow 0.0.1
datasets 4.2.0
decorator 5.2.1
dill 0.4.0
diskcache 5.6.3
distro 1.9.0
dlinfer-ascend 0.2.2 /workspace/dlinfer
einops 0.8.1
exceptiongroup 1.3.0
fastapi 0.119.0
filelock 3.20.0
fire 0.7.1
frozenlist 1.8.0
fsspec 2025.9.0
gitdb 4.0.12
GitPython 3.1.45
h11 0.16.0
hccl 0.1.0
hccl_parser 0.1
hf-xet 1.1.10
httpcore 1.0.9
httpx 0.28.1
huggingface-hub 0.35.3
idna 3.11
interegular 0.3.3
Jinja2 3.1.6
jiter 0.11.0
jsonschema 4.25.1
jsonschema-specifications 2025.9.1
lark 1.3.0
llm_datadist 0.0.1
llvmlite 0.45.1
lmdeploy 0.10.0 /workspace/lmdeploy
markdown-it-py 4.0.0
MarkupSafe 3.0.3
mdurl 0.1.2
ml_dtypes 0.5.3
mmengine-lite 0.10.7
mpmath 1.3.0
msgpack 1.1.2
msobjdump 0.1.0
multidict 6.7.0
multiprocess 0.70.16
nest-asyncio 1.6.0
networkx 3.4.2
ninja 1.13.0
numba 0.62.1
numpy 1.26.4
op_compile_tool 0.1.0
op_gen 0.1
op_test_frame 0.1
opc_tool 0.1.0
openai 2.3.0
outlines 0.0.46
packaging 25.0
pandas 2.3.3
partial-json-parser 0.2.1.1.post6
peft 0.11.1
pillow 11.3.0
pip 25.2
platformdirs 4.5.0
prometheus_client 0.23.1
propcache 0.4.1
protobuf 6.32.1
psutil 7.1.0
pyairports 0.0.1
pyarrow 21.0.0
pybind11 2.13.1
pycountry 24.6.1
pydantic 2.12.0
pydantic_core 2.41.1
Pygments 2.19.2
python-dateutil 2.9.0.post0
pytz 2025.2
PyYAML 6.0.3
pyzmq 27.1.0
ray 2.50.0
referencing 0.36.2
regex 2025.9.18
requests 2.32.5
rich 14.2.0
rpds-py 0.27.1
safetensors 0.6.2
schedule_search 0.0.1
scikit-build 0.18.1
scipy 1.15.3
sentencepiece 0.2.1
setuptools 69.5.1
setuptools-scm 9.2.1
shortuuid 1.0.13
show_kernel_debug_data 0.1.0
six 1.17.0
smmap 5.0.2
sniffio 1.3.1
starlette 0.48.0
sympy 1.13.1
te 0.4.0
termcolor 3.1.0
tiktoken 0.12.0
tokenizers 0.22.1
tomli 2.3.0
torch 2.6.0
torch_npu 2.6.0
torchvision 0.21.0
tornado 6.5.2
tqdm 4.67.1
transformers 4.57.0
transformers-stream-generator 0.0.5
typing_extensions 4.15.0
typing-inspection 0.4.2
tzdata 2025.2
urllib3 2.5.0
uvicorn 0.37.0
wheel 0.45.1
xxhash 3.6.0
yapf 0.43.0
yarl 1.22.0
```
### Error traceback
```Shell
```
Contributor guide
Assessment
This issue has not been assessed yet.