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
22b7aed6
Commit
22b7aed6
authored
Mar 11, 2022
by
rusty1s
Browse files
[ci skip]
parent
c9c47b98
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
15 deletions
+20
-15
.github/workflows/building-conda.yml
.github/workflows/building-conda.yml
+5
-6
.github/workflows/building.yml
.github/workflows/building.yml
+4
-5
.github/workflows/cuda/cu115-Windows-env.sh
.github/workflows/cuda/cu115-Windows-env.sh
+1
-1
.github/workflows/cuda/cu115-Windows.sh
.github/workflows/cuda/cu115-Windows.sh
+10
-3
No files found.
.github/workflows/building-conda.yml
View file @
22b7aed6
...
...
@@ -10,10 +10,12 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-18.04
,
macos-10.15
,
windows-2019
]
os
:
[
windows-2019
]
# os: [ubuntu-18.04, macos-10.15, windows-2019]
python-version
:
[
'
3.7'
,
'
3.8'
,
'
3.9'
,
'
3.10'
]
torch-version
:
[
1.10.0
,
1.11.0
]
cuda-version
:
[
'
cpu'
,
'
cu102'
,
'
cu113'
,
'
cu115'
]
cuda-version
:
[
'
cu115'
]
# cuda-version: ['cpu', 'cu102', 'cu113', 'cu115']
exclude
:
-
torch-version
:
1.10.0
cuda-version
:
'
cu115'
...
...
@@ -22,9 +24,6 @@ jobs:
-
os
:
windows-2019
torch-version
:
1.11.0
cuda-version
:
'
cu102'
-
os
:
windows-2019
torch-version
:
1.11.0
cuda-version
:
'
cu115'
-
os
:
macos-10.15
cuda-version
:
'
cu102'
-
os
:
macos-10.15
...
...
@@ -46,7 +45,7 @@ jobs:
-
name
:
Install Conda packages
run
:
|
conda install conda-build
conda-verify
--yes
conda install conda-build --yes
shell
:
bash -l {0}
...
...
.github/workflows/building.yml
View file @
22b7aed6
...
...
@@ -10,10 +10,12 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-18.04
,
macos-10.15
,
windows-2019
]
os
:
[
windows-2019
]
# os: [ubuntu-18.04, macos-10.15, windows-2019]
python-version
:
[
'
3.7'
,
'
3.8'
,
'
3.9'
,
'
3.10'
]
torch-version
:
[
1.10.0
,
1.11.0
]
cuda-version
:
[
'
cpu'
,
'
cu102'
,
'
cu113'
,
'
cu115'
]
cuda-version
:
[
'
cu115'
]
# cuda-version: ['cpu', 'cu102', 'cu113', 'cu115']
exclude
:
-
torch-version
:
1.10.0
cuda-version
:
'
cu115'
...
...
@@ -22,9 +24,6 @@ jobs:
-
os
:
windows-2019
torch-version
:
1.11.0
cuda-version
:
'
cu102'
-
os
:
windows-2019
torch-version
:
1.11.0
cuda-version
:
'
cu115'
-
os
:
macos-10.15
cuda-version
:
'
cu102'
-
os
:
macos-10.15
...
...
.github/workflows/cuda/cu115-Windows-env.sh
View file @
22b7aed6
#!/bin/bash
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v11.
5
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v11.
3
PATH
=
${
CUDA_HOME
}
/bin:
$PATH
PATH
=
/c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/MSBuild/15.0/Bin:
$PATH
...
...
.github/workflows/cuda/cu115-Windows.sh
View file @
22b7aed6
#!/bin/bash
export
CUDA_SHORT
=
11.5
export
CUDA_URL
=
https://developer.download.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
.2/local_installers
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.2_496.13_windows.exe
# TODO We currently use CUDA 11.3 to build CUDA 11.5 Windows wheels
# Install NVIDIA drivers, see:
# https://github.com/pytorch/vision/blob/master/packaging/windows/internal/cuda_install.bat#L99-L102
curl
-k
-L
"https://drive.google.com/u/0/uc?id=1injUyo3lnarMgWyRcXqKg4UGnN0ysmuq&export=download"
--output
"/tmp/gpu_driver_dlls.zip"
7z x
"/tmp/gpu_driver_dlls.zip"
-o
"/c/Windows/System32"
export
CUDA_SHORT
=
11.3
export
CUDA_URL
=
https://developer.download.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
.0/local_installers
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.0_465.89_win10.exe
# Install CUDA:
curl
-k
-L
"
${
CUDA_URL
}
/
${
CUDA_FILE
}
"
--output
"
${
CUDA_FILE
}
"
...
...
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