Cleanup: relocate temp_set_env and consolidate multi-device/CUDA helpers in common.py (#30180)

This commit is contained in:
Lianmin Zheng
2026-07-05 18:47:26 -07:00
committed by GitHub
parent 8673e85e6c
commit 9d00385b63
7 changed files with 890 additions and 872 deletions
+1 -1
View File
@@ -7,8 +7,8 @@ import tempfile
from pathlib import Path
from types import SimpleNamespace
from sglang.srt.environ import temp_set_env
from sglang.srt.utils import kill_process_tree
from sglang.srt.utils.common import temp_set_env
from sglang.test.test_utils import (
DEFAULT_TIMEOUT_FOR_SERVER_LAUNCH,
DEFAULT_URL_FOR_TEST,