创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

vLLM CUDA构建迁移至稳定ABI

AI 总结

vLLM 表示,其 CUDA 构建现已采用 PyTorch 的 LibTorch Stable ABI,兼容的 LibTorch 更新无需重建或更新 vLLM 即可导入。自 v0.33.0 起,项目发布 LibTorch ABI Stable CUDA wheel,并在 CI 中使用 torch-abi-audit 检查不稳定符号。稳定 ABI 并不保证兼容所有 PyTorch 版本,Python API、GPU 与 CUDA 要求以及第三方依赖仍会影响兼容性。

深度见解

此次迁移可让 vLLM 用户和软件包分发方在减少重建的情况下采用兼容的 PyTorch wheel,vLLM 后续还将把稳定 ABI 覆盖范围扩展至 CPU 和 ROCm 构建。

Introduction

vLLM relies heavily on PyTorch, with frequent calls to LibTorch in its C++ backend. As a result, changes to LibTorch’s binary interface may require vLLM to be rebuilt and relinked, even when the APIs remain unchanged. What if we could update LibTorch without rebuilding vLLM? That’s where the LibTorch Stable ABI comes in. With a LibTorch Stable ABI, updating LibTorch does not require rebuilding or updating vLLM in order to keep using it. Instead, we could swap out the torch wheel and import it directly into our vLLM package. As of v0.33.0, vLLM publishes LibTorch ABI Stable CUDA wheels.

Unstable import
Unstable import
Stable import
Stable import

#vLLM#PyTorch#LibTorch Stable ABI#torch-abi-audit#ROCm

原文约 10 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。