loud-ram-613
03/22/2024, 5:37 PMcrooked-jordan-29960
03/26/2024, 4:01 PMsrun from a subprocess in Metaflow task.
That forgoes many benefits of using Metaflow, however, so you'd need to manage slurm nodes more manually.
A deep integration like @slurm would be a bigger lift. some incomplete thoughts about questions we'd need to build and document solutions for:
• how to run the tasks in containers on slurm nodes?
◦ how to distribute dependencies in @conda and @pypi packages Metaflow builds to slurm nodes?
• how to assign slurm cluster priority to jobs submitted from metaflow tasks?
• are there issues with auth from metaflow metadata store and nodes?
• what is the story for moving/mounting large datasets on the slurm nodes?
• how to unify Metaflow's remote task lifecycle management with slurm jobs?
◦ @retry, --resume, @catch, etc. and the RUNNABLE, STARTING, RUNNING states
• how to set up internode comms? does this happen once at slurm cluster setup like is typical, or does it happen dynamically like how @kubernetes configures multinode comms when used with @parallel?
I'd estimate several months at least to get @slurm sufficiently reliable for large scale jobs.