Support preemption checkpointing in Automodel
This is a useful feature, especially in large scale runs. We can't ckpt too frequently and the progress can be lost if for some reason run crashes or there's a SIGKILL or we hit the job's walltime. Without the latest ckpt at the step the run crashed, resuming from previous ckpt in the next run leads to wastage of GPU compute.
Existing code than can catch SIGKILL: https://github.com/NVIDIA-NeMo/Automodel/blob/0b7c522568649c86094b5808d8c819aae1c7fe55/nemo_automodel/components/training/signal_handler.py#L91
Hello, Can I work on this?
Hi @edjson ,
thank you so much for offering to work on this! I've assigned to you the issue, feel free to ask @athitten or I for any guidance needed.
Thank you again!