Hi everyone,
One bottleneck we're currently experiencing is the startup time of EC2 instances on AWS Batch, which significantly slows down our debugging process. I came across this great article that really captures our situation:
https://outerbounds.com/blog/faster-cloud-compute. Over 200 seconds of startup time when using a large GPU image from ECR.
Unfortunately, we're limited to the open-source version of Metaflow, so we can't use the Outerbounds solution.
I saw online that one possible workaround is to
bake a custom AMI. Internally, we could create a decorator to automatically re-bake the AMI if the Docker image changes. But before going down that path, I wanted to ask: is there already an existing solution in the open-source version of Metaflow? Or is there perhaps a better way to reduce startup time (maybe through some ECR image caching in aws Batch)?
Thanks a lot!