-
Notifications
You must be signed in to change notification settings - Fork 477
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
BUG: Correct the input bytes data by langchain_openai #2589 #2600
Conversation
Lint failed, please install pre-commit and run |
what's wrong? 2024-11-28 16:40:53.802 [info] An error has occurred: InvalidManifestError: |
You need to cd the xinference directory, there is a config file of pre-commit. |
I just found this part is implemented in rest API, maybe it's better to put them into the embedding model? inference/xinference/model/embedding/core.py Line 226 in 0d4cb9c
Since rest API may not be in charge of any computation including the decoding. |
Ok, I move the changes to the embedding model. |
6d3255a
to
c08fd71
Compare
fb504f4
to
7907284
Compare
I slightly modified your code, check all the data if all of them is int is not so necessary IMHO, I think we could only check if it's list of list of int, and check the first int is OK, or this check may cost too much CPU. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.