Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CalculateTotalInputSizes/CalculateTotalOutputSizes bug #4229

Merged
merged 1 commit into from
Jun 14, 2020

Conversation

tracysh
Copy link
Contributor

@tracysh tracysh commented Jun 14, 2020

Description: When profiling is enabled, these two functions are called to calculate the total size of the input and output tensors. The routines don't handle nodes with missing optional input or output nodes.

Motivation and Context
I hit a crash when attempting to run a model using python where profiling was enabled by default. The model had LSTM nodes with unused edges. This fix the crash.

@tracysh tracysh requested a review from a team as a code owner June 14, 2020 05:57
@skottmckay skottmckay merged commit bf3c321 into master Jun 14, 2020
@skottmckay skottmckay deleted the tracysh/profiler_bug branch June 14, 2020 22:10
stevenlix pushed a commit that referenced this pull request Jun 14, 2020
stevenlix added a commit that referenced this pull request Jun 15, 2020
* Fix deprecated CentOS link for Linux CI pipeline (#4000)

* Fix Linux_CI_GPU_Dev

* centos6

* Fix crash reported in #4070. (#4091)

* Fix crash reported in #4070.

* Add newline to warning message

* Add comment for using cout instead of the logger

* fix optional input/outputs (#4229)

Co-authored-by: Ryan Lai <[email protected]>
Co-authored-by: Pranav Sharma <[email protected]>
Co-authored-by: Tracy Sharpe <[email protected]>
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.

2 participants