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 recipe nested in configs #140

Merged
merged 9 commits into from
Sep 6, 2024
Merged

Fix recipe nested in configs #140

merged 9 commits into from
Sep 6, 2024

Conversation

kylesayrs
Copy link
Collaborator

@kylesayrs kylesayrs commented Sep 3, 2024

Purpose

  • Fix failing tests due to recipe file being nested in configs

Changes

  • Revert back to original implementation of parse_params rather than recursing

Copy link

github-actions bot commented Sep 3, 2024

👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review.

@kylesayrs kylesayrs changed the title move recipe out of configs directory, check config validity before sk… Fix recipe nested in configs Sep 3, 2024
@kylesayrs kylesayrs requested a review from dsikka September 3, 2024 23:05
@@ -68,54 +68,48 @@ def _validate_test_config(config: dict):
# Set cadence in the config. The environment must set if nightly, weekly or commit
# tests are running
def parse_params(
path: str, type: Optional[str] = None
configs_directory: Union[list, str], type: Optional[str] = None
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you confirm that this runs the e2e tests correctly?

@horheynm
Copy link
Collaborator

horheynm commented Sep 5, 2024

Approved contingent on Dipika's comment about end to end testing

@dsikka dsikka merged commit 27b21aa into main Sep 6, 2024
6 of 7 checks passed
@dsikka dsikka deleted the kylesayrs/fix-nested-configs branch September 6, 2024 18:34
markmc pushed a commit to markmc/llm-compressor that referenced this pull request Nov 13, 2024
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.

3 participants