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

Use non-strict mode by default #1101

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

Use non-strict mode by default #1101

wants to merge 1 commit into from

Conversation

kwen2501
Copy link
Contributor

@kwen2501 kwen2501 commented May 2, 2024

torch.export has strict mode and non-strict mode.
For difference, please read Non-Strict Export.

This PR switches to non-strict mode by default. Improving tracing success rate (no Dynamo graph break).

@wconstab
Copy link
Contributor

wconstab commented May 3, 2024

im not convinced.

i should be easy to convince since at the moment i'm fighting with tracer issue after tracer issue.

however, if the answer is "turn off safety so it doesn't throw errors" i'm not sure i want to use the tracer at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants