Vinnie
01/05/2023, 9:48 AMPavel Schudel
01/05/2023, 10:24 AMZach
01/05/2023, 3:13 PMVinnie
01/05/2023, 3:14 PMalex
01/05/2023, 3:58 PMI am running k8 executorThis means that each op is run in its own kubernetes container, so the spin up cost is container init and process init. The process init cost is generally just the time spent importing modules. Using the multiprocess executor would remove the container init cost with reduced isolation, with all ops run in the same container as separate processes. Using the
forkserver
option on the multiprocess executor can further reduce process init times after the first, but can cause issues in some libraries.
In process executor removes all init times but now all ops execute serially (at this time) in the same process.Pavel Schudel
01/06/2023, 11:21 AMalex
01/06/2023, 3:33 PM