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
ca171f5b
Commit
ca171f5b
authored
5 years ago
by
Stephan Seitz
Browse files
Options
Downloads
Patches
Plain Diff
Skip GPU execution test on Travis
parent
191fdac7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+1
-0
1 addition, 0 deletions
.travis.yml
tests/backends/test_torch_native_compilation.py
+2
-0
2 additions, 0 deletions
tests/backends/test_torch_native_compilation.py
with
3 additions
and
0 deletions
.travis.yml
+
1
−
0
View file @
ca171f5b
...
...
@@ -23,6 +23,7 @@ before_script:
-
git config --global user.email "you@example.com"
-
git config --global user.name "Your Name"
script
:
-
export NO_GPU_EXECUTION
-
pip install -e .
-
python setup.py test
after_success
:
...
...
This diff is collapsed.
Click to expand it.
tests/backends/test_torch_native_compilation.py
+
2
−
0
View file @
ca171f5b
...
...
@@ -10,6 +10,7 @@ from os.path import dirname, isfile, join
import
appdirs
import
jinja2
import
numpy
as
np
import
pytest
import
torch
import
pystencils
...
...
@@ -163,6 +164,7 @@ def test_execute_torch():
assert
op_cpp
is
not
None
@pytest.skip
(
'
NO_GPU_EXECUTION
'
in
os
.
environ
,
reason
=
'
Skip GPU execution tests
'
)
def
test_execute_torch_gpu
():
x
,
y
=
pystencils
.
fields
(
'
x, y: float64[32,32]
'
)
...
...
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