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

Require keyword args for all architectures #279

Merged
merged 4 commits into from
Jul 2, 2024
Merged

Conversation

RunDevelopment
Copy link
Member

This is progress towards making architecture classes part of the public API. All arch classes now require every parameter to be a keyword arg to ensure that we can change the order of params however we want. I added a check to store_hyperparameters verify this.

To test whether my check works correctly, I added *, to all arches that didn't have it already except ATD. So CI should fail because of ATD.

@joeyballentine joeyballentine merged commit a2e28a8 into main Jul 2, 2024
8 checks passed
@joeyballentine joeyballentine deleted the kwarg-only branch July 2, 2024 18:56
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.

2 participants