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
fairscale
Commits
54a97ee5
Unverified
Commit
54a97ee5
authored
Apr 04, 2021
by
msbaines
Committed by
GitHub
Apr 04, 2021
Browse files
[test] disable test which has started to become flaky (#575)
This test is flaky for torch >= 1.8.0.
parent
88553373
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/nn/pipe_process/test_rpc.py
tests/nn/pipe_process/test_rpc.py
+1
-1
No files found.
tests/nn/pipe_process/test_rpc.py
View file @
54a97ee5
...
@@ -242,7 +242,7 @@ def rpc_multiple_tensors():
...
@@ -242,7 +242,7 @@ def rpc_multiple_tensors():
@
pytest
.
mark
.
skipif
(
"OMPI_COMM_WORLD_RANK"
in
os
.
environ
,
reason
=
"no mpi"
)
@
pytest
.
mark
.
skipif
(
"OMPI_COMM_WORLD_RANK"
in
os
.
environ
,
reason
=
"no mpi"
)
@
pytest
.
mark
.
skipif
(
not
torch
.
cuda
.
is_available
(),
reason
=
"cuda required"
)
@
pytest
.
mark
.
skipif
(
not
torch
.
cuda
.
is_available
(),
reason
=
"cuda required"
)
# TODO(msb) Fix this
# TODO(msb) Fix this
@
pytest
.
mark
.
skipif
(
torch
.
__version__
.
split
(
"+"
)[
0
].
split
(
"."
)
=
=
[
"1"
,
"8"
,
"0"
],
reason
=
"disabled for torch 1.8.0"
)
@
pytest
.
mark
.
skipif
(
torch
.
__version__
.
split
(
"+"
)[
0
].
split
(
"."
)
>
=
[
"1"
,
"8"
,
"0"
],
reason
=
"disabled for torch 1.8.0"
)
def
construct_only_rank_zero
():
def
construct_only_rank_zero
():
model
=
[
nn
.
Linear
(
10
,
10
),
nn
.
ReLU
()]
model
=
[
nn
.
Linear
(
10
,
10
),
nn
.
ReLU
()]
if
torch
.
distributed
.
get_rank
()
==
0
:
if
torch
.
distributed
.
get_rank
()
==
0
:
...
...
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