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
apex
Commits
8a8eb34f
Commit
8a8eb34f
authored
Aug 09, 2022
by
hubertlu-tw
Browse files
Skip a flaky unit test
parent
975a0e53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tests/L0/run_mlp/test_mlp.py
tests/L0/run_mlp/test_mlp.py
+1
-0
No files found.
tests/L0/run_mlp/test_mlp.py
View file @
8a8eb34f
...
@@ -134,6 +134,7 @@ class TestMLP(unittest.TestCase):
...
@@ -134,6 +134,7 @@ class TestMLP(unittest.TestCase):
ref_mlp
[
0
].
bias
.
grad
.
detach
().
cpu
().
numpy
(),
ref_mlp
[
0
].
bias
.
grad
.
detach
().
cpu
().
numpy
(),
atol
=
1e-7
,
rtol
=
1e-5
)
atol
=
1e-7
,
rtol
=
1e-5
)
@
skipFlakyTest
def
test_no_grad
(
self
):
def
test_no_grad
(
self
):
mlp
=
MLP
(
mlp_sizes
).
cuda
()
mlp
=
MLP
(
mlp_sizes
).
cuda
()
...
...
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