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

Missing model field in the huggingface_endpoint.py #29521

Open
ENCODERS09 opened this issue Jan 31, 2025 · 1 comment
Open

Missing model field in the huggingface_endpoint.py #29521

ENCODERS09 opened this issue Jan 31, 2025 · 1 comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature

Comments

@ENCODERS09
Copy link

Whatever model is being sent as a parameter it will never get called, only the default model will be called in the huggingface_endpoint.py because in the post call of the client and async_client the model is not being consumed which is why the default model is being called not the one passed

json={"inputs": texts, **_model_kwargs}, task=self.task

json={"inputs": texts, **_model_kwargs}, task=self.task

@dosubot dosubot bot added the 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature label Jan 31, 2025
@keenborder786
Copy link
Contributor

Nope the models is being passed during the initialization of InferenceClient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants