Skip to content

ORT Update: Create MLGraphBuilder for every model builder - #21

Merged
Dwayne Robinson (fdwr) merged 1 commit into
microsoft:mainfrom
ibelem:mlgraphbuilder
Aug 6, 2024
Merged

Dwayne Robinson (fdwr) merged 1 commit into
microsoft:mainfrom
ibelem:mlgraphbuilder

Conversation

@ibelem

@ibelem Belem Zhang (ibelem) commented Jul 26, 2024

Copy link
Copy Markdown
Contributor

Fix #20 Error: "This MLGraphBuilder has already built a graph"

This PR updated the internal ONNX Runtime Web dists built with change of onnxruntime/pull/21514 Create MLGraphBuilder for every model builder by Wanming Lin (@Honry) . There is no error for SA and other dev preview demos on Canary 129.0.6617.0 .

Reference: webmachinelearning/webnn#717 Allow MLGraphBuilder.build() to be called only once

Dwayne Robinson (@fdwr) Adele101 Please only merge this PR if no further changes in microsoft/onnxruntime#21514 , or we need to continute to update the ORT dists based on your review feedback.

@fdwr Dwayne Robinson (fdwr) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 TY. Will wait for other ORT CR to complete to ensure no other changes to it.

@fdwr

Copy link
Copy Markdown
Collaborator

Merged microsoft/onnxruntime#21514.
Now merging this.

@fdwr
Dwayne Robinson (fdwr) merged commit bfd159c into microsoft:main Aug 6, 2024
@ibelem
Belem Zhang (ibelem) deleted the mlgraphbuilder branch September 25, 2024 07:36
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.

[Segment Anything][SAM ViT-B Decoder] Failed to execute 'constant' on 'MLGraphBuilder': This MLGraphBuilder has already built a graph

2 participants