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

BUG: Remove duplicated call of model_install #2457

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

frostyplanet
Copy link
Contributor

@frostyplanet frostyplanet commented Oct 19, 2024

由于有反馈说 xinference-local 变慢。
在 PR #2443 修改了 model install 的方式, 没注意到 deploy/supervisor.py 里面有一个显式的重复调用,现在移除。

实测确认无论改还是不改,实际 xinference/model/init.py 的 _install 方法都只会执行一次, 即使把PR #2443 revert, xinference-local的启动速度也并无明显差别。

Fixes #2460 .

@XprobeBot XprobeBot added this to the v0.15 milestone Oct 19, 2024
Copy link
Contributor

@qinxuye qinxuye left a comment

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 043b673 into xorbitsai:main Oct 21, 2024
12 of 13 checks passed
@qinxuye qinxuye changed the title Remove duplicated call of model_install BUG: Remove duplicated call of model_install Oct 21, 2024
@XprobeBot XprobeBot added the bug Something isn't working label Oct 21, 2024
@frostyplanet frostyplanet deleted the fix_init branch November 17, 2024 10:01
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.

pip部署模式升级到0.16.0无法分布式启动
3 participants