Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

vLLM Migrates CUDA Builds to the LibTorch Stable ABI

AI summary

vLLM says its CUDA build now uses PyTorch’s LibTorch Stable ABI, allowing compatible LibTorch updates to be imported without rebuilding or updating vLLM. Starting with v0.33.0, the project publishes LibTorch ABI Stable CUDA wheels and uses torch-abi-audit in CI to check for unstable symbols. The Stable ABI does not guarantee compatibility across all PyTorch releases because Python APIs, GPU and CUDA requirements, and third-party dependencies remain relevant.

In-depth insight

The migration can let vLLM users and package distributors adopt compatible PyTorch wheels with fewer rebuilds, while vLLM is expanding stable ABI coverage to its CPU and ROCm builds.

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

Original · 10 min readRead the original
Group chat

No comments yet. Start the conversation.