-
Notifications
You must be signed in to change notification settings - Fork 488
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
feat: 🎸 Added the model dtype parameter for embedding (currently only supported for models gte-Qwen2). #2120
Conversation
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.
Thanks, I left some comments.
Please fix the lint, https://github.com/xorbitsai/inference/actions/runs/10501257334/job/29090999920?pr=2120 You can use |
✅ Closes: xorbitsai#2120
format it |
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
✅ Closes: #2076
新增嵌入模型dtype参数(目前只支持模型gte-Qwen2,需要模型支持,gte-Qwen2是支持fp16和fp32推理)