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

Remove onnxruntime_util dependency on onnxruntime_framework #10512

Merged
merged 7 commits into from
Feb 11, 2022

Conversation

edgchen1
Copy link
Contributor

Description
There's a circular dependency between onnxruntime_util and onnxruntime_framework.
Remove onnxruntime_util's dependency on onnxruntime_framework.

Motivation and Context
Remove circular dependency.

@edgchen1 edgchen1 requested review from snnn and wschin February 10, 2022 19:15
@edgchen1 edgchen1 marked this pull request as ready for review February 10, 2022 19:15
Copy link
Member

@snnn snnn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I will approve it when all the build pass.

Besides,

  1. I hope our core framework does not rely on eigen much. I think eigen is EP specific.
  2. I made an error. Around cmake/onnxruntime_unittests.cmake line 504, I listed "onnxruntime_util" twice. if you will make more changes to this PR, please help me remove the duplicated one. Otherwise I will do it.

@edgchen1 edgchen1 changed the title [WIP] Remove onnxruntime_util dependency on onnxruntime_framework Remove onnxruntime_util dependency on onnxruntime_framework Feb 10, 2022
@edgchen1
Copy link
Contributor Author

LGTM. I will approve it when all the build pass.

Besides,

  1. I hope our core framework does not rely on eigen much. I think eigen is EP specific.
  2. I made an error. Around cmake/onnxruntime_unittests.cmake line 504, I listed "onnxruntime_util" twice. if you will make more changes to this PR, please help me remove the duplicated one. Otherwise I will do it.

@snnn will merge without additional changes so won't get to 2. in this PR

@edgchen1 edgchen1 merged commit f92e47e into master Feb 11, 2022
@edgchen1 edgchen1 deleted the edgchen1/reorder_util_dependency branch February 11, 2022 03:17
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