Skip to content

Releases

LinML v0.7.2

Choose a tag to compare

@github-actions github-actions released this 01 Dec 08:32

Fixed

  • Fixed linml probe child process launches on Windows, including framework-dependent builds without an apphost.
  • Corrected linml doctor diagnostics for plugins on unsupported platforms.
  • Fixed Windows Release test failures in CLI subprocesses, Linux setup recommendations, shell integration, and provider registration and listing.
  • Aligned the Python package version with the release tag so PyPI publishes the 0.7.2 wheel and source distribution.
  • Upgraded the release workflow to actions/setup-python@v7, which runs on Node.js 24.

Full changelog from v0.7.0 to v0.7.2

LinML v0.7.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 08:05

Full Changelog: v0.7.0...v0.7.1

LinML v0.7.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 05:59
94472b4

What's Changed

Full Changelog: v0.6.2...v0.7.0

LinML v0.6.2

Choose a tag to compare

@github-actions github-actions released this 29 Nov 09:20

What's Changed

New Contributors

Full Changelog: v0.6.1...v0.6.2

LinML v0.6.1

Choose a tag to compare

@github-actions github-actions released this 29 Nov 03:49
6e5696c

What's Changed

Full Changelog: v0.6.0...v0.6.1

LinML v0.6.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 23:35
c9bc459

What's Changed

Full Changelog: v0.5.1...v0.6.0

LinML v0.5.1

Choose a tag to compare

@github-actions github-actions released this 13 Oct 08:29
b3adb5d

What's Changed

  • Fix MIGraphX EP fetch on nested licenses; add QNN plugin to the catalog by @tonythethompson in #35
  • Ship the patched WSL2 TensorRT-RTX build against glibc 2.35 (0.5.1) by @tonythethompson in #36

Full Changelog: v0.5.0...v0.5.1

LinML v0.5.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 05:21
2e2fbd9

LinML 0.5.0 adds TensorRT-RTX on Linux aarch64 (SBSA), makes provider selection and discovery consistent across commands, and changes a few CLI behaviors (see Behavior changes).

Highlights

  • TensorRT-RTX on Linux aarch64 (SBSA). NVIDIA's TensorRT-RTX 1.6 supports Ubuntu 24.04 SBSA. On aarch64 hosts LinML now selects the aarch64 wheel (manylinux_2_35, the same EP 0.4.0 and bundled TensorRT-RTX 1.6.1 runtime). It installs to ep-plugins/trt-rtx-arm64/, beside the x86_64 build. The catalog and the fetch script refuse a glibc older than 2.35 before downloading.
  • Standalone plugin downloads. TensorRT-RTX and MIGraphX install from curl, sha256sum and unzip commands, without cloning the repository. See Plugin Execution Providers in the README.

Behavior changes

  • requestedProvider is null when no --provider is given. run, serve and --profile report requested: auto in text output. Auto selection never counts as a fallback.
  • A failed explicit --provider X falls back to CPU, not to another accelerator such as TensorRT.
  • Usage errors exit with code 2, as documented. Missing or unknown options print one message instead of the full help.

Fixed

  • providers list matches doctor: catalog plugins are registered before discovery, so trt-rtx and OpenVINO appear. A plugin with no EP devices is marked as such. providers list also gained --root.
  • catalog list reads plugin status after the resolvable plugins are registered, so a working trt-rtx reads Ready. catalog install prints the active library when it differs from the installed one.
  • doctor --model: the smoke Load phase counts plugin EP devices, and each provider gets its catalog libraries. trt-rtx no longer reads NOT READY in smoke mode.
  • Readiness messages: a plugin that is loaded but has no devices says so, and no longer suggests a missing library.
  • serve --port answers on http://localhost:<port> as well as 127.0.0.1.
  • --json is listed once per command, and the global option works before or after the subcommand.
  • --version reports the 0.5 line.

Install

Pre-built archives are on this page: linml-0.5.0-linux-x64.tar.gz and linml-0.5.0-linux-arm64.tar.gz. Check them against SHA256SUMS.txt:

sha256sum -c SHA256SUMS.txt --ignore-missing

Not verified

  • The aarch64 TensorRT-RTX plugin has not been run on aarch64 hardware. The aarch64 CI job runs the test suite, but it has no GPU.
  • The MIGraphX plugin's positive path (an AMD GPU with ROCm) has not been run; its unit tests and the download checks pass.

What's Changed

Full Changelog: v0.4.2...v0.5.0

LinML v0.4.2

Choose a tag to compare

@github-actions github-actions released this 13 Oct 03:02
49cbc37

What's Changed

Full Changelog: v0.4.1...v0.4.2

TensorRT-RTX WSL2 EP 0.4.0-wsl2p2 (opt-in prerelease)

Choose a tag to compare

@tonythethompson tonythethompson released this 13 Oct 07:58
c11982c

Opt-in build of NVIDIA's TensorRT-RTX plugin execution provider
(NvTensorRTRTXExecutionProvider) carrying the WSL2 device-enumeration fix
from upstream PR #12.

What changed from 0.4.0-wsl2p1

0.4.0-wsl2p1 was built on a host with glibc 2.43 and needed GLIBC_2.43 (also GLIBCXX_3.4.32, CXXABI_1.3.15), so it failed to load on any distro older than that host, including Ubuntu 24.04 (glibc 2.39): libm.so.6: version `GLIBC_2.43' not found. Do not use p1. This build is the same source commit and the same patch, rebuilt in an ubuntu:22.04 container: it needs at most GLIBC_2.34, GLIBCXX_3.4.29 and CXXABI_1.3.9, so it loads on Ubuntu 22.04, 24.04 and newer, like the stock wheel (manylinux_2_35).

Why

Under WSL2 the stock PyPI wheel registers but exposes zero devices: ONNX
Runtime reports the GPU with the virtual PCI vendor 0x1414 and bus id
176e:00:00.0, which cudaDeviceGetByPCIBusId rejects (rc=101), while CUDA
sees the real device as 0000:0B:00.0. The fix pairs Microsoft virtual
adapters with visible CUDA devices and falls back to CUDA enumeration so the EP
exposes the real GPU.

Requirements

  • WSL2 with NVIDIA GPU passthrough (/dev/dxg), and an RTX Ampere or newer GPU. NVIDIA's TensorRT-RTX 1.6 matrix targets compute capabilities 7.5, 8.6, 8.9, 12.0 and 12.13.
  • ONNX Runtime 1.24 or newer.
  • glibc 2.35 or newer (Ubuntu 22.04+), the same floor as the stock wheel.
  • The stock trt-rtx wheel, installed by the first block below. It supplies the TensorRT-RTX 1.6.1 runtime that this build links against.

Install

No repository clone is needed. Run the two blocks in order. The first installs the stock wheel for this machine's architecture. The second installs this patched build, which is x86_64 only.

(
  set -euo pipefail
  DEPS="$HOME/.local/linml-deps"
  TMP="$(mktemp -d)"
  case "$(uname -m)" in
    x86_64)
      WHEEL=onnxruntime_ep_nv_tensorrt_rtx_cu13-0.4.0-py3-none-manylinux_2_28_x86_64.whl
      URL=https://files.pythonhosted.org/packages/9c/68/093626a054300fa7f4f1a6d18b775d185034c6bb7fb056ac4f9d1e9b50d4/$WHEEL
      SHA256=68b8f7306b50cf76daf997b8be24ec3813498c15d48e0ddd211db14f2a9daa19
      DIR=trt-rtx ;;
    aarch64)
      WHEEL=onnxruntime_ep_nv_tensorrt_rtx_cu13-0.4.0-py3-none-manylinux_2_35_aarch64.whl
      URL=https://files.pythonhosted.org/packages/41/63/ef110d73730969957740d770b29c158ca79a9df32c65ee081b01f8b64124/$WHEEL
      SHA256=0ccf6a636f9f49d74e3e7e3b1b90287aa1c818db770b47fad6e8aa344f4290a5
      DIR=trt-rtx-arm64
      # The aarch64 wheel is manylinux_2_35: refuse an older glibc before downloading it.
      GLIBC="$(getconf GNU_LIBC_VERSION 2>/dev/null | awk '{print $2}')" || GLIBC=""
      if [ -z "$GLIBC" ] || [ "$(printf '%s\n' 2.35 "$GLIBC" | sort -V | head -n 1)" != "2.35" ]; then
        echo "needs glibc 2.35 or newer; this host has ${GLIBC:-no glibc}" >&2; false
      fi ;;
    *) echo "No TensorRT-RTX build for $(uname -m)" >&2; false ;;
  esac
  OUT="$DEPS/ep-plugins/$DIR/onnxruntime_ep_nv_tensorrt_rtx"
  mkdir -p "$OUT"
  curl -fsSL -o "$TMP/$WHEEL" "$URL"
  echo "$SHA256  $TMP/$WHEEL" | sha256sum -c
  unzip -q -j -o "$TMP/$WHEEL" 'onnxruntime_ep_nv_tensorrt_rtx/*' -d "$OUT"
  # The plugin links SONAMEs, but the wheel ships only versioned files: add the links.
  (cd "$OUT" &&
    ln -sf libtensorrt_rtx.so.1.6.1 libtensorrt_rtx.so.1 &&
    ln -sf libtensorrt_onnxparser_rtx.so.1.6.1 libtensorrt_onnxparser_rtx.so.1 &&
    ln -sf "$(ls libcudart.so.13.* | head -n 1)" libcudart.so.13)
  rm -rf "$TMP"
  echo "TensorRT-RTX installed to $OUT"
)
(
  set -euo pipefail
  DEPS="$HOME/.local/linml-deps"
  TMP="$(mktemp -d)"
  ZIP=linml-trt-rtx-ep-0.4.0-wsl2p2-linux-x64.zip
  URL=https://github.com/trackdubllc/LinML/releases/download/ep-trt-rtx-wsl2-0.4.0-wsl2p2/$ZIP
  SHA256=7575c51157110228d581593c04147473868fbb7eefc79aa1b809c5b8bb66c220
  OUT="$DEPS/ep-plugins/trt-rtx-wsl2/linml_trt_rtx_ep"
  curl -fsSL -o "$TMP/$ZIP" "$URL"
  echo "$SHA256  $TMP/$ZIP" | sha256sum -c
  rm -rf "$OUT"   # replaces any earlier build, e.g. 0.4.0-wsl2p1
  mkdir -p "$OUT"
  unzip -q -o "$TMP/$ZIP" 'linml_trt_rtx_ep/*' -d "$TMP/unpacked"
  cp -r "$TMP/unpacked/linml_trt_rtx_ep/." "$OUT/"
  rm -rf "$TMP"
  echo "Patched TensorRT-RTX installed to $OUT"
)

Or, with the LinML CLI: linml setup --trt-rtx-wsl2 installs both.

In a repository checkout, source scripts/env-gpu-deps.sh prefers this build when it is vendored, and TRT_RTX_CUSTOM_EP overrides it.

Verify

linml providers list    # NvTensorRTRTXExecutionProvider appears, with its GPU device
linml doctor            # readiness per provider; MIGraphX reports NOT APPLICABLE without AMD ROCm
linml run --provider trt-rtx --require-provider --model model.onnx --inputs inputs.json
linml run --provider migraphx --require-provider --model model.onnx --inputs inputs.json

A successful run prints Provider: NvTensorRTRTXExecutionProvider (requested: NvTensorRTRTXExecutionProvider).

This build is opt-in: the default trt-rtx pin still points at NVIDIA's wheel. On WSL2 the CLI uses this build only once it is installed.

Contents

  • linml_trt_rtx_ep/libonnxruntime_providers_nv_tensorrt_rtx.so — the patched
    plugin (Apache-2.0; see licenses/ and PATCH-NOTICE.md).
  • linml_trt_rtx_ep/build-info.json — provenance (source commit, ONNX Runtime
    headers, TensorRT-RTX version).

Only the EP .so is shipped; it dynamically links the TensorRT-RTX 1.6.1
runtime libraries and CUDA 13, which the stock trt-rtx wheel provides. The
archive RUNPATH is $ORIGIN.

Provenance

  • Source: https://github.com/tonythethompson/TensorRT-RTX-EP-ABI @
    6777dafa257dd569f489f1708473d5bee0f0a6d7 (upstream PR #12 head, including
    the per-GPU registration commit that the enumeration fix alone needs).
  • Built by scripts/build-trt-rtx-ep-docker.sh (scripts/build-trt-rtx-ep.sh in an ubuntu:22.04 container; scripts/check-elf-floor.sh fails the build if the library needs a newer glibc / libstdc++ than 2.35 / 3.4.30) against ONNX Runtime 1.31.0 headers and
    TensorRT-RTX 1.6.1.120; the archive is byte-stable and pinned by sha256
    (linml-trt-rtx-ep-0.4.0-wsl2p2-linux-x64.zip.sha256).
  • License: Apache-2.0 (unchanged); see PATCH-NOTICE.md for the modification
    notice required by section 4(b).

Verified

objdump -T on the library: GLIBC_ max 2.34, GLIBCXX_ max 3.4.29, CXXABI_ max 1.3.9. NEEDED and RUNPATH are unchanged from p1.

With the stock wheel and this build vendored, ExecutionProviderCatalog.GetDefault().Find(ProviderId.TensorrtRtx)!.EnsureReadyAsync(new EnsureOptions(true)) returns Ready with 1 device and MNIST returns the exact output [11, 22, 13, 24, 15, 26], in fresh ubuntu:24.04 (glibc 2.39) and ubuntu:22.04 (glibc 2.35) containers started with --gpus all on Docker Desktop (WSL2, RTX 5070).

Superseded by

Once PR #12 merges (or NVIDIA ships a fixed wheel), use the default trt-rtx
pin instead.