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

Fixes the validation of acceptable model types for registration in AQUA. #958

Merged
merged 5 commits into from
Oct 9, 2024

Conversation

mrDzurb
Copy link
Member

@mrDzurb mrDzurb commented Sep 30, 2024

Description

Fixes the validation of acceptable model types for registration in AQUA.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 30, 2024
Copy link

📌 Cov diff with main:

Coverage-0%

📌 Overall coverage:

Coverage-20.19%

darenr
darenr previously approved these changes Sep 30, 2024
Copy link
Member

@darenr darenr left a comment

Choose a reason for hiding this comment

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

Whoever's code you changed doesn't have the ruff precommit set up, maybe you could ask them please to add it so formatting differences aren't changes.

Copy link

github-actions bot commented Oct 1, 2024

📌 Cov diff with main:

Coverage-0%

📌 Overall coverage:

Coverage-20.19%

Copy link

github-actions bot commented Oct 1, 2024

📌 Cov diff with main:

Coverage-33%

📌 Overall coverage:

Coverage-59.07%

if (
not hf_model_info.pipeline_tag
or hf_model_info.pipeline_tag.lower() != ModelTask.TEXT_GENERATION
if not (
Copy link
Member

Choose a reason for hiding this comment

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

In some case the pipeline_tag is empty. We should allow registration when pipeline is empty. I am wondering if we should just remove this restriction all together.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I agree. Will remove the validation

Copy link

github-actions bot commented Oct 2, 2024

📌 Cov diff with main:

Coverage-20%

📌 Overall coverage:

Coverage-59.06%

@mrDzurb mrDzurb merged commit d713ada into main Oct 9, 2024
20 of 22 checks passed
Copy link

github-actions bot commented Oct 9, 2024

📌 Cov diff with main:

No lines with coverage information in this diff.

📌 Overall coverage:

Coverage-59.06%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants