Petko
01/11/2024, 12:27 PMOscar Björhn
01/11/2024, 12:32 PMPetko
01/11/2024, 12:35 PMRyan Peden
01/11/2024, 2:56 PMdevice_requests
parameter, which would let you decide whether or not to use GPU(s) on a per-flow-deployment basis.
However, if you're willing to run a worker dedicated to running GPU-enabled flows, you can set an environment variable before you start the worker: NVIDIA_VISIBLE_DEVICES=all
That should give you the same functionality you get when you use the Docker CLI with the --gpus
flag.Petko
01/24/2024, 7:08 AMJanghoo Lee
02/27/2024, 9:25 AMRyan Peden
02/27/2024, 3:57 PM