Skip to content

Commit 871d6b7

Browse files
authored
[Misc] Reduce warning message introduced in env_override (#19476)
Signed-off-by: Lu Fang <lufang@fb.com>
1 parent 29a38f0 commit 871d6b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/env_override.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# that interact with vllm workers.
1414
# they are executed whenever `import vllm` is called.
1515

16-
if 'NCCL_CUMEM_ENABLE' in os.environ:
16+
if os.environ.get('NCCL_CUMEM_ENABLE', '0') != '0':
1717
logger.warning(
1818
"NCCL_CUMEM_ENABLE is set to %s, skipping override. "
1919
"This may increase memory overhead with cudagraph+allreduce: "

0 commit comments

Comments
 (0)