[minor] sync code on python/sglang/test/test_deterministic.py and improve ci tests (#11777)

Co-authored-by: Stefan He <hebiaobuaa@gmail.com>
Co-authored-by: Byron Hsu <byronhsu1230@gmail.com>
This commit is contained in:
Lianmin Zheng
2025-10-17 14:25:22 -07:00
committed by GitHub
co-authored by Stefan He Byron Hsu
parent 20b8d2306c
commit b9a54e0968
9 changed files with 264 additions and 39 deletions
@@ -66,7 +66,7 @@ class MockModelRunner:
enable_memory_saver=False,
)
# Required by torch native backend
self.server_args = ServerArgs(model_path="fake_model_path")
self.server_args = ServerArgs(model_path="dummy")
@unittest.skipIf(not torch.cuda.is_available(), "Test requires CUDA")