[feat] make warmup timeout configurable through SGLANG_WARMUP_TIMEOUT (#13243)
This commit is contained in:
@@ -288,6 +288,9 @@ class Envs:
|
||||
# Ngram
|
||||
SGLANG_NGRAM_FORCE_GREEDY_VERIFY = EnvBool(False)
|
||||
|
||||
# Warmup
|
||||
SGLANG_WARMUP_TIMEOUT = EnvFloat(-1) # in seconds. If a warmup forward batch takes longer than this, the server will crash to prevent hanging. Recommend to increase warmup timeout to 1800 to accommodate some kernel JIT precache e.g. deep gemm
|
||||
|
||||
# fmt: on
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user