We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
猜测是由于使用了gunicorn冻结一个主进程,再fork出多个子进程的方式,来实现共享模型内存,因此在使用gunicorn启动时,无法在运行中进入后台加载模型。
目前可使用的解决方法:
command: ['python', 'app.py']
The text was updated successfully, but these errors were encountered:
No branches or pull requests
运行环境
问题描述
猜测是由于使用了gunicorn冻结一个主进程,再fork出多个子进程的方式,来实现共享模型内存,因此在使用gunicorn启动时,无法在运行中进入后台加载模型。
目前可使用的解决方法:
command: ['python', 'app.py']
,使用flask内置服务器启动。The text was updated successfully, but these errors were encountered: