Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Multiple CUDA contexts with digits-server #845

Closed
lukeyeager opened this issue Jun 15, 2016 · 1 comment
Closed

Multiple CUDA contexts with digits-server #845

lukeyeager opened this issue Jun 15, 2016 · 1 comment

Comments

@lukeyeager
Copy link
Member

To reproduce:

  1. Turn off device_query caching
    • Change the default value for force_reload to True here
  2. Run digits-server

gunicorn does a fork of the DIGITS server, and the server creates a CUDA context in the parent before forking. Then, when the child tries to call cudaGetDevicesProperties(), it fails with an initialization error. We need to make sure we don't make any CUDA calls in the DIGITS server before forking when running with gunicorn, if possible.

@lukeyeager
Copy link
Member Author

No longer an issue because gunicorn was removed with #1127.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant