fix: fix ipython running error for Engine due to outlines nest_asyncio (#4582)

Co-authored-by: shuaills <shishuaiuoe@gmail.com>
This commit is contained in:
mlmz
2025-03-22 10:11:15 +08:00
committed by GitHub
parent c7c7dbebbe
commit f6ab4ca6bc
4 changed files with 37 additions and 14 deletions

View File

@@ -1,6 +1,10 @@
import os
import weakref
import nest_asyncio
nest_asyncio.apply()
from sglang.utils import execute_shell_command, reserve_port
DEFAULT_MAX_RUNNING_REQUESTS = 200