You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using webui or vllm api will result in an error. The startup command is as follows:
CUDA_VISIBLE_DEVICES=0,1,2,3 API_PORT=8000 llamafactory-cli api
--model_name_or_path /mnt/workspace/models/qwen2_vl_7b
--template qwen2_vl
--infer_backend vllm
--vllm_enforce_eager
Reminder
System Info
llamafactory
version: 0.9.1.dev0Reproduction
Using webui or vllm api will result in an error. The startup command is as follows:
CUDA_VISIBLE_DEVICES=0,1,2,3 API_PORT=8000 llamafactory-cli api
--model_name_or_path /mnt/workspace/models/qwen2_vl_7b
--template qwen2_vl
--infer_backend vllm
--vllm_enforce_eager
or llamafactory-cli webui
curl http://localhost:8000/v1/chat/completions
-H "Content-Type: application/json"
-d '{
"model": "Qwen2-VL-7B-Instruct",
"messages": [
{"role": "system", "content": "你是资深分析师."},
{"role": "user", "content": [
{"type": "image_url", "image_url": {"url": "xxx"}},
{"type": "text", "text": "描述用户文化程度水平分布"}
]}
]
}'
Expected behavior
No response
Others
No response
The text was updated successfully, but these errors were encountered: