-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Update GPU docker & fix race condition with multiple workers #436
Conversation
Somehow still getting an error when running
|
…h --preload of gunicorn
Turned out this is not an issue with GPU images, but rather a general problem of multiple workers ending up in a race condition when creating an index. Investigated gunicorn's --preload flag that would circumvent this. However, this doesn't work only in the CPU and single process case. With cuda we get:
With multiprocessing: the application gets stuck after calling the reader. |
All images are now updated an pushed to dockerhub |
GPU Dockerfile was outdated