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
1ca6ff05
Commit
1ca6ff05
authored
Oct 28, 2020
by
rusty1s
Browse files
cuda 11 installer
parent
6e4d9a3d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
.travis.yml
.travis.yml
+1
-2
script/cuda.sh
script/cuda.sh
+15
-0
No files found.
.travis.yml
View file @
1ca6ff05
...
@@ -55,7 +55,6 @@ jobs:
...
@@ -55,7 +55,6 @@ jobs:
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
-
if
:
os = osx
-
if
:
os = osx
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
-
if
:
not (tag is present or commit_message =~ ci-deploy) and os != osx
-
if
:
not (tag is present or commit_message =~ ci-deploy) and os != osx
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os != linux
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os != linux
...
@@ -92,7 +91,7 @@ jobs:
...
@@ -92,7 +91,7 @@ jobs:
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = osx
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = osx
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
-
if
:
not (tag is present or commit_message =~ ci-deploy)
-
if
:
not (tag is present or commit_message =~ ci-deploy)
or os = osx
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
-
if
:
not (tag is present or commit_message =~ ci-deploy)
-
if
:
not (tag is present or commit_message =~ ci-deploy)
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
...
...
script/cuda.sh
View file @
1ca6ff05
...
@@ -30,6 +30,14 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "$IDX" = "cu102" ]; then
...
@@ -30,6 +30,14 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "$IDX" = "cu102" ]; then
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
fi
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"linux"
]
&&
[
"
$IDX
"
=
"cu110"
]
;
then
export
CUDA_SHORT
=
11.0
export
CUDA
=
11.0.2-450.51.05-1
export
UBUNTU_VERSION
=
ubuntu1804
export
CUBLAS
=
libcublas-dev
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
$IDX
"
=
"cpu"
]
;
then
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
$IDX
"
=
"cpu"
]
;
then
export
TOOLKIT
=
cpuonly
export
TOOLKIT
=
cpuonly
fi
fi
...
@@ -55,6 +63,13 @@ if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "$IDX" = "cu102" ]; then
...
@@ -55,6 +63,13 @@ if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "$IDX" = "cu102" ]; then
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
fi
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
$IDX
"
=
"cu110"
]
;
then
export
CUDA_SHORT
=
11.0
export
CUDA_URL
=
https://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.2_451.48_win10.exe
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"osx"
]
&&
[
"
$IDX
"
=
"cpu"
]
;
then
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"osx"
]
&&
[
"
$IDX
"
=
"cpu"
]
;
then
export
TOOLKIT
=
""
export
TOOLKIT
=
""
fi
fi
...
...
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