Skip to content

Latest commit

 

History

History
149 lines (121 loc) · 8.38 KB

compatibility.md

File metadata and controls

149 lines (121 loc) · 8.38 KB

Compatibility

NVCR's current target matrix covers the runtime, engine, and hardware identity needed for each completed platform.

Profile Runtime path Engine requirement Status
rtx3050-laptop-ubuntu2404 Linux x86_64, RTX 3050 Laptop, TensorRT FP16 Exact target-local plans Docker execution recorded; exact target validation remains open
rtx4070-ubuntu2404 Linux x86_64, RTX 4070 SM 8.9, TensorRT FP16 Exact plans and TensorRT 10.9 identity Completed execution results
rtx5060-laptop-ubuntu2404 Linux x86_64, RTX 5060 Laptop, TensorRT FP16 Exact target-local plans Portability execution recorded
orin-nano-l4t3647 Linux AArch64, Jetson Orin Nano, TensorRT FP16 Exact Jetson plans and CUDA/TensorRT runtime Completed native execution results

Compatibility dimensions

Dimension Meaning in NVCR
Software/API Public C++ API compatibility follows semantic versioning: patch and minor releases preserve compatibility; breaking changes require a major release. Cross-release ABI compatibility is not guaranteed; rebuild applications when upgrading.
Artifact schema Manifest/catalog/model-set versions and required files
Provider runtime CUDA/TensorRT/provider version and execution capabilities
Hardware target Device name, compute capability, architecture, memory, and target profile
Stream format NVAU version, IDs, sections, bounds, and parser rules
Codec payload Private DCVC-RT syntax and model/profile behavior inside NVAU; not upstream Python interchange
Application/container Packet, .nvcr, NVCR, and NVCS wrappers; not MP4, Matroska, or standard-container compatibility

Artifact classes

  • Exact: built and validated for the named target profile. This is the primary production evidence mode.
  • Same compute capability: explicitly cataloged desktop artifact for the same SM class, with representative correctness and comparison evidence.
  • Ampere-plus: explicit desktop fallback class, separately validated and not applicable to Jetson.

TensorRT matching remains exact in the catalog policy. Jetson is exact-only. CUDA helper-kernel coverage in a host binary does not make a TensorRT plan portable across devices or runtimes. Always say what is portable: source code, host binary, CUDA code, engine bundle, catalog entry, access unit, or container userspace.

Cross-target decode

A DCVC-RT stream decodes correctly only on a decoder that reproduces the encoder's entropy parameters bit for bit: the same execution provider and the same exact plan set on the same GPU model. A different GPU (for example RTX 4070 to RTX 5060), a different plan set, or a different provider computes slightly different FP16 scales. Any scale near one of the 128 entropy-table boundaries then selects a neighbouring table and desynchronizes the rANS decoder (issue #216).

Such a decode fails with malformed_bitstream ("DCVC-RT entropy decoding desynchronized") instead of reconstructing wrong frames. Each frame's rANS stream must end exactly at the encoder's initial state with every byte consumed, and the decoder never reads past the stream. Detection is probabilistic but practically certain for a desynchronized frame. Bit errors that only touch raw bypass bits do not desynchronize the coder and are not detected, because NVAU carries no checksum.

An encoder can instead request exact numerics (--numerics nvcr.intconv.v1). Every decoder-side stage then runs in exact integer arithmetic from portable programs in the artifact bundle's normative/ directory, so every provider that implements the profile reproduces the encoder's entropy decisions, reference state and decoded frames bit for bit, I- and P-frames alike. The stream names the profile and a digest of the programs on every random-access unit; a decoder without the profile or with different programs fails before decoding. See cross-target decode.

DCVC-RT capability matrix

Cells follow AGENTS.md: exact (bit-identical through a conformant numerics profile), native (decodes with the provider's native arithmetic), unsupported (fails, cleanly), untested. A cell is filled only from a retained conformance result; support is never inferred from a GPU model or from another pair.

Decoding a stream encoded on a different provider or target:

Encoder Decoder Native numerics (default) nvcr.intconv.v1 nvcr.fx.v1
TensorRT, RTX 4070 TensorRT, same RTX 4070 and plans native, bit-identical exact exact
TensorRT, RTX 4070 ONNX Runtime CPU, same host unsupported (desync detected) exact exact
ONNX Runtime CPU TensorRT, RTX 4070, same host unsupported (desync detected) exact untested
TensorRT, RTX 4070 TensorRT, RTX 5060 untested (issue #216 reports desync) untested untested
Any ONNX Runtime CUDA or QNN untested unsupported (profile not implemented; fails before decode) unsupported (profile not implemented; fails before decode)

Under nvcr.fx.v1, the decoder's entropy decisions, decoded latents and reference state are bit-identical to the encoder's. P pictures are drawn from that state in FP16 and are not part of the profile.

Exact numerics currently cost speed: at 1080p on the RTX 4070, decode runs at 18.4 fps against 48.7 fps native and encode at 30.1 against 64.5 fps (codec interval, diagnostic measurement). Under nvcr.fx.v1 it runs at 29.4 fps decode and 24.5 fps encode, against 47.6 and 45.5 fps native (codec interval, diagnostic). Native remains DCVC-RT's default. Evidence: issue #216, nvcr.fx.v1.

DCVC-UF capability matrix

Same cell rules. Decoding a DCVC-UF HT-S stream encoded on a different provider or target:

Encoder Decoder Native numerics (default) nvcr.fx.v1
TensorRT, RTX 4070 TensorRT, same RTX 4070 and plans native, bit-identical exact
TensorRT, RTX 4070 ONNX Runtime CPU, same host unsupported (no native path) exact
ONNX Runtime CPU TensorRT, RTX 4070, same host unsupported (no native path) untested
TensorRT, RTX 4070 TensorRT, RTX 5060 Laptop unsupported (desync detected) untested
Any ONNX Runtime CUDA or QNN unsupported unsupported (profile not implemented; fails before decode)

Under nvcr.fx.v1 the decoder's entropy decisions, decoded latents, feature memory and decoded features are bit-identical to the encoder's; the eight pictures of a chunk are drawn from that state in FP16 and are not part of the profile. At 1080p on the RTX 4070 it decodes at 60.2 fps and encodes at 61.0 fps, against 90.9 and 113.5 fps native (codec interval, diagnostic), at -1.5 % to -1.8 % BD-rate against native. Native remains DCVC-UF's default. Evidence: nvcr.fx.v1, C13 cross-decode.

Format and codec position

  • NVAU is the versioned, bounded codec access-unit contract. Version 1 is the production default; version 2 is implemented but experimental, with no stable public format guarantee.
  • NVCR/NVCS and .nvcr are development/application wrappers with no claim to be standard multimedia containers.
  • The DCVC-RT inner payload is an NVCR implementation format, not an upstream Python bitstream contract.
  • Reference consistency is a reconstruction/rate-distortion claim; payload interchangeability requires bidirectional cross-runtime golden tests.

Current format compatibility

Format Writer Current reader
NVAU v1 Default writer Accepted
NVAU v2 Explicit sectioned writer; experimental Accepted
Other NVAU versions None Rejected
NVCR packet envelope Version 1 Version 1 only
NVCS sequence wrapper Version 1, flags 0 Version 1, flags 0
Private codec payload NVI1 / NVP1 Corresponding syntax and supported fields

Acceptance means parsing valid, bounded data. It does not establish support for every v2 feature in production decoding or interchangeability with upstream Python streams.

See compatibility levels for the experiment-specific acceptance rules and scope and support for the release support gate.