Unload model from memory/GPU when idle for set period
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先阅读相关的 OpenVINO issue #33665 以及报告中链接的 llama.cpp 空闲休眠文档,然后追踪 OVMS 如何加载和提供模型服务。定义可配置的空闲行为,并验证处于空闲状态的模型会被卸载,并在新请求到达时自动重新可用。
由索引模型根据 Issue 内容生成。
描述
This issue was also reported by someone else here: https://github.com/openvinotoolkit/openvino/issues/33665
With the current implementation it is not possible to use the GPU for other workloads while OVMS is running, as it will run out of free vRAM. Other LLM servers approach this by setting a user-defined idle timeout on a model. If no API requests are made to query a specific model for a specific amount of time, that model gets removed from memory. When a new request comes in for the model, it automatically gets loaded into memory again. It would be nice if OVMS had a similar feature.
An explanation of how llama.cpp does it can be found at https://github.com/ggml-org/llama.cpp/tree/master/tools/server#sleeping-on-idle
- 主要语言
- C++
- 星标
- 932
- 派生
- 278
- 平均合并
- 3 天 5 小时
- 30 天内合并 PR
- 70
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openvinotoolkit/model_server 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 58/100
openvinotoolkit/model_server#4613 · 已指派 1 人 ·
维护者通常 1 天内回复
-
enhancement
难度 3/5 1-2 天 新手友好度 68/100
openvinotoolkit/model_server#4609 · 1 条评论 ·
维护者通常 1 天内回复
-
`/v3/models` lists every model twice when `group_name` and `--idle_unload_timeout_seconds` are combined可能已有人在做 @atobiszei 于 5 天前认领。 未关闭
openvinotoolkit/model_server#4604 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
Idle unload never happens again if the client disconnects while a sleeping graph is waking up可能已有人在做 @atobiszei 于 5 天前认领。 未关闭
openvinotoolkit/model_server#4603 · 已指派 1 人 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 45/100
openvinotoolkit/model_server#4599 · 4 条评论 ·
维护者通常 1 天内回复
查看 openvinotoolkit/model_server 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
Icinga/icinga2#11058 · 1 条评论 ·
维护者通常 1 天内回复
-
component: split-view platform: windows
难度 2/5 1-3 小时 新手友好度 74/100
zen-browser/desktop#15616 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
-
area/ysql kind/bug priority/medium status/awaiting-triage
难度 2/5 1-3 小时 新手友好度 84/100
yugabyte/yugabyte-db#34415 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
WayfireWM/wayfire#3148 · 1 条评论 ·
维护者通常 1 天内回复