rachel
Configure pod to auto stop/auto delete once the container's main process exits?
Hi everyone! I've been trying out Fly.io for GPU stuff a bit, and I absolutely love the workflow of being able to build and push a container of whatever I'm working on, and have it automatically de-provision the container once my training process exits and finishes uploading artifacts.
This is really nice as it lets me easily run as many tasks as I want on separate GPUs without having to worry about manually stopping them. However, I much prefer Runpod as a platform (and much prefer runpod's pricing as well) and I want to replicate the same workflow here.
Is there a good way to do that? I did some testing and it appears that if my main process exits the pod just restarts.
5 replies