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

disable symbolic shape inference by default #21330

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yufenglee
Copy link
Member

Description

symbolic shape inference is not useful for standard onnx model and it is prone to fail. disable it by default #21277.

Motivation and Context

)
except Exception:
logger.error("ONNX Runtime symbolic shape inference failed! Consider rerun without it.")
logger.error(traceback.format_exc())
Copy link
Contributor

Choose a reason for hiding this comment

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

should the exception be rethrown or is it intentionally only logged before continuing?

Copy link
Member Author

Choose a reason for hiding this comment

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

it is intentionally to logged instead of exit.

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