Skip to content

Commit 1371e40

Browse files
committed
ci-deploy PyTorch 1.8.0 wheels
1 parent c4f0826 commit 1371e40

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

.travis.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,31 @@ env:
1414
- PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cu101
1515
- PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cu102
1616
- PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cu111
17-
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cpu
18-
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu92
19-
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu101
20-
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
21-
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
17+
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cpu
18+
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu92
19+
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu101
20+
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
21+
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
2222
# Python 3.7
2323
- PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cpu
2424
- PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cu101
2525
- PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cu102
2626
- PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cu111
27-
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
28-
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu92
29-
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu101
30-
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu102
31-
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
27+
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
28+
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu92
29+
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu101
30+
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu102
31+
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
3232
# Python 3.8
3333
- PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cpu
3434
- PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cu101
3535
- PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cu102
3636
- PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cu111
37-
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
38-
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu92
39-
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
40-
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
41-
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
37+
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
38+
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu92
39+
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
40+
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
41+
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
4242

4343
jobs:
4444
# For daily builds, we only test on Python 3.6 with 11.0/11.1.

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
from torch.utils.cpp_extension import BuildExtension
1111
from torch.utils.cpp_extension import CppExtension, CUDAExtension, CUDA_HOME
1212

13-
major, minor = int(str(torch.__version__)[0]), int(str(torch.__version__)[2])
14-
use_ninja = major >= 2 or (major == 1 and minor >= 8)
15-
1613
WITH_CUDA = torch.cuda.is_available() and CUDA_HOME is not None
1714
suffices = ['cpu', 'cuda'] if WITH_CUDA else ['cpu']
1815
if os.getenv('FORCE_CUDA', '0') == '1':
@@ -99,8 +96,7 @@ def get_extensions():
9996
ext_modules=get_extensions() if not BUILD_DOCS else [],
10097
cmdclass={
10198
'build_ext':
102-
BuildExtension.with_options(no_python_abi_suffix=True,
103-
use_ninja=use_ninja)
99+
BuildExtension.with_options(no_python_abi_suffix=True, use_ninja=False)
104100
},
105101
packages=find_packages(),
106102
)

0 commit comments

Comments
 (0)