协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
expert-cache【开发与工程】Debug and extend mixtral-offloading's MoE expert cache, storage wrapper, and sparse routing internals.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about expert offloading internals rather
than simply running the demo: ExpertCache, MixtralExpertWrapper,
SparseMoeWrapper, expert UIDs, LRU eviction groups, pinned offload storage,
or cache-capacity errors.
Cache is full, No evictable experts, already loading experts, duplicate expert UID assertions, or eviction-group assertions.offload_per_layer becomes main_size and
offload_size inside ExpertCache.ExpertInfo, EvictionGroupInfo, ExpertCache, and method invariants.MixtralExpertWrapper storage replacement and SparseMoeWrapper.forward
routing flow.Most cache internals require real MixtralExpertWrapper objects backed by
CUDA UntypedStorage. For safe planning, use the bundled script and source/API
reasoning. Do not construct the full cache with dummy objects unless their
storage type, size, and device match the expected wrapper invariants.