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

Add CI to auto-generate inference types #2600

Merged
merged 10 commits into from
Nov 18, 2024

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Oct 11, 2024

This PR adds a Github Action to automatically run the @huggingface/tasks-gen scripts + make inference_update / make style and open a PR if anything has changed. The workflow is triggered once a day (3am) and can be triggered manually if needed.

Here is an example of auto-generated PR: #2664.

The goal of the automated PRs is to get merged regularly. They might need some manual work from time to time (if new parameters for instance).


This workflow file is similar to huggingface/huggingface.js#964 which will auto-update the specs based on TGI/TEI updates.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Wauplin Wauplin changed the title Add CI to auto-generate inference types (draft) Add CI to auto-generate inference types Nov 15, 2024
@Wauplin Wauplin marked this pull request as ready for review November 15, 2024 14:45
Copy link
Contributor

@hanouticelina hanouticelina left a comment

Choose a reason for hiding this comment

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

all good! thanks @Wauplin

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

Really cool! Thanks @Wauplin

@Wauplin Wauplin merged commit 948f855 into main Nov 18, 2024
17 checks passed
@Wauplin Wauplin deleted the add-workflow-update-inference-types branch November 18, 2024 17:11
@Wauplin
Copy link
Contributor Author

Wauplin commented Nov 18, 2024

Merging it now. Hopefully we get our first automated PR by tomorrow 😄

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