Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] OpenGVLab/InternVL2_5-78B-MPO Lmdeploy report bug "AttributeError: 'NoneType' object has no attribute 'split'" #880

Open
3 tasks
CedrusLNZ opened this issue Jan 26, 2025 · 1 comment

Comments

@CedrusLNZ
Copy link

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

Use the official demo, it report error directly

from lmdeploy import pipeline, TurbomindEngineConfig
from lmdeploy.vl import load_image

model = 'OpenGVLab/InternVL2_5-78B-MPO'
image = load_image('https://raw.githubusercontent.com/open-mmlab/mmdeploy/main/tests/data/tiger.jpeg')
pipe = pipeline(model, backend_config=TurbomindEngineConfig(session_len=8192, tp=4))
response = pipe(('describe this image', image))
print(response.text)

"AttributeError: 'NoneType' object has no attribute 'split'"

Reproduction

conda create -n lmdeploy python=3.8 -y
conda activate lmdeploy
pip install lmdeploy

run the script, demo code as the official demo listed

Environment

linux cuda12

Error traceback

@yuecao0119
Copy link
Collaborator

Hello,

May I ask if it's convenient for you to send me your environment version information such as lmdeploy? The test code here is running normally.

lmdeploy                           0.6.1
transformers                       4.43.1
torch                              2.1.0+cu118

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants