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
服务Docker重启之后,如何恢复之前运行的模型 #1431
Comments
你需要在那个Docker镜像的基础上,手动修改entrypoint脚本,加上xinference命令,让其加载你要的模型。 |
启动docker的时候,设置xinference的环境变量 XINFERENCE_HOME,然后将环境变量的目录再做个映射。
|
@WangxuP 我使用pip本地安装 |
可以的,你把容器内部目录挂载到外部就行了。 |
@WangxuP 朋友,官方已经表示在接下来的版本实现这个功能 |
好的,看到了, 谢谢。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
服务Docker重启之后,如何恢复之前运行的模型。
我这边的每次重启docker之后,还需要手动启动模型才会运行模型。
有没有设置可以在docker恢复启动之后,自动运行之前运行的模型?
The text was updated successfully, but these errors were encountered: