Repository navigation
Improve model caching and experimental distributed weight access - #1
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景与目标
在现有 memfd 模型文件缓存基础上,完善重复加载、并发预热、异常退出和缓存回收场景下的可靠性与日常使用体验。
核心目标仍是让模型文件加载一次、被后续进程可靠复用。模型计算和请求调度由消费者承担,分布式张量与专家驻留接口保持可选、实验性定位。
设计思路
主要改动
run、verify/gc/doctor等能力;统一绝对路径和自定义 socket,完善信号转发、退出码及nohup兼容,明确准备阶段与 daemon 等待超时的边界;补全由参数解析器生成。