Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
a0fcd083
Unverified
Commit
a0fcd083
authored
Nov 07, 2023
by
Andrey Talman
Committed by
GitHub
Nov 07, 2023
Browse files
Remove limitation for torch.compile and python 3.11 (#8102)
parent
ef2c281a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
test/smoke_test.py
test/smoke_test.py
+0
-2
No files found.
test/smoke_test.py
View file @
a0fcd083
...
@@ -44,8 +44,6 @@ def smoke_test_compile() -> None:
...
@@ -44,8 +44,6 @@ def smoke_test_compile() -> None:
except
RuntimeError
:
except
RuntimeError
:
if
sys
.
platform
==
"win32"
:
if
sys
.
platform
==
"win32"
:
print
(
"Successfully caught torch.compile RuntimeError on win"
)
print
(
"Successfully caught torch.compile RuntimeError on win"
)
elif
sys
.
version_info
>=
(
3
,
11
,
0
):
print
(
"Successfully caught torch.compile RuntimeError on Python 3.11"
)
else
:
else
:
raise
raise
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment