-
Notifications
You must be signed in to change notification settings - Fork 21
updating core/ml models #131
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
Conversation
…t cache the activation function
…verting back to previous implementation
|
Heads-up: you'll need to pull dev into the PR to enable the updated automated checks. |
cedriclim1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments
| dev = torch.device( | ||
| "cuda" if torch.cuda.is_available() else "mps" if torch.mps.is_available() else "cpu" | ||
| ) | ||
| elif isinstance(dev, str) and dev.lower() == "gpu": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arthurmccray @cedriclim1 Why did we drop device='gpu' support?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah shoot, that's a mistake! Didn't realize that wasn't in the tutorial notebook that i had used for testing. I'll make a hotfix branch and fix that along with adding a proper pytest so it can't happen again.
This PR expands on the neural networks included in /core/ml, and generally cleans up that code with docstrings, linter fixes, etc. This is also associated with updated tutorial notebooks in draft PR at quantem-tutorials and which will be pulled into main there when done.
In general this adds some new models and refactors a few things, but I think everything should backwards-compatible and non-breaking. I also removed the
Finermodel because I think we are wanting folks to useHSirenfor INRs in general.