Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@danielezhu
Copy link
Contributor

Issue #, if available:

Description of changes:
The structure for the model spec is different across model IDs. Some of them have "default_payloads" as a top-level attribute of the spec (which is what we have been assuming up til now), while others have "default_payloads" as a nested attribute, which is the case for models that have alt configs.

This PR updates the model spec-parsing logic to account for the new, second case.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@shrestha-bikash shrestha-bikash self-requested a review July 11, 2024 18:06
Copy link
Contributor

@xiaoyi-cheng xiaoyi-cheng left a comment

Choose a reason for hiding this comment

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

lgtm

@danielezhu danielezhu merged commit 688a81b into aws:main Jul 11, 2024
@danielezhu danielezhu deleted the fix_default_payloads branch July 11, 2024 18:30
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