[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user