File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ Documentation
75
75
serving/deploying_with_docker
76
76
serving/distributed_serving
77
77
serving/metrics
78
+ serving/env_vars
78
79
serving/usage_stats
79
80
serving/integrations
80
81
Original file line number Diff line number Diff line change
1
+ Environment Variables
2
+ ========================
3
+
4
+ vLLM uses the following environment variables to configure the system:
5
+
6
+ .. literalinclude :: ../../../vllm/envs.py
7
+ :language: python
8
+ :start-after: begin-env-vars-definition
9
+ :end-before: end-env-vars-definition
Original file line number Diff line number Diff line change 28
28
VLLM_USE_RAY_COMPILED_DAG : bool = False
29
29
VLLM_WORKER_MULTIPROC_METHOD : str = "spawn"
30
30
31
+ # The begin-* and end* here are used by the documentation generator
32
+ # to extract the used env vars.
33
+
34
+ # begin-env-vars-definition
35
+
31
36
environment_variables : Dict [str , Callable [[], Any ]] = {
32
37
# used in distributed environment to determine the master address
33
38
'VLLM_HOST_IP' :
148
153
lambda : os .getenv ("VLLM_WORKER_MULTIPROC_METHOD" , "spawn" ),
149
154
}
150
155
156
+ # end-env-vars-definition
157
+
151
158
152
159
def __getattr__ (name ):
153
160
# lazy evaluation of environment variables
You can’t perform that action at this time.
0 commit comments