You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix for issue #21110: Prevent recursive symlink creation in ModelCheckpoint
- Added a check in _link_checkpoint to compare absolute paths of filepath and linkpath
- Only create symlink if paths differ, avoiding self-linking when save_last='link' and save_top_k=-1
- Updated test to assert the fix prevents the recursive symlink bug
0 commit comments