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
27b934a8
"git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "e37c87779e73f5ea125dbfb8717a2e498da95923"
Commit
27b934a8
authored
Feb 12, 2020
by
rusty1s
Browse files
test cuda
parent
765003dd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
.travis.yml
.travis.yml
+2
-2
script/cuda.sh
script/cuda.sh
+7
-3
script/rename_wheel.py
script/rename_wheel.py
+1
-1
No files found.
.travis.yml
View file @
27b934a8
language
:
shell
language
:
shell
os
:
os
:
-
linux
#
- linux
# - osx
# - osx
-
windows
-
windows
...
@@ -9,7 +9,7 @@ env:
...
@@ -9,7 +9,7 @@ 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
...
...
script/cuda.sh
View file @
27b934a8
...
@@ -82,7 +82,11 @@ if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then
...
@@ -82,7 +82,11 @@ if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then
PowerShell
-Command
"Start-Process -FilePath
\"
cuda_
${
CUDA
}
_win10
\"
-ArgumentList
\"
-s nvcc_
${
CUDA_SHORT
}
\"
-Wait -NoNewWindow"
PowerShell
-Command
"Start-Process -FilePath
\"
cuda_
${
CUDA
}
_win10
\"
-ArgumentList
\"
-s nvcc_
${
CUDA_SHORT
}
\"
-Wait -NoNewWindow"
ls
/c
ls
/c
ls
/c/Program
\
Files
\ \(
x86
\)
ls
/c/Program
\
Files
\ \(
x86
\)
ls
/c/Program
\
Files
\ \(
x86
\)
/NVIDIA
\
GPU
\
Computing
\
Toolkit
# ls /c/Program\ Files\ \(x86\)/NVIDIA\ GPU\ Computing\ Toolkit
ls
/c/Program
\
Files
\ \(
x86
\)
/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA
# ls /c/Program\ Files\ \(x86\)/NVIDIA\ GPU\ Computing\ Toolkit/CUDA
ls
/c/Program
\
Files
\ \(
x86
\)
/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v9.2
# ls /c/Program\ Files\ \(x86\)/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v9.2
ls
/c/Program
\
Files
# ls /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit
# ls /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA
# ls /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v9.2
fi
fi
script/rename_wheel.py
View file @
27b934a8
...
@@ -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
]
+
[
names
[
-
4
]
+
'%2B'
+
idx
]
+
names
[
-
3
:])
name
=
'-'
.
join
(
names
[:
-
5
]
+
[
names
[
-
5
]
+
'%2B'
+
idx
]
+
names
[
-
4
:])
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