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
@@ -39,8 +39,8 @@ from sglang.srt.debug_utils.dumper import (
get_tensor_info,
get_truncated_value,
)
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.ci.ci_register import register_amd_ci, register_cuda_ci
from sglang.test.test_utils import (
DEFAULT_TIMEOUT_FOR_SERVER_LAUNCH,
@@ -1,7 +1,7 @@
import unittest
import sglang as sgl
from sglang.srt.environ import temp_set_env
from sglang.srt.utils.common import temp_set_env
from sglang.test.ci.ci_register import register_cuda_ci
from sglang.test.test_utils import CustomTestCase