堆也会撒谎:调试 vLLM 内存泄漏
Mistral AI 定位了 vLLM 在 Mistral Medium 3.1、图编译及 Prefill/Decode 分离部署下每分钟增长 400 MB 的内存泄漏,根因是 NIXL 依赖的 UCX 拦截 mmap,并让待清理区域在 RCache 失效队列中累积。设置 UCX_MEM_MMAP_HOOK_MODE=none 可消除泄漏且未影响性能,另可将 UCX_RCACHE_MAX_UNRELEASED 设为 1024;相关修复已合并至 vLLM,UCX 与 NIXL 团队也计划在未来版本中调整行为。

tance and collaboration in resolving this issue: Robert Shaw (Red Hat, vLLM and llm-d Maintainer) Will Eaton (Red Hat, vLLM and llm-d Maintainer) Nicolò Lucchesi (Red Hat, vLLM and llm-d Maintainer) Mikhail Brinskii (NVIDIA, NIXL Maintainer) Leonid Genkin (NVIDIA, UCX Maintainer) Interested in tackling challenges like these? Join us at Mistral AI and help shape the future of AI infrastructure. We’re always looking for talented engineers and researchers to collaborate on cutting-edge projects. 0%
匹配字段正文



