I am trying to run a job using the For Each command with many concurrent processes using serverless compute.
To add dependencies to serverless jobs, it seems you have to add them to the notebook, rather than configure them on the tasks screen like you do when using a job cluster. However, when doing this, it significantly increases the processing time, and it feels like for every concurrent process, the package installation process is duplicated. e.g. if I have 30 processes, the packages are installed 30 times, once for each run of the notebook. Contrast that with how you ordinarily work with a normal cluster, they are just installed once on the cluster.
Is my understanding of this process correct, or am I missing a step that would improve my workflow?