Support GPU configuration on worker runs
Refs https://redmine.teklia.com/issues/7534
Depends backend#1793 (closed)
The goal here is to expose the new WorkerRun.use_gpu
field and remove the Process.use_gpu
support
-
Remove "Use a GPU" option fron Worker Process configuration advanced settings
-
Add a new column "Use a GPU" on the worker run configuration table
- when worker version has
gpu_usage == supported
, a checkbox is modifiable by the user - when worker version has
gpu_usage == required
, "GPU Required" is written in green - when worker version has
gpu_usage == disablde
, "GPU Disabled" is written in blue
- when worker version has
-
Upon gpu_usage checkbox change, the
UpdateWorkerRun
API endpoint is called to propagate that change -
When viewing the configuration of an already started process, the column "Use GPU" remains, showing either:
- GPU Required
- GPU Disabled