Closed JiangYueBook closed 1 month ago
Thanks for the report @JiangYueBook
This issue caused by Allow an MLGraphBuilder to build at most one MLGraph, @Honry will update WebNN EP in ONNX Runtime Web and I will update the ORT Web dists later in demo code.
@fdwr @Adele101
@a-sully Oops, I guess there was some impact. I figured your change would be impact-free for the samples.
@Honry Thank you for updating ORT. I guess the WebNN EP builds multiple partitions within the same graph using the same graphBuilder
?
@Honry Thank you for updating ORT. I guess the WebNN EP builds multiple partitions within the same graph using the same graphBuilder?
Yes, I am fixing this.
Repro Steps:
Launch latest Chrome Canary on Windows 11
C:\Users\AppData\Local\Google\Chrome SxS\Application\chrome.exe" --enable-features=WebMachineLearningNeuralNetwork
Visit https://microsoft.github.io/webnn-developer-preview/demos/segment-anything/
Check demo loading logs
Actual Result:
[Session Create] SAM ViT-B Decoder (FP16) failed, Failed to execute 'constant' on 'MLGraphBuilder': This MLGraphBuilder has already built a graph.
Environment: