Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pystencils_autodiff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
pycodegen
pystencils_autodiff
Commits
19f36b03
Commit
19f36b03
authored
5 years ago
by
Stephan Seitz
Browse files
Options
Downloads
Patches
Plain Diff
Remove unnecessary xfails
parent
64fbd5eb
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#20588
passed
5 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/backends/test_torch_native_compilation.py
+1
-1
1 addition, 1 deletion
tests/backends/test_torch_native_compilation.py
tests/test_tensorflow_jit.py
+3
-2
3 additions, 2 deletions
tests/test_tensorflow_jit.py
tests/test_tfmad.py
+6
-2
6 additions, 2 deletions
tests/test_tfmad.py
with
10 additions
and
5 deletions
tests/backends/test_torch_native_compilation.py
+
1
−
1
View file @
19f36b03
...
...
@@ -150,7 +150,7 @@ def test_torch_native_compilation_gpu():
assert
'
call_backward
'
in
dir
(
torch_extension
)
@pytest.mark.
parametrize
(
'
target
'
,
(
pytest
.
param
(
'
gpu
'
,
marks
=
pytest
.
mark
.
xfail
),
'
cpu
'
)
)
@pytest.mark.
skipif
(
'
CI
'
in
os
.
environ
,
reason
=
"
GPU too old on GITLAB CI
"
)
def
test_execute_torch
(
target
):
import
pycuda.autoinit
module_name
=
"
Ololol
"
+
target
...
...
This diff is collapsed.
Click to expand it.
tests/test_tensorflow_jit.py
+
3
−
2
View file @
19f36b03
...
...
@@ -8,18 +8,19 @@
"""
import
os
from
os.path
import
exists
import
pytest
import
sympy
import
pystencils
import
pystencils_autodiff
import
sympy
from
pystencils_autodiff
import
create_backward_assignments
from
pystencils_autodiff.backends.astnodes
import
TensorflowModule
@pytest.mark.
xfail
(
reason
=
"
cannot link against cudart on GITLAB CI
"
,
strict
=
False
)
@pytest.mark.
skipif
(
'
CI
'
in
os
.
environ
,
reason
=
"
GPU too old on GITLAB CI
"
)
def
test_tensorflow_jit_gpu
():
pytest
.
importorskip
(
'
tensorflow
'
)
...
...
This diff is collapsed.
Click to expand it.
tests/test_tfmad.py
+
6
−
2
View file @
19f36b03
...
...
@@ -231,7 +231,10 @@ def test_tfmad_gradient_check_torch_native(with_offsets, with_cuda):
[
dict
[
f
]
for
f
in
auto_diff
.
forward_input_fields
]),
atol
=
1e-4
,
raise_exception
=
True
)
@pytest.mark.parametrize
(
'
with_cuda
'
,
(
False
,
pytest
.
param
(
True
,
marks
=
pytest
.
mark
.
xfail
)))
@pytest.mark.parametrize
(
'
with_cuda
'
,
(
False
,
pytest
.
param
(
True
,
marks
=
pytest
.
mark
.
skipif
(
'
CI
'
in
os
.
environ
,
reason
=
"
GPU too old on GITLAB CI
"
))))
def
test_tfmad_gradient_check_two_outputs
(
with_cuda
):
torch
=
pytest
.
importorskip
(
'
torch
'
)
import
torch
...
...
@@ -283,7 +286,8 @@ def test_tfmad_gradient_check_two_outputs(with_cuda):
@pytest.mark.parametrize
(
'
gradient_check
'
,
(
False
,
'
with_gradient_check
'
))
@pytest.mark.parametrize
(
'
with_cuda
'
,
(
False
,
pytest
.
param
(
'
with_cuda
'
,
marks
=
pytest
.
mark
.
xfail
)))
@pytest.mark.parametrize
(
'
with_cuda
'
,
(
False
,
pytest
.
param
(
'
with_cuda
'
,
marks
=
pytest
.
mark
.
skipif
(
'
CI
'
in
os
.
environ
,
reason
=
"
GPU too old on GITLAB CI
"
))))
@pytest.mark.parametrize
(
'
with_offsets
'
,
(
False
,
'
with_offsets
'
))
# @pytest.mark.xfail(reason="", strict=False)
def
test_tfmad_gradient_check_tensorflow_native
(
with_offsets
,
with_cuda
,
gradient_check
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment