Repository navigation
Releases
LinML v0.7.2
Fixed
- Fixed
linml probechild process launches on Windows, including framework-dependent builds without an apphost. - Corrected
linml doctordiagnostics 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.2wheel and source distribution. - Upgraded the release workflow to
actions/setup-python@v7, which runs on Node.js 24.
LinML v0.7.1
Full Changelog: v0.7.0...v0.7.1
LinML v0.7.0
What's Changed
- Explicit AOT compilation pillar: linml compile, artifact-aware sessions, matrix compatibility check by @tonythethompson in #61
- Add linml prepare: ORT graph optimization and dynamic quantization by @tonythethompson in #62
- Add compile --allow-partial for heterogeneous-graph artifacts by @tonythethompson in #63
- Add AOT compile verdicts to linml probe and the verification protocol by @tonythethompson in #64
- Add linml cache: list/prune/clear for the ep-context cache by @tonythethompson in #66
- Automatic device selection: register vendored plugins in zero-config mode by @tonythethompson in #72
- In-process native bindings: liblinml C ABI + Python backend by @tonythethompson in #68
- fix(native): resolve EP libraries before registering inherited mappings by @tonythethompson in #75
- Go and Rust bindings for liblinml by @tonythethompson in #69
- Split two methods CodeFactor flags as complex by @tonythethompson in #77
- Share session EP library resolution between CLI and native library by @tonythethompson in #76
- Prepare 0.7.0 release by @tonythethompson in #78
- Fix release native restore ordering by @tonythethompson in #80
Full Changelog: v0.6.2...v0.7.0
LinML v0.6.2
What's Changed
- Apply fixes from CodeFactor by @codefactor-io[bot] in #46
- Placement-aware probes, read-only-home tolerance, Python packaging fixes by @tonythethompson in #45
- Migrate to ONNX Runtime 1.32 by @tonythethompson in #44
- Detect Qualcomm Hexagon NPUs in linml setup by @tonythethompson in #43
New Contributors
- @codefactor-io[bot] made their first contribution in #46
Full Changelog: v0.6.1...v0.6.2
LinML v0.6.1
What's Changed
- Drop the trackdubllc NUGET_USER fallback in the release workflow by @tonythethompson in #41
- Add CUDA 12 TensorRT-RTX variant with driver-driven selection by @tonythethompson in #42
Full Changelog: v0.6.0...v0.6.1
LinML v0.6.0
What's Changed
- Isolate unloadable LINML_EP_LIBRARIES plugins; move TensorRT-RTX to 0.5.0 (1.7.1) by @tonythethompson in #37
- Pin the TensorRT-RTX EP 0.5.0 wheel (TensorRT-RTX 1.7.1) by @tonythethompson in #38
- Release 0.6.0 by @tonythethompson in #39
- Drop the install hint for a provider the host cannot run (fixes v0.6.0 release run) by @tonythethompson in #40
Full Changelog: v0.5.1...v0.6.0
LinML v0.5.1
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
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 toep-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,sha256sumandunzipcommands, without cloning the repository. See Plugin Execution Providers in the README.
Behavior changes
requestedProviderisnullwhen no--provideris given.run,serveand--profilereportrequested: autoin text output. Auto selection never counts as a fallback.- A failed explicit
--provider Xfalls 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 listmatchesdoctor: catalog plugins are registered before discovery, so trt-rtx and OpenVINO appear. A plugin with no EP devices is marked as such.providers listalso gained--root.catalog listreads plugin status after the resolvable plugins are registered, so a working trt-rtx readsReady.catalog installprints 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 --portanswers onhttp://localhost:<port>as well as127.0.0.1.--jsonis listed once per command, and the global option works before or after the subcommand.--versionreports 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-missingNot 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
- Fix CLI provider labels, discovery parity, and MIGraphX gating, QNN wiring by @tonythethompson in #32
- Support TensorRT-RTX on Linux aarch64 (SBSA) by @tonythethompson in #33
Full Changelog: v0.4.2...v0.5.0
LinML v0.4.2
What's Changed
- Install patched TRT-RTX EP by default on WSL2 by @tonythethompson in #31
Full Changelog: v0.4.1...v0.4.2
TensorRT-RTX WSL2 EP 0.4.0-wsl2p2 (opt-in prerelease)
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.
- Upstream issue: NVIDIA/TensorRT-RTX-EP-ABI#13
- Upstream fix: NVIDIA/TensorRT-RTX-EP-ABI#12 (open at
the time of publishing)
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-rtxwheel, 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.jsonA 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; seelicenses/andPATCH-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.shin anubuntu:22.04container;scripts/check-elf-floor.shfails 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.mdfor 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.