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

fix memory profile build #16177

Merged
merged 1 commit into from
May 31, 2023
Merged

fix memory profile build #16177

merged 1 commit into from
May 31, 2023

Conversation

jslhcl
Copy link
Contributor

@jslhcl jslhcl commented May 31, 2023

Description

This PR is to fix the build break when onnxruntime_ENABLE_MEMORY_PROFILE is on

Motivation and Context

This PR is to fix the build break when onnxruntime_ENABLE_MEMORY_PROFILE is on.
It fixes this issue #16124

@jslhcl
Copy link
Contributor Author

jslhcl commented May 31, 2023

/azp run onnxruntime-binary-size-checks-ci-pipeline

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@snnn
Copy link
Member

snnn commented May 31, 2023

You can merge it now. The DNNL pipeline failure is not related to your change.

@ivberg
Copy link
Contributor

ivberg commented May 31, 2023

Working with @jslhcl to make sure this not only fixes the build but also provides working functionality of memory profiling. This was refactored so important to test. Original version only worked by default on GPU but had internal CPU support.

@jslhcl jslhcl merged commit 13d6ac7 into main May 31, 2023
@jslhcl jslhcl deleted the leca/buildBreak branch May 31, 2023 23:08
@snnn
Copy link
Member

snnn commented Jun 1, 2023

@jslhcl , does the problem exist in ORT 1.15.0 release?

snnn pushed a commit that referenced this pull request Jun 15, 2023
### Description
<!-- Describe your changes. -->
This PR is to fix the build break when onnxruntime_ENABLE_MEMORY_PROFILE
is on


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
This PR is to fix the build break when onnxruntime_ENABLE_MEMORY_PROFILE
is on.
It fixes this issue
#16124

Co-authored-by: Lei Cao <leca@microsoft.com>
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.

3 participants