Remove env var warnings for release (#11262)
This commit is contained in:
2
.github/workflows/pr-test-xeon.yml
vendored
2
.github/workflows/pr-test-xeon.yml
vendored
@@ -73,7 +73,7 @@ jobs:
|
||||
timeout-minutes: 36
|
||||
run: |
|
||||
docker exec -w /sglang-checkout/ ci_sglang_xeon \
|
||||
bash -c "cd ./test/srt && python3 run_suite.py --suite per-commit-cpu"
|
||||
bash -c "cd ./test/srt && python3 run_suite.py --suite per-commit-cpu --timeout-per-file 1500"
|
||||
|
||||
- name: Change permission
|
||||
timeout-minutes: 2
|
||||
|
||||
@@ -73,17 +73,6 @@ srt = [
|
||||
"flashinfer_python==0.4.0rc3",
|
||||
]
|
||||
|
||||
blackwell = [
|
||||
"sglang[runtime_common]",
|
||||
"sgl-kernel==0.3.14.post1",
|
||||
"torch==2.8.0",
|
||||
"torchaudio==2.8.0",
|
||||
"torchvision",
|
||||
"cuda-python",
|
||||
"flashinfer_python==0.4.0rc3",
|
||||
"nvidia-cutlass-dsl==4.2.0",
|
||||
]
|
||||
|
||||
# HIP (Heterogeneous-computing Interface for Portability) for AMD
|
||||
# => base docker rocm/vllm-dev:20250114, not from public vllm whl
|
||||
srt_hip = [
|
||||
|
||||
@@ -7,23 +7,9 @@ from sglang.srt.entrypoints.http_server import launch_server
|
||||
from sglang.srt.server_args import prepare_server_args
|
||||
from sglang.srt.utils import kill_process_tree
|
||||
|
||||
MOVE_ENVS_WARN = """
|
||||
########################################################################
|
||||
# For contributors and developers: #
|
||||
# Please move environment variable definitions to sglang.srt.environ #
|
||||
# using the following pattern: #
|
||||
# SGLANG_XXX = EnvBool(False) #
|
||||
# #
|
||||
########################################################################
|
||||
"""
|
||||
|
||||
if __name__ == "__main__":
|
||||
server_args = prepare_server_args(sys.argv[1:])
|
||||
|
||||
from sglang.srt.server_args import print_deprecated_warning
|
||||
|
||||
print_deprecated_warning(MOVE_ENVS_WARN)
|
||||
|
||||
try:
|
||||
launch_server(server_args)
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user