Skip to content
New issue

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

support multiple vdl process when using gunicorn for x2paddle #1170

Conversation

rainyfly
Copy link
Collaborator

@rainyfly rainyfly commented Dec 2, 2022

  1. 当使用gunicorn等WSGI服务器启动flask app时,可能会创建多个vdl app的instance, 但是之前的设计是把用户转换的模型存储在单个进程的内部,这样会导致当收到请求的vdl app不是原有参与进行转换的那个app时,就没法将转换的模型返回给用户。现在通过使用文件系统作为多进程情况下vdl app共享数据的方式来解决这一问题。

heliqi
heliqi previously approved these changes Jan 9, 2023
…to support_multiple_vdl_process_when_using_gunicorn_for_x2paddle
…paddle' of https://github.com/rainyfly/VisualDL into support_multiple_vdl_process_when_using_gunicorn_for_x2paddle
@rainyfly rainyfly merged commit 8b7e949 into PaddlePaddle:develop Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants