A Dataset process can be started without GPUs when it has workers that require GPUs
I was trying to test that #1643 (closed) did get fixed when we switched to the ProcessBuilder
, and it does work correctly on workers processes, but on dataset processes, I instead got this:
- Create a dataset process.
- Add a dataset to that process.
- Select a worker that requires a GPU (not just supports).
- Do not enable GPUs in the advanced settings.
- Start the process.
This should cause an error because GPU usage should be required, but it doesn't. The process starts with no GPUs assigned to the tasks and the worker is very sad: https://preprod.arkindex.teklia.com/process/9a3f8b12-ed30-4cfb-a45a-1fb2b9d17ed0/0