Resiliency Example
Illustrative example
The example is a single node toy example that demonstrates how to run a simple training loop with a toy model, checkpoint along the way and recover upon encountering simulated failures and hangs. It is meant to be easy to run without needing access to a large compute cluster.
Building the image
Start by building the docker image using the Dockerfile in the example directory.
Running the example
After sshing into a node with at least 2 GPUs run the following command to get into the previously built container and run the example (see launch_ray_job.sh).