← News

Technology updates

NVIDIA Ships cuDLA Python Bindings for DLA Inference on Jetson AGX Orin and RTX Spark

An NVIDIA developer post details cuda.bindings.cudla, which exposes the cuDLA runtime to Python for nine-step hybrid-mode DLA inference on Jetson AGX Orin, with the same API said to work on RTX Spark.

Published: 2026-11-18 12:58 UTCUpdated: 2026-11-18 12:58 UTCSource date: 2026-11-13

NVIDIA published a developer blog post on November 13, 2026, walking through native Deep Learning Accelerator (DLA) inference in Python on Jetson AGX Orin. The centerpiece is the cuda.bindings.cudla module, introduced in cuda-bindings 13.3.0 as part of the CUDA Python project. It is a thin, Cython-generated layer over the cuDLA C++ API, exposing thirteen functions, nine data types and eight enums for hybrid-mode workflows.

DLA is a fixed-function accelerator that efficiently runs convolutions, pooling and similar operations common in modern networks. It supports fewer layers than the GPU but covers many structures used by popular architectures. Offloading inference to DLA can improve power efficiency and free GPU capacity for other work. Previously, managing the DLA runtime meant writing C++ code; the new bindings keep device creation, network loading, buffer registration and task submission inside a Python process.

The described workflow splits into a one-time build and an on-device runtime. To build, developers use TensorRT's trtexec to convert a trained network into a DLA loadable binary: --useDLACore=0 selects the first DLA engine on Orin, --buildDLAStandalone produces an artifact that no longer needs TensorRT at inference time, and I/O format flags choose the CHW16 layout. The author notes that TensorRT 11 derives precision from the model's tensor types, so the --fp16 and --int8 flags are no longer supported, and that not every layer is DLA-compatible, so trimming incompatible head and tail layers from the ONNX graph is often necessary.

At runtime the post lays out nine steps: initialize CUDA and create a device with Cudla.Mode.CUDA_DLA; load the loadable from a Python bytes object in memory; query tensor descriptors; allocate GPU memory using the byte sizes in those descriptors; register the buffers with the DLA device; preprocess and asynchronously copy the input; build a cudla.Task and submit it on a CUDA stream; synchronize and copy results back; then destroy every handle. Because a single CUDA stream sequences GPU preprocessing, DLA inference and GPU postprocessing, and because allocation sizes come from descriptors rather than hardcoded values, the same code paths work for any loadable.

Error handling follows Python conventions. Failed cuDLA calls raise cudla.CudlaError carrying both a numeric status and a readable name, so callers can branch on the cudla.Status enum and use try/finally for cleanup, since DLA device handles are opaque C resources that garbage collection will not release. The post also states that this release does not support standalone mode, which requires NvSci buffers and synchronization primitives; requesting it raises ErrorUnsupportedOperation.

One notable claim is that the same cuDLA Python API applies to NVIDIA RTX Spark, extending DLA inference beyond embedded and robotics platforms to Windows AI developer laptops. This is a vendor statement; the post provides no RTX Spark performance data. For developers running several networks at the edge under tight power budgets, the bindings make it practical to orchestrate a GPU-and-DLA pipeline without leaving Python. Whether that translates into power savings still depends on how much of a given model is DLA-compatible and on preprocessing and data-transfer overhead.


Related articles