Skip to content

fix(venv): add sentence_transformers dependence - #5009

Merged
qinxuye merged 1 commit into
xorbitsai:mainfrom
llyycchhee:fix/venv-st-dependence
Jun 9, 2026
Merged

qinxuye merged 1 commit into
xorbitsai:mainfrom
llyycchhee:fix/venv-st-dependence

Conversation

@llyycchhee

Copy link
Copy Markdown
Collaborator

Fix #4955

@XprobeBot XprobeBot added the bug Something isn't working label Jun 9, 2026
@XprobeBot XprobeBot added this to the v2.x milestone Jun 9, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds "peft>0.17.1" as a dependency in "xinference/core/virtual_env_manager.py". The reviewer pointed out that this version constraint is invalid because the latest version of "peft" is below "0.15.0", which would cause installation failures. They suggested using a valid version constraint like "peft>=0.7.1" instead.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread xinference/core/virtual_env_manager.py
@qinxuye qinxuye changed the title fix(venv): add st dependence fix(venv): add sentence_transformers dependence Jun 9, 2026

@qinxuye qinxuye left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qinxuye
qinxuye merged commit 8ef5188 into xorbitsai:main Jun 9, 2026
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] v[2.8.0, 2.9.0]-cpu: Model virtual environment usage failed, 模型虚拟环境使用失败, ImportError: cannot import name 'HybridCache'...

3 participants