Separate two entry points: Engine and HTTP server (#2996)

Co-authored-by: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com>
This commit is contained in:
Lianmin Zheng
2025-01-19 22:09:24 -08:00
committed by GitHub
parent 44a9669770
commit 03464890e0
18 changed files with 1126 additions and 1047 deletions

View File

@@ -40,7 +40,7 @@ def Runtime(*args, **kwargs):
def Engine(*args, **kwargs):
# Avoid importing unnecessary dependency
from sglang.srt.server import Engine
from sglang.srt.entrypoints.engine import Engine
return Engine(*args, **kwargs)