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

Restore "default" Property for Recipes #366

Merged
merged 8 commits into from
Sep 15, 2023
Merged

Conversation

Satrat
Copy link
Contributor

@Satrat Satrat commented Sep 14, 2023

With the SparseZoo V2 refactor, model recipes are stored in the root directory rather than a subfolder, so the Model class stored them as a List[Files] rather than a Directory. This removed the functionality to be able to reference a default recipe with recipes.default.

This PR introduces a Recipes class that restores the recipes.default functionality. PR neuralmagic/sparseml#1719 will have to be updated after this is merged to reflect the change

@Satrat Satrat marked this pull request as ready for review September 14, 2023 14:26
horheynm
horheynm previously approved these changes Sep 14, 2023
@Satrat Satrat merged commit f2cf607 into main Sep 15, 2023
4 checks passed
@Satrat Satrat deleted the recipe_default_refactor branch September 15, 2023 16:51
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.

4 participants