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
c1e2095c
Unverified
Commit
c1e2095c
authored
Dec 01, 2023
by
Andrey Talman
Committed by
GitHub
Dec 01, 2023
Browse files
[Python 3.12] Fix for, Dynamo is not supported on Python 3.12+ error (#8137)
parent
1fda0e85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
test/smoke_test.py
test/smoke_test.py
+4
-1
No files found.
test/smoke_test.py
View file @
c1e2095c
...
...
@@ -90,7 +90,10 @@ def main() -> None:
if
torch
.
cuda
.
is_available
():
smoke_test_torchvision_decode_jpeg
(
"cuda"
)
smoke_test_torchvision_resnet50_classify
(
"cuda"
)
smoke_test_compile
()
# TODO: remove once pytorch/pytorch#110436 is resolved
if
sys
.
version_info
<
(
3
,
12
,
0
):
smoke_test_compile
()
if
torch
.
backends
.
mps
.
is_available
():
smoke_test_torchvision_resnet50_classify
(
"mps"
)
...
...
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