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

[BUG] default snapshot backend doesn't match docs #2075

Open
jannessm opened this issue Apr 10, 2024 · 1 comment
Open

[BUG] default snapshot backend doesn't match docs #2075

jannessm opened this issue Apr 10, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jannessm
Copy link

Describe the bug

The documentation doesn't match its implementation.

When using the trainer as described, the trainer cannot save a checkpoint since the provided path is a directory and not a file.

To Reproduce

Try to use the trainer with save_file_file = './ckpts'. Of course the directory must exist.

Expected behavior

Saved checkpoints by torchsnapshot.

@jannessm jannessm added the bug Something isn't working label Apr 10, 2024
@vmoens
Copy link
Contributor

vmoens commented Apr 11, 2024

I will correct this thanks for flagging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants