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

Update hugie to follow v2 Inference Endpoint #78

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

ivyleavedtoadflax
Copy link
Contributor

Updates hugie to use the new v2 specification from Hugging Face.

In particular:

  • Uses datamodel-code-generator to generate the models_v2.py
  • Subclasses the new Endpoint class to add a from_json classmethod.
  • Replaces InferenceEndpointConfig class with the new EndpointV2 class.
  • Adds Makefile to automate the creation of hugie/models_v2.py.

@ivyleavedtoadflax ivyleavedtoadflax self-assigned this Sep 3, 2023
@ivyleavedtoadflax
Copy link
Contributor Author

Next step is to fix failing tests.

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.

1 participant