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 checkpoint flag assignment error (#42) #63

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

vincentzhang
Copy link
Contributor

This PR fixes #42 by avoiding assignment to the read-only flag property .value.
Use a local variable to store the resolved checkpoint path.

@kevinzakka
Copy link
Collaborator

Thanks @vincentzhang, I'm working on a big refactor of these scripts that will make things better, would be great to get your input when I make the PR. Note I used notebooks during this project so never encountered any of these script edge cases.

@vincentzhang
Copy link
Contributor Author

Good to know. Thanks.

@copybara-service copybara-service bot merged commit 609168a into google-deepmind:main Feb 24, 2025
3 of 6 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.

AttributeError: property 'value' of 'FlagHolder' object has no setter when loading checkpoints
2 participants