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-spline-conv
Commits
d6f4cb01
Commit
d6f4cb01
authored
Jun 29, 2022
by
rusty1s
Browse files
fix build
parent
923cf923
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
20 deletions
+16
-20
.github/workflows/building-conda.yml
.github/workflows/building-conda.yml
+3
-7
.github/workflows/building.yml
.github/workflows/building.yml
+3
-7
.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
+4
-2
.github/workflows/cuda/cu116-Windows-env.sh
.github/workflows/cuda/cu116-Windows-env.sh
+1
-1
.github/workflows/cuda/cu116-Windows.sh
.github/workflows/cuda/cu116-Windows.sh
+4
-2
No files found.
.github/workflows/building-conda.yml
View file @
d6f4cb01
...
@@ -27,13 +27,9 @@ jobs:
...
@@ -27,13 +27,9 @@ jobs:
cuda-version
:
'
cu115'
cuda-version
:
'
cu115'
-
os
:
macos-10.15
-
os
:
macos-10.15
cuda-version
:
'
cu116'
cuda-version
:
'
cu116'
# - os: windows-2019
-
os
:
windows-2019
# torch-version: 1.11.0
torch-version
:
1.11.0
# cuda-version: 'cu102'
cuda-version
:
'
cu102'
# There is a weird bug going on for this combination:
# - os: windows-2019
# python-version: '3.7'
# cuda-version: 'cu115'
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
...
...
.github/workflows/building.yml
View file @
d6f4cb01
...
@@ -27,13 +27,9 @@ jobs:
...
@@ -27,13 +27,9 @@ jobs:
cuda-version
:
'
cu115'
cuda-version
:
'
cu115'
-
os
:
macos-10.15
-
os
:
macos-10.15
cuda-version
:
'
cu116'
cuda-version
:
'
cu116'
# - os: windows-2019
-
os
:
windows-2019
# torch-version: 1.11.0
torch-version
:
1.11.0
# cuda-version: 'cu102'
cuda-version
:
'
cu102'
# There is a weird bug going on for this combination:
# - os: windows-2019
# python-version: '3.7'
# cuda-version: 'cu115'
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
...
...
.github/workflows/cuda/cu115-Windows-env.sh
View file @
d6f4cb01
#!/bin/bash
#!/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
=
${
CUDA_HOME
}
/bin:
$PATH
PATH
=
/c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/MSBuild/15.0/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 @
d6f4cb01
#!/bin/bash
#!/bin/bash
# TODO We currently use CUDA 11.3 to build CUDA 11.5 Windows wheels
# Install NVIDIA drivers, see:
# Install NVIDIA drivers, see:
# https://github.com/pytorch/vision/blob/master/packaging/windows/internal/cuda_install.bat#L99-L102
# 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"
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"
7z x
"/tmp/gpu_driver_dlls.zip"
-o
"/c/Windows/System32"
export
CUDA_SHORT
=
11.
5
export
CUDA_SHORT
=
11.
3
export
CUDA_URL
=
https://developer.download.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
.0/local_installers
export
CUDA_URL
=
https://developer.download.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
.0/local_installers
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.0_4
96.13
_win10.exe
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.0_4
65.89
_win10.exe
# Install CUDA:
# Install CUDA:
curl
-k
-L
"
${
CUDA_URL
}
/
${
CUDA_FILE
}
"
--output
"
${
CUDA_FILE
}
"
curl
-k
-L
"
${
CUDA_URL
}
/
${
CUDA_FILE
}
"
--output
"
${
CUDA_FILE
}
"
...
...
.github/workflows/cuda/cu116-Windows-env.sh
View file @
d6f4cb01
#!/bin/bash
#!/bin/bash
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v11.
6
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v11.
3
PATH
=
${
CUDA_HOME
}
/bin:
$PATH
PATH
=
${
CUDA_HOME
}
/bin:
$PATH
PATH
=
/c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/MSBuild/15.0/Bin:
$PATH
PATH
=
/c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/MSBuild/15.0/Bin:
$PATH
...
...
.github/workflows/cuda/cu116-Windows.sh
View file @
d6f4cb01
#!/bin/bash
#!/bin/bash
# TODO We currently use CUDA 11.3 to build CUDA 11.5 Windows wheels
# Install NVIDIA drivers, see:
# Install NVIDIA drivers, see:
# https://github.com/pytorch/vision/blob/master/packaging/windows/internal/cuda_install.bat#L99-L102
# 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"
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"
7z x
"/tmp/gpu_driver_dlls.zip"
-o
"/c/Windows/System32"
export
CUDA_SHORT
=
11.
6
export
CUDA_SHORT
=
11.
3
export
CUDA_URL
=
https://developer.download.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
.0/local_installers
export
CUDA_URL
=
https://developer.download.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
.0/local_installers
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.0_
511.23_windows
.exe
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.0_
465.89_win10
.exe
# Install CUDA:
# Install CUDA:
curl
-k
-L
"
${
CUDA_URL
}
/
${
CUDA_FILE
}
"
--output
"
${
CUDA_FILE
}
"
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