You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We now have specs for all inference types with the goal of unifying APIs across the HF ecosystem, both in Inference APIs and transformers/diffusers/etc. pipelines. Since #2036, we have auto-generated Python dataclasses meant to be reused as much as possible. At the moment the output types are used for most InferenceClient outputs. This issue is meant to list remaining things to address.
use new types for text-generation output (requires specs for stream param)
remove all pydantic from our codebase (not in use anymore)
better auto-generated docstrings (especially to document arguments)
generate input parameters for InferenceClient from input types
generate InferenceClient docstrings from input types
proper generation script in CI (open PRs automatically on update?)
We now have specs for all inference types with the goal of unifying APIs across the HF ecosystem, both in Inference APIs and
transformers
/diffusers
/etc. pipelines. Since #2036, we have auto-generated Python dataclasses meant to be reused as much as possible. At the moment the output types are used for mostInferenceClient
outputs. This issue is meant to list remaining things to address.stream
param)cc @SBrandeis @julien-c
Related:
The text was updated successfully, but these errors were encountered: