Skip to content

Minor errata to #280 - #412

Merged
hwanseoc merged 1 commit into
NVIDIA:developfrom
hwanseoc:hwanseoc/fix-ragged-offset-json-serialization
Jul 22, 2026
Merged

Minor errata to #280#412
hwanseoc merged 1 commit into
NVIDIA:developfrom
hwanseoc:hwanseoc/fix-ragged-offset-json-serialization

Conversation

@hwanseoc

Copy link
Copy Markdown
Member

Before submitting

  • I agree to license this contribution under the terms of LICENSE.txt.
  • Formatting checked with clang-format.

Affected area

  • C++ frontend API or graph construction

Summary

Include complete ragged-offset tensor descriptors in the graph JSON v2 tensors table. Recursively follows nested ragged offsets and deduplicates shared descriptors.

Why

PR #280 serialized only ragged_offset_uid on parent tensors. Deserialization therefore created UID-only placeholders without the offset dimensions, strides, or data type, causing operation-graph construction to fail for ragged graphs.

Related issues

Related to #280.

API and compatibility impact

None. This completes the existing graph JSON v2 schema for ragged tensors.

Testing

  • clang-format --dry-run --Werror include/cudnn_frontend/graph_interface.h
  • cmake --build build --target tests -j2
  • build/bin/tests [serialize]: 58 assertions in 11 test cases passed
  • Standalone ragged-offset JSON round-trip and operation-graph build probe: passed

@coderabbitai ignore

@hwanseoc

Copy link
Copy Markdown
Member Author

@cudnn-ci-bot run

@cudnn-ci-bot

Copy link
Copy Markdown

🚀 Running mirror pipeline

Branch: cudnn-gh/pr-412-cf3146f
Pipeline: 58815649

@hwanseoc hwanseoc self-assigned this Jul 22, 2026
@hwanseoc hwanseoc added cat-enhancements mod-frontend cuDNN frontend APIs, operation graph construction, plans, and user-facing wrappers. orig-nv-eng Reported or requested by NVIDIA engineering. labels Jul 22, 2026
@hwanseoc hwanseoc added this to the Frontend 1.27.0 milestone Jul 22, 2026
@hwanseoc
hwanseoc merged commit 3a9ed3f into NVIDIA:develop Jul 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat-enhancements mod-frontend cuDNN frontend APIs, operation graph construction, plans, and user-facing wrappers. orig-nv-eng Reported or requested by NVIDIA engineering.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants