Skip to content

feat(gpu): add nvJPEG2000 and nvTIFF decoding - #25

Open
Robert Kampf (BobbyCephy) wants to merge 1 commit into
microsoft:mainfrom
BobbyCephy:feat/nvjpeg2k-nvtiff
Open

Robert Kampf (BobbyCephy) wants to merge 1 commit into
microsoft:mainfrom
BobbyCephy:feat/nvjpeg2k-nvtiff

Conversation

@BobbyCephy

Copy link
Copy Markdown

Summary

  • Add runtime-loaded nvjpeg2k-sys and nvtiff-sys bindings and route JPEG 2000/TIFF inputs through GPU decoding.
  • Wire the decoders into the YOLO, tiled, classifier, and image-encoder paths; add optional pip-library path discovery for the GPU Python package.
  • Document supported versions, installation, and format limitations.

Validation

  • rustfmt --edition 2021 --check on the touched Rust files: passed.
  • cargo clippy -p sparrow-engine-gpu -p nvjpeg2k-sys -p nvtiff-sys --all-targets: passed.
  • GPU smoke test: 112/112 checks passed across both tested CUDA stream modes.
  • cargo test -p sparrow-engine-gpu --lib -- --test-threads=1: 120 passed; 28 failed because CUDA 12 nvrtc is unavailable in this CUDA 13 environment. The same 28 tests fail on unmodified upstream HEAD for the same reason; all decode unit tests passed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
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