Open zhaozeno opened 6 days ago
The transformers version llava (LlavaNextConfig arch) is supported after release 0.4.2,so you can use it with lmdeploy 0.4.2.
You can install the nightly-build lmdeploy here https://github.com/zhyncs/lmdeploy-build/releases/tag/a06174f
Checklist
Describe the bug
download the llava-v1.6-vicuna-7b-hf model to local folder, and run the command: lmdeploy serve api_server /data/models/huggingface/hub/llava-v1.6-vicuna-7b-hf
It reports error: llava-1 | 2024-06-27 11:10:15,226 - lmdeploy - WARNING - Try to run with pytorch engine because test failed!
llava-1 | ("Checking failed with error 'LlavaNextConfig' object has no attribute 'hidden_size'", 'Please send issue to LMDeploy with error logs.')
/data/models/huggingface/hub/llava-v1.6-vicuna-7b-hf
is not explicitly supported by lmdeploy. llava-1 | 2024-06-27 11:10:22,420 - lmdeploy - ERROR - AttributeError: 'LlavaNextConfig' object has no attribute 'hidden_size' llava-1 | 2024-06-27 11:10:22,421 - lmdeploy - ERROR -Reproduction
download the llava-v1.6-vicuna-7b-hf model to local folder, and run the command:
lmdeploy serve api_server /data/models/huggingface/hub/llava-v1.6-vicuna-7b-hf
Environment
Error traceback
No response