microsoft / webnn-developer-preview

MIT License
38 stars 7 forks source link

ORT Update: Create MLGraphBuilder for every model builder #21

Closed ibelem closed 1 month ago

ibelem commented 1 month ago

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 @Honry . There is no error for SA and other dev preview demos on Canary 129.0.6617.0 .

Reference: https://github.com/webmachinelearning/webnn/pull/717 Allow MLGraphBuilder.build() to be called only once

@fdwr @Adele101 Please only merge this PR if no further changes in https://github.com/microsoft/onnxruntime/pull/21514 , or we need to continute to update the ORT dists based on your review feedback.

fdwr commented 1 month ago

Merged https://github.com/microsoft/onnxruntime/pull/21514. Now merging this.