mirror of
https://github.com/langgenius/dify-plugins.git
synced 2026-07-22 01:55:36 -04:00
vllm plugin can't not handle the case when my vllm serve 2 models, each on its own GPU #161
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @qiulang on GitHub (Jul 10, 2025).
My machine has 2 A10 GPU, on GPU 0 vllm serve a model, say Qwen3-8B, on GPU 1 vllm serve another model, Qwen-1.7B. Although I can add 2 models to the setting, but I can't use them because the app will complain it can't find the model, while sometimes it can.
I think it is because the request sends to my two GPUs randomly, so if it sends the request to GPU 0, while I set using Qwen3-8B then it will work, but if I it sends to GPU 1 it will complain 404.
When it works
When it does not work