lm-sys / lm-sys/FastChat

How to cancel tensor parallel in vllm of the master-worker strategy.

Open
#2,597 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

Hi, I am making multi replica of the vllm instance with the fast-chat. But I found the `master-worker` is unstable which sometimes increase its output while sometimes not. After many experiments, I found that this is caused by the `Tensor Parallel`, the vllm's request in a period of time will be responsed all in one, which causes the sharpe decrease of the GPU utility. This may cause the low utility of the GPU groups. So I want to know how to cancel this feature to process the request one by one.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the FastChat master-worker serving path and its vLLM tensor-parallel configuration, then reproduce the multi-replica setup described in the issue. Compare GPU utilization and response batching with tensor parallel enabled; done requires a confirmed way to disable or control it, or a clearly documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.