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
torch-cluster
Commits
b0a685f3
Commit
b0a685f3
authored
Mar 05, 2021
by
rusty1s
Browse files
ci-deploy PyTorch 1.8.0 wheels
parent
69d8bcf6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
20 deletions
+16
-20
.travis.yml
.travis.yml
+15
-15
setup.py
setup.py
+1
-5
No files found.
.travis.yml
View file @
b0a685f3
...
...
@@ -14,31 +14,31 @@ env:
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cu101
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cu102
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cu111
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cpu
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu92
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu101
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
#
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cpu
#
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu92
#
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu101
#
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
#
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
# Python 3.7
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cpu
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cu101
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cu102
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cu111
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu92
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu101
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu102
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
#
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
#
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu92
#
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu101
#
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu102
#
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
# Python 3.8
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cpu
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cu101
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cu102
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cu111
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu92
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
#
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
#
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu92
#
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
#
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
#
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
jobs
:
# For daily builds, we only test on Python 3.6 with 11.0/11.1.
...
...
setup.py
View file @
b0a685f3
...
...
@@ -10,9 +10,6 @@ from torch.__config__ import parallel_info
from
torch.utils.cpp_extension
import
BuildExtension
from
torch.utils.cpp_extension
import
CppExtension
,
CUDAExtension
,
CUDA_HOME
major
,
minor
=
int
(
str
(
torch
.
__version__
)[
0
]),
int
(
str
(
torch
.
__version__
)[
2
])
use_ninja
=
major
>=
2
or
(
major
==
1
and
minor
>=
8
)
WITH_CUDA
=
torch
.
cuda
.
is_available
()
and
CUDA_HOME
is
not
None
suffices
=
[
'cpu'
,
'cuda'
]
if
WITH_CUDA
else
[
'cpu'
]
if
os
.
getenv
(
'FORCE_CUDA'
,
'0'
)
==
'1'
:
...
...
@@ -105,8 +102,7 @@ setup(
ext_modules
=
get_extensions
()
if
not
BUILD_DOCS
else
[],
cmdclass
=
{
'build_ext'
:
BuildExtension
.
with_options
(
no_python_abi_suffix
=
True
,
use_ninja
=
use_ninja
)
BuildExtension
.
with_options
(
no_python_abi_suffix
=
True
,
use_ninja
=
False
)
},
packages
=
find_packages
(),
)
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