Skip to content

feat: automatically resume from hpc ckpt - #30

Merged
roedoejet merged 6 commits into
mainfrom
dev.ap/slurm-requeue
Nov 30, 2026
Merged

roedoejet merged 6 commits into
mainfrom
dev.ap/slurm-requeue

Conversation

@roedoejet

@roedoejet roedoejet commented Sep 5, 2026 •

Copy link
Copy Markdown
Member

@joanise joanise left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm but see comments on parent PR

saving on exception was adding ckpt clutter

we lose ctrl+c ckpts, but the SIGINT ckpts are already caught
@roedoejet
roedoejet force-pushed the dev.ap/slurm-requeue branch from dcc1908 to 5580106 Compare November 27, 2026 16:08
also miscellaneous reloading fixes when re-building model from ckpt
add backwards compatibility
@roedoejet
roedoejet requested a review from joanise November 27, 2026 18:16

@joanise joanise left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good modulo the way to exit on error, but you don't need to change it, I'll have to resolve the conflicts when I merge my big refactoring anyway.

Comment thread styletts2/cli/train.py
and tr.finetune_checkpoint
and not os.path.exists(tr.finetune_checkpoint)
):
sys.exit(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would raising a typer.BadParameter have good UX results here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I think so

@roedoejet
roedoejet merged commit 4617cba into main Nov 30, 2026
1 of 4 checks passed
@roedoejet
roedoejet deleted the dev.ap/slurm-requeue branch November 30, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants