Skip to content

Commit 31ae249

Browse files
authored
[misc] remove uesless envs (#2448)
Remove the env used for v0 pd feature. Signed-off-by: wangxiyuan <[email protected]>
1 parent 3a38449 commit 31ae249

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

vllm_ascend/envs.py

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -62,28 +62,10 @@
6262
# /usr/local/Ascend/ascend-toolkit/latest
6363
"ASCEND_HOME_PATH":
6464
lambda: os.getenv("ASCEND_HOME_PATH", None),
65-
# The path for HCCN Tool, the tool will be called by disaggregated prefilling
66-
# case.
67-
"HCCN_PATH":
68-
lambda: os.getenv("HCCN_PATH", "/usr/local/Ascend/driver/tools/hccn_tool"),
6965
# The path for HCCL library, it's used by pyhccl communicator backend. If
7066
# not set, the default value is libhccl.so。
7167
"HCCL_SO_PATH":
72-
# The prefill device id for disaggregated prefilling case.
7368
lambda: os.environ.get("HCCL_SO_PATH", None),
74-
"PROMPT_DEVICE_ID":
75-
lambda: os.getenv("PROMPT_DEVICE_ID", None),
76-
# The decode device id for disaggregated prefilling case.
77-
"DECODE_DEVICE_ID":
78-
lambda: os.getenv("DECODE_DEVICE_ID", None),
79-
# The port number for llmdatadist communication. If not set, the default
80-
# value is 26000.
81-
"LLMDATADIST_COMM_PORT":
82-
lambda: os.getenv("LLMDATADIST_COMM_PORT", "26000"),
83-
# The wait time for llmdatadist sync cache. If not set, the default value is
84-
# 5000ms.
85-
"LLMDATADIST_SYNC_CACHE_WAIT_TIME":
86-
lambda: os.getenv("LLMDATADIST_SYNC_CACHE_WAIT_TIME", "5000"),
8769
# The version of vllm is installed. This value is used for developers who
8870
# installed vllm from source locally. In this case, the version of vllm is
8971
# usually changed. For example, if the version of vllm is "0.9.0", but when
@@ -100,6 +82,7 @@
10082
"VLLM_ENABLE_FUSED_EXPERTS_ALLGATHER_EP":
10183
lambda: bool(int(os.getenv("VLLM_ENABLE_FUSED_EXPERTS_ALLGATHER_EP", '0'))
10284
),
85+
# Whether to enable DBO feature for deepseek model.
10386
"VLLM_ASCEND_ENABLE_DBO":
10487
lambda: bool(int(os.getenv("VLLM_ASCEND_ENABLE_DBO", '0'))),
10588
# Whether to enable the model execute time observe profile. Disable it when
@@ -128,7 +111,6 @@
128111
"VLLM_ASCEND_ENABLE_TOPK_TOPP_OPTIMIZATION":
129112
lambda: bool(
130113
int(os.getenv("VLLM_ASCEND_ENABLE_TOPK_TOPP_OPTIMIZATION", '1'))),
131-
132114
# `LLMDataDistCMgrConnector` required variable. `DISAGGREGATED_PREFILL_RANK_TABLE_PATH` is
133115
# used for llmdatadist to build the communication topology for kv cache transfer, it is
134116
# a required variable if `LLMDataDistCMgrConnector` is used as kv connector for disaggregated

0 commit comments

Comments
 (0)