2023-09-26 13:32:33 -06:00
|
|
|
try:
|
|
|
|
import gevent.monkey
|
|
|
|
|
|
|
|
gevent.monkey.patch_all()
|
|
|
|
except ImportError:
|
|
|
|
pass
|
|
|
|
|
2023-09-27 23:36:44 -06:00
|
|
|
from llm_server.pre_fork import server_startup
|
2023-09-26 13:32:33 -06:00
|
|
|
|
|
|
|
|
|
|
|
def on_starting(s):
|
2023-09-27 23:36:44 -06:00
|
|
|
server_startup(s)
|
2023-09-26 13:32:33 -06:00
|
|
|
print('Startup complete!')
|