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-scatter
Commits
0c689187
"git@developer.sourcefind.cn:OpenDAS/d2go.git" did not exist on "7d35bae7a5ec574aa9a9c1f6d534a4082ca6ac4c"
Commit
0c689187
authored
Feb 13, 2020
by
rusty1s
Browse files
build everything
parent
39ef6f1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
19 deletions
+27
-19
.travis.yml
.travis.yml
+26
-18
script/rename_wheel.py
script/rename_wheel.py
+1
-1
No files found.
.travis.yml
View file @
0c689187
language
:
shell
language
:
shell
os
:
os
:
#
- linux
-
linux
#
- osx
-
osx
-
windows
-
windows
env
:
env
:
global
:
global
:
-
CUDA_HOME=/usr/local/cuda
-
CUDA_HOME=/usr/local/cuda
jobs
:
jobs
:
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cpu
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cpu
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu92
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu92
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu100
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu100
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu101
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu101
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.7 IDX=cpu
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.7 IDX=cpu
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.7 IDX=cu92
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.7 IDX=cu92
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.7 IDX=cu100
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.7 IDX=cu100
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.7 IDX=cu101
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.7 IDX=cu101
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.6 IDX=cpu
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.6 IDX=cpu
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.6 IDX=cu92
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.6 IDX=cu92
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.6 IDX=cu100
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.6 IDX=cu100
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.6 IDX=cu101
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.6 IDX=cu101
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cpu
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cpu
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu92
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu92
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu100
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu100
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu101
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu101
jobs
:
jobs
:
exclude
:
# Exclude all macOS CUDA jobs and Windows CUDA 10.0 jobs.
exclude
:
# Exclude
*
all
*
macOS CUDA jobs and Windows CUDA
9.2/
10.0 jobs.
-
os
:
osx
-
os
:
osx
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu92
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu92
-
os
:
osx
-
os
:
osx
...
@@ -52,12 +52,20 @@ jobs:
...
@@ -52,12 +52,20 @@ jobs:
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu100
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu100
-
os
:
osx
-
os
:
osx
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu101
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu101
-
os
:
windows
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu92
-
os
:
windows
-
os
:
windows
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu100
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu100
-
os
:
windows
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.7 IDX=cu92
-
os
:
windows
-
os
:
windows
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.7 IDX=cu100
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.7 IDX=cu100
-
os
:
windows
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.6 IDX=cu92
-
os
:
windows
-
os
:
windows
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.6 IDX=cu100
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.6 IDX=cu100
-
os
:
windows
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu92
-
os
:
windows
-
os
:
windows
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu100
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu100
...
@@ -66,7 +74,7 @@ install:
...
@@ -66,7 +74,7 @@ install:
-
source script/conda.sh
-
source script/conda.sh
-
conda create --yes -n test python=${PYTHON_VERSION}
-
conda create --yes -n test python=${PYTHON_VERSION}
-
source activate test
-
source activate test
-
if [ ${TRAVIS_OS_NAME} = "windows" ] || [ $IDX != "cu92" ]; then conda install pytorch=${TORCH_VERSION} ${TOOLKIT} -c pytorch -c defaults -c numba/label/dev --yes; else
conda install pytorch=${TORCH_VERSION} ${TOOLKIT} -c pytorch --yes
; fi
-
conda install pytorch=${TORCH_VERSION} ${TOOLKIT} -c pytorch --yes
-
pip install flake8 codecov
-
pip install flake8 codecov
-
source script/cuda.sh
-
source script/cuda.sh
-
python setup.py install
-
python setup.py install
...
...
script/rename_wheel.py
View file @
0c689187
...
@@ -14,6 +14,6 @@ for wheel in wheels:
...
@@ -14,6 +14,6 @@ for wheel in wheels:
continue
continue
names
=
name
.
split
(
'-'
)
names
=
name
.
split
(
'-'
)
name
=
'-'
.
join
(
names
[:
-
4
]
+
[
idx
]
+
names
[
-
4
:])
name
=
'-'
.
join
(
names
[:
-
4
]
+
[
names
[
-
4
]
+
'%2B'
+
idx
]
+
names
[
-
2
:])
new_wheel
=
osp
.
join
(
*
wheel
.
split
(
osp
.
sep
)[:
-
1
],
name
)
new_wheel
=
osp
.
join
(
*
wheel
.
split
(
osp
.
sep
)[:
-
1
],
name
)
os
.
rename
(
wheel
,
new_wheel
)
os
.
rename
(
wheel
,
new_wheel
)
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