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

BaseModel: adds checkpointing, versioning, safeguards #257

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

JeanKossaifi
Copy link
Member

This PR adds a new baseclass that keeps track of its descendants. This means users can now easily subclass it, create their own model which then automatically benefit from the neuralop machinery.

This also means models can be checkpointed and reloaded much more easily.

Also adds a versioning system for models to make sure checkpoints are loaded with the right code.

@JeanKossaifi JeanKossaifi merged commit fc890fc into neuraloperator:main Nov 2, 2023
1 check 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.

None yet

1 participant