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
9bea677f
Commit
9bea677f
authored
Feb 13, 2020
by
rusty1s
Browse files
remove cu100
parent
d144cf1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
.travis.yml
.travis.yml
+11
-2
script/cuda.sh
script/cuda.sh
+1
-3
No files found.
.travis.yml
View file @
9bea677f
...
...
@@ -27,7 +27,7 @@ env:
# - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu101
jobs
:
exclude
:
# Exclude all macOS CUDA jobs.
exclude
:
# Exclude all macOS CUDA jobs
and Windows cu100 job
.
-
os
:
osx
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu92
-
os
:
osx
...
...
@@ -52,13 +52,22 @@ jobs:
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu100
-
os
:
osx
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=cu100
-
os
:
windows
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=cu100
-
os
:
windows
env
:
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu100
install
:
-
source script/cuda.sh
-
source script/conda.sh
-
conda create --yes -n test python=${PYTHON_VERSION}
-
source activate test
-
if [ ${TRAVIS_OS_NAME} = "windows" ] || [ $IDX != "cu92" ]; then conda install pytorch ${TOOLKIT} -c pytorch -c defaults -c numba/label/dev --yes; else conda install pytorch=${TORCH_VERSION} ${TOOLKIT} -c pytorch --yes; fi
-
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
-
pip install flake8 codecov
-
python setup.py install
...
...
script/cuda.sh
View file @
9bea677f
...
...
@@ -38,8 +38,6 @@ if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "$IDX" = "cu92" ]; then
export
CUDA_URL
=
https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod2/local_installers2
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.148_win10
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
$IDX
"
=
"cu100"
]
;
then
...
...
@@ -83,7 +81,7 @@ fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
${
IDX
}
"
!=
"cpu"
]
;
then
wget
-nv
"
${
CUDA_URL
}
/
${
CUDA_FILE
}
"
PowerShell
-Command
"Start-Process -FilePath
\"
${
CUDA_FILE
}
\"
-ArgumentList
\"
-s nvcc_
${
CUDA_SHORT
}
cusparse_dev_
${
CUDA_SHORT
}
\"
-Wait -NoNewWindow"
PowerShell
-Command
"Start-Process -FilePath
\"
${
CUDA_FILE
}
\"
-ArgumentList
\"
-s nvcc_
${
CUDA_SHORT
}
cublas_dev_
${
CUDA_SHORT
}
cusparse_dev_
${
CUDA_SHORT
}
\"
-Wait -NoNewWindow"
ls
/c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/VC/Tools/MSVC
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v
${
CUDA_SHORT
}
PATH
=
${
CUDA_HOME
}
/bin:
$PATH
...
...
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