ImJoy
ImJoy copied to clipboard
Managing GPU and other resources
Currently, the plugin engine are not managing the resources available, and it can cause problem for some plugins including those requires GPU. Would be nice to support GPU assignment to different plugins. Or in general assign resources manage by the GPU or use libraries to do it.
For subprocess/docker runner which runs with the plugin engine, we will need a tool to allocate resources for the plugin, for other runners such as K8S or slurm, we can use them directly but still be able to configured with in the ImJoy interface.
Ideas and comments are welcome.
This should work with the auto selection of plugin engines, it will be important to match GPU according to the resources available and also the requirements of the plugin.