Add accelerated tensor-native media runtimes#2648
Merged
PawelPeczek-Roboflow merged 3 commits intoJul 14, 2026
Merged
Conversation
| def build_gstreamer_cuda_pipeline(video: str, *, device_id: int = 0) -> str: | ||
| is_live = _local_file_path(video) is None | ||
| queue_options = ( | ||
| "max-size-buffers=2 max-size-bytes=0 max-size-time=0 leaky=downstream" |
Collaborator
There was a problem hiding this comment.
let's see here - since appsink is there passing to the other side - probably "frame is done" is assumed at the moment of passing frame to the app - and therefore decoding of file may not wait for frame to be fully processed
PawelPeczek-Roboflow
approved these changes
Jul 14, 2026
PawelPeczek-Roboflow
left a comment
Collaborator
There was a problem hiding this comment.
I would just empirically check and move on
59ab92f
into
mvp/new-inference-pipeline
4 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This stacked PR adds accelerated, tensor-native media runtimes for NVIDIA Jetson and cloud GPUs. It is intentionally based on
mvp/new-inference-pipeline.jetson-utilsruntime dependencyWhy
The pipeline needs both hardware acceleration and tensor-native frame transport. Depending on the unmaintained Dusty-NV
jetson-utilsproject would enlarge and constrain the base runtime, so the required zero-copy bridge behavior is implemented directly in this repository. The source builds provide a consistent feature surface across Jetson and cloud GPU targets while preserving NVIDIA's Jetson BSP plugins where they are required.Validation
Automated
JetPack 7.2 hardware (Thor)
uridecodebinwith SAN-valid CA verification, NVMM, and nvJPEGjetson-utils, compiler/dev dependencies, or build artifacts were presentJetPack 6.2 hardware (Orin AGX and Orin NX)
Image/runtime notes
The Jetson image uses NVIDIA's BSP media plugins rather than the upstream GStreamer nvcodec plugin. Cloud GPU images retain the upstream nvcodec path. Runtime output contains only the libraries and plugins needed to execute these paths; compilation occurs in builder stages.