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
e1f1fbe4
"vscode:/vscode.git/clone" did not exist on "64862b5a2c23e339f1602f0c3b8392104cc33d40"
Unverified
Commit
e1f1fbe4
authored
Jun 06, 2024
by
Nicolas Hug
Committed by
GitHub
Jun 06, 2024
Browse files
Skip MPS tests (#8474)
parent
4393f7df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
test/conftest.py
test/conftest.py
+2
-1
No files found.
test/conftest.py
View file @
e1f1fbe4
...
...
@@ -49,7 +49,8 @@ def pytest_collection_modifyitems(items):
# There are special cases though, see below
item
.
add_marker
(
pytest
.
mark
.
skip
(
reason
=
CUDA_NOT_AVAILABLE_MSG
))
if
needs_mps
and
not
torch
.
backends
.
mps
.
is_available
():
# TODO: uncoment when MPS works again - see FIXME in setup.py
if
needs_mps
:
# and not torch.backends.mps.is_available():
item
.
add_marker
(
pytest
.
mark
.
skip
(
reason
=
MPS_NOT_AVAILABLE_MSG
))
if
IN_FBCODE
:
...
...
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