microsoft / microsoft/onnxruntime

[DML EP] out_of_range exception in Dml::GraphDescBuilder::BuildGraphDesc

Open
#17,516 6 comments 0 reactions 1 assignee View on GitHub

@sumitsays is already working on this.

Since Sep 14, 2023.

ep:DML
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 8h
Merged PRs (30d)
179

Description

I got an out_of_range exception at the line below while trying to benchmark with onnxruntime.transformers.models.stable_diffusion.benchmark module.

https://github.com/microsoft/onnxruntime/blob/db558ef9b47894179346472592d145448574197a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphDescBuilder.cpp#L376

It looks graphNodeCreateInfo defined below was not filled with valid information but subGraphOutputArgNames has an element.

https://github.com/microsoft/onnxruntime/blob/db558ef9b47894179346472592d145448574197a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphDescBuilder.cpp#L247

Is it expected to be filled by the factory function?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.