Skip to content

Torch-TensorRT 2.15.0 has only a manylinux_2_39 wheel on aarch64, so pip on older glibc silently installs an old release #5034

Open

Description

@shoumikhin

What is wrong

On Linux aarch64, PyPI has Torch-TensorRT 2.15.0 only as manylinux_2_39_aarch64. Every other piece of the stack is built for older glibc:

Package aarch64 tag
torch 2.15.0 manylinux_2_28
executorch 1.6.0 manylinux_2_28
torch_tensorrt_executorch_runtime 0.2.1 manylinux_2_35
tensorrt_cu13_bindings 11.4.0.106 manylinux_2_35
torch_tensorrt 2.14.0 and older manylinux_2_28
torch_tensorrt 2.15.0 manylinux_2_39

So on a machine with glibc older than 2.39 (for example Ubuntu 22.04 with glibc 2.35), pip cannot install 2.15.0. It does not fail. It backtracks to an older Torch-TensorRT. Then pip install "torch_tensorrt[executorch]" gives a release whose executorch extra asks for ExecuTorch below 1.5 and does not bring the runtime wheel at all. The user sees no error, only an older stack (Torch-TensorRT 2.14, ExecuTorch below 1.5) without the runtime wheel.

What this blocks

On aarch64 with glibc older than 2.39 (for example Ubuntu 22.04), no LeRobot policy in pytorch/executorch#24353 can be exported with the 2.15 stack.
pip also skips the runtime wheel that every TensorRT bundle needs to run.
A fix gives these machines the same one-line install as newer systems: pip install "torch_tensorrt[executorch]".

Repro (no GPU needed)

# every manylinux tag a glibc 2.35 aarch64 machine accepts (pip's --platform does not add older ones by itself)
PLATFORMS=$(for y in $(seq 35 -1 17); do printf -- "--platform manylinux_2_%s_aarch64 " $y; done)
pip download --no-deps --only-binary=:all: $PLATFORMS --python-version 3.12 "torch_tensorrt==2.15.0"
pip download --no-deps --only-binary=:all: $PLATFORMS --python-version 3.12 "torch_tensorrt[executorch]"
unzip -p torch_tensorrt-*.whl '*/METADATA' | grep -iE "^Version|^Requires-Dist: (executorch|torch-tensorrt-executorch-runtime)"

Actual (pip 25.0.1, 2026-11-13)

ERROR: Could not find a version that satisfies the requirement torch_tensorrt==2.15.0 (from versions: 2.8.0, 2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.12.1, 2.13.0, 2.14.0)
ERROR: No matching distribution found for torch_tensorrt==2.15.0
Saved ./torch_tensorrt-2.14.0-cp312-cp312-manylinux_2_28_aarch64.whl
Version: 2.14.0
Requires-Dist: executorch<1.5,>=1.4.1; extra == "executorch"
Requires-Dist: executorch<1.5,>=1.4.1; extra == "all"

So pip picks 2.14.0, which asks for ExecuTorch below 1.5 and does not list torch-tensorrt-executorch-runtime at all.

Expected

A 2.15.0 aarch64 wheel that installs where torch 2.15.0 and the runtime wheel install, at most manylinux_2_35, the same as TensorRT's own aarch64 bindings. If 2.39 is required on purpose, the install docs should say so.

Versions

PyPI as of 2026-11-13: torch_tensorrt 2.15.0, torch 2.15.0, executorch 1.6.0, torch_tensorrt_executorch_runtime 0.2.1, TensorRT 11.4.0.106.

What was tried

The runtime wheel already has a manylinux_2_35 aarch64 build, so only the Torch-TensorRT wheel is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions