Add GPU-resident YOLO26 video inference example (rocDecode + MIGraphX)#451
Open
itikhono wants to merge 3 commits into
Open
Add GPU-resident YOLO26 video inference example (rocDecode + MIGraphX)#451itikhono wants to merge 3 commits into
itikhono wants to merge 3 commits into
Conversation
Author
|
@ROCm/rocm-examples-owners could you help with reviewing this sample please? |
zichguan-amd
approved these changes
May 14, 2026
Collaborator
zichguan-amd
left a comment
There was a problem hiding this comment.
Thanks, this LGTM. Is this something that we can/want to add to our CI testing?
Author
I will double check if we can add a new test |
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
New Python example under
AI/MIGraphX/gpu_resident_yolo26_pipeline/demonstrating a zero-copy decode-to-detection pipeline on AMD GPUs:This is the companion code for the upcoming ROCm blog post Building a GPU-Resident YOLO26 Object Detection Pipeline on the AMD Radeon AI PRO R9700 GPU (ROCm/rocm-blogs#355).
An OpenCV CPU-decode path (
--decoder opencv) is included as a baseline.Files
README.md,main.py,prepare_model.py,requirements.txt,.gitignore,data/peloton_sample_ai_gen.mp4(1080p H.264 sample),images/result_boxes.jpg.Test plan
Tested inside
rocm/pytorch:rocm7.2.2_ubuntu22.04_py3.10_pytorch_release_2.10.0:python3 prepare_model.pyproducesmodel.mxrpython3 main.py --decoder rocdecode-> 248 fps end-to-endpython3 main.py --decoder opencv-> 195 fps end-to-endtested on AMD Radeon AI PRO R9700 GPU