Bjarne Hiller
03/20/2026, 1:58 PMmax_workers from the command line, in addition to -r ParallelRunner? This is essential if you want to avoid loading too much data into RAM or onto the GPU at the same time. From what I've seen, this isn't possible at the moment, and while you could create a runner that executes your pipeline from code, this is probably not want you want as you are losing the rest of the CLI functionality. Also, is it possible to set the project's default runner?
I've created this little workaround class, which allows you to set max_workers via an environment variable, but this feels super silly.Ian Whalen
03/20/2026, 2:25 PMBjarne Hiller
03/20/2026, 2:56 PMDmitry Sorokin
03/20/2026, 4:17 PMIan Whalen
03/20/2026, 4:43 PM__main__.py in your project you can provide a runner to the run function and limit the max workers thereBjarne Hiller
03/20/2026, 5:42 PM--max-workers argument, but I didn't find any support for this either. However, that would be nice to have.Merel
03/20/2026, 5:46 PMIan Whalen
03/20/2026, 6:33 PM