Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix last_checkpoint #84

Merged
merged 9 commits into from
Mar 22, 2024
Merged

Fix last_checkpoint #84

merged 9 commits into from
Mar 22, 2024

Conversation

kirpoly
Copy link
Collaborator

@kirpoly kirpoly commented Feb 26, 2024

This pull request closes #80

The problem was there because following symlinks for pathlib.Path.glob was disabled on purpose as a fix for this issue. Also now in case there is no checkpoints last_checkpoint will return None.
After these commits it may be needed to edit tests accordingly.

@kirpoly
Copy link
Collaborator Author

kirpoly commented Feb 26, 2024

Also I need to mention that my solution are not susceptible to this issue of recursively looping because it doesn't search in directories from symlink.

@arseniybelkov arseniybelkov linked an issue Feb 26, 2024 that may be closed by this pull request
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.91%. Comparing base (f5a8e0b) to head (069ab05).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #84      +/-   ##
==========================================
+ Coverage   80.86%   80.91%   +0.04%     
==========================================
  Files          34       34              
  Lines        1270     1273       +3     
  Branches      255      256       +1     
==========================================
+ Hits         1027     1030       +3     
  Misses        179      179              
  Partials       64       64              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@arseniybelkov arseniybelkov merged commit bbf8bbb into neuro-ml:dev Mar 22, 2024
10 checks passed
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.

last_checkpoint doesn't work with symlinks
2 participants