Remove env var warnings for release (#11262)
This commit is contained in:
@@ -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