Skip to content

Conversation

@dotvignesh
Copy link
Contributor

Implements feature enhancement request from #535:

Keep numbered adapter checkpoints monotonic when resuming with --resume-adapter-file.

Behavior (no new flags):

  1. If the resume filename matches NNNNNN_adapters.safetensors, parse NNNNNN and continue from there (next save = NNNNNN + save_every).
  2. Else, scan the target directory for the highest *_adapters.safetensors and continue from that number.
  3. Else, start from 0. Unnumbered adapters/adapters.safetensors behavior is unchanged.

@dotvignesh dotvignesh changed the title Feature Enhancement: Auto-detect & resume iteration from checkpoint files (implements #535) Feature Enhancement: Auto-detect & resume iteration from checkpoint files Oct 16, 2025
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.

1 participant