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

[export] ExportedProgram #102259

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/dynamo/test_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -2358,9 +2358,9 @@ def f(x, y):
[c.serializable_spec for c in constraints],
)
preserved = False
for _, vr in gm.meta["inline_constraints"].items():
for _, (lower, upper) in gm.meta["inline_constraints"].items():
# Should have the constraint with min=2, max=5
if vr.lower == 2 and vr.upper == 5:
if lower == 2 and upper == 5:
preserved = True
self.assertTrue(preserved)

Expand All @@ -2387,9 +2387,9 @@ def f(x):
)

preserved = False
for _, vr in gm.meta["inline_constraints"].items():
for _, (lower, upper) in gm.meta["inline_constraints"].items():
# Should have the constraint with min=2, max=5
if vr.lower == 2 and vr.upper == 5:
if lower == 2 and upper == 5:
preserved = True
self.assertTrue(preserved)

Expand Down