-
-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Open
Labels
RFCactionableThere is clear action for a vLLM developer to takeThere is clear action for a vLLM developer to takegood first issueGood for newcomersGood for newcomers
Description
Motivation.
vLLM's envvars are on the edge of getting out of control. There are many envvars should instead be configs. Like the attention backend, all2all kernel backend, and even there is a flag to control KV cache layout. envvars are evil because:
- It is equivalent of using global variables everywhere in the code, which is a bad programming practice.
- envvars have no advanced structure like, hierarchy, typechecks, etc.
In summary, I think envvars are the kind of thing that is very easy to add so people tend to add envvars as the shortest path to implement their feature, but this can quickly becomes unmanageable and makes the project very hard to use.
Proposed Change.
I think we should:
- Spend some effort on reviewing the current envvars and move many of them to configs.
- Have very strict bar on what can be an envvar and question every new envvars in vllm.
Feedback Period.
No response
CC List.
No response
Any Other Things.
No response
Before submitting a new issue...
- Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
ProExpertProg, WoosukKwon, lengrongfu, robertgshaw2-redhat and wwl2755
Metadata
Metadata
Assignees
Labels
RFCactionableThere is clear action for a vLLM developer to takeThere is clear action for a vLLM developer to takegood first issueGood for newcomersGood for newcomers