Skip to content

Add shared C++ YOLO26 runtime for RK3576 and RK3588 - #6

Open
Hanzo-Huang wants to merge 2 commits into
Seeed-Projects:mainfrom
Hanzo-Huang:cpp-yolo26-runtime
Open

Hanzo-Huang wants to merge 2 commits into
Seeed-Projects:mainfrom
Hanzo-Huang:cpp-yolo26-runtime

Conversation

@Hanzo-Huang

@Hanzo-Huang Hanzo-Huang commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

What changed

  • Add the shared Rockchip C++ runtime in src/cpp, including the HTTP API and the browser detection preview.
  • Add all 84 YOLO26 n, s, and m variants across RK3576, RK3588, INT8, FP16, and seven tasks. Model files and metadata are downloaded from the pinned Hugging Face revision and checked against SHA-256 hashes.
  • Build one ARM64 runtime per source revision. GitHub Actions verifies that each model image has the exact runtime layer sequence followed by one model layer. Package names follow yolo26n, yolo26s-pose, and the other task suffixes, with tags such as rk3588-fp16.
  • Keep the Python model directories and existing CPP projects intact. The legacy workflow checks out only the files it needs when it actually builds.

Validation

  • Validated the full catalog and confirmed all 84 RKNN hashes, metadata checksums, and metadata contracts at the pinned Hugging Face revision.
  • Checked both workflows with actionlint and checked Python and browser JavaScript syntax.
  • Built representative RK3576 INT8 detection and RK3588 FP16 pose packages on the same cached ARM64 runtime and verified both appended exactly one layer.
  • The workflow runs package integrity and native import checks for every image without requiring an NPU on the runner.
  • GitHub Actions built all 84 variants and verified the shared layer sequence for every image. Workflow run
  • Ran representative NPU inference for YOLO26n INT8 detection on RK3576 and YOLO26s FP16 pose on RK3588.

@Hanzo-Huang
Hanzo-Huang marked this pull request as ready for review November 20, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant