[Auto Sync] Update pynccl_wrapper.py, environ.py, registry.... (20251111) (#13097)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Lianmin Zheng
2025-11-13 15:58:47 -08:00
committed by GitHub
parent e9c0c55833
commit 19f6a33ce9
3 changed files with 15 additions and 3 deletions

View File

@@ -75,6 +75,11 @@ class EnvField:
return self.get()
class EnvTuple(EnvField):
def parse(self, value: str) -> tuple[str, ...]:
return tuple(s.strip() for s in value.split(",") if s.strip())
class EnvStr(EnvField):
def parse(self, value: str) -> str:
return value
@@ -125,6 +130,7 @@ class Envs:
# Model & File Download
SGLANG_USE_MODELSCOPE = EnvBool(False)
SGLANG_DISABLED_MODEL_ARCHS = EnvTuple(tuple())
# Logging Options
SGLANG_LOG_GC = EnvBool(False)