Skip to content

Add dynamic shape explainer - #945

Open
miaobin wants to merge 1 commit into
webmachinelearning:mainfrom
miaobin:dynamic-shape-explainer
Open

Add dynamic shape explainer#945
miaobin wants to merge 1 commit into
webmachinelearning:mainfrom
miaobin:dynamic-shape-explainer

Conversation

@miaobin

@miaobin miaobin commented Aug 7, 2026

Copy link
Copy Markdown

This is the initial draft to summarize the discussion on dynamic shapes #883 .

The explainer covers named/unnamed dynamic dimensions, deferred (dispatch-time) shape validation, computeShapes() API, and a new family of shape-as-data (*Dynamic) operators.

Open questions and considered alternatives are called out explicitly in the explainer and feedback on this doc would be very welcome.

@miaobin

miaobin commented Aug 7, 2026

Copy link
Copy Markdown
Author

A POC based on the current explainer is WIP. And it has been validated against some real-world Transformer, LLM and image generation models.
With credits to @Honry for the ORT WebNN EP POC and assistance with the explainer, @huningxin and @fdwr for the initial review of this explainer.

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