[misc] Make NaN-logit sanitization opt-in (default off) (#28829)

Co-authored-by: hnyls2002 <lsyincs@gmail.com>
This commit is contained in:
Lianmin Zheng
2026-06-21 14:31:35 -07:00
committed by GitHub
co-authored by hnyls2002
parent 7f67965b4d
commit a4d0ff3def
3 changed files with 2 additions and 5 deletions
@@ -146,6 +146,7 @@ class TestDummyWithSBO(CustomTestCase):
# exception, crash-time coredump) so NaN is sanitized with a
# warning instead of killing the scheduler.
"SGLANG_ENABLE_ASYNC_ASSERT": "0",
"SGLANG_SANITIZE_NAN_LOGITS": "1",
"SGLANG_CUDA_COREDUMP": "0",
# Already injected into os.environ by the test process when
# SGLANG_CUDA_COREDUMP=1, so it must be overridden explicitly.