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
4595c198
Commit
4595c198
authored
Mar 16, 2023
by
rusty1s
Browse files
update
parent
29dd2161
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
2 deletions
+51
-2
.github/workflows/building.yml
.github/workflows/building.yml
+2
-2
.github/workflows/cuda/cu118-Linux-env.sh
.github/workflows/cuda/cu118-Linux-env.sh
+8
-0
.github/workflows/cuda/cu118-Linux.sh
.github/workflows/cuda/cu118-Linux.sh
+15
-0
.github/workflows/cuda/cu118-Windows-env.sh
.github/workflows/cuda/cu118-Windows-env.sh
+8
-0
.github/workflows/cuda/cu118-Windows.sh
.github/workflows/cuda/cu118-Windows.sh
+18
-0
No files found.
.github/workflows/building.yml
View file @
4595c198
...
@@ -12,10 +12,10 @@ jobs:
...
@@ -12,10 +12,10 @@ jobs:
matrix
:
matrix
:
os
:
[
ubuntu-18.04
,
macos-10.15
,
windows-2019
]
os
:
[
ubuntu-18.04
,
macos-10.15
,
windows-2019
]
# python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
# python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version
:
[
'
3.
8
'
]
python-version
:
[
'
3.
11
'
]
torch-version
:
[
1.13.0
,
2.0.0
]
torch-version
:
[
1.13.0
,
2.0.0
]
# cuda-version: ['cpu', 'cu116', 'cu117', 'cu118']
# cuda-version: ['cpu', 'cu116', 'cu117', 'cu118']
cuda-version
:
[
'
cpu'
,
'
cu11
7
'
]
cuda-version
:
[
'
cu11
8
'
]
exclude
:
exclude
:
-
torch-version
:
1.13.0
-
torch-version
:
1.13.0
python-version
:
'
3.11'
python-version
:
'
3.11'
...
...
.github/workflows/cuda/cu118-Linux-env.sh
0 → 100644
View file @
4595c198
#!/bin/bash
CUDA_HOME
=
/usr/local/cuda-11.8
LD_LIBRARY_PATH
=
${
CUDA_HOME
}
/lib64:
${
LD_LIBRARY_PATH
}
PATH
=
${
CUDA_HOME
}
/bin:
${
PATH
}
export
FORCE_CUDA
=
1
export
TORCH_CUDA_ARCH_LIST
=
"3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6"
.github/workflows/cuda/cu118-Linux.sh
0 → 100755
View file @
4595c198
#!/bin/bash
OS
=
ubuntu1804
wget
-nv
https://developer.download.nvidia.com/compute/cuda/repos/
${
OS
}
/x86_64/cuda-
${
OS
}
.pin
sudo mv
cuda-
${
OS
}
.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget
-nv
https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda-repo-
${
OS
}
-11-8-local_11
.8.0-520.61.05-1_amd64.deb
sudo
dpkg
-i
cuda-repo-
${
OS
}
-11-8-local_11
.8.0-520.61.05-1_amd64.deb
sudo cp
/var/cuda-repo-
${
OS
}
-11-8-local
/cuda-
*
-keyring
.gpg /usr/share/keyrings/
sudo
apt-get
-qq
update
sudo
apt
install
cuda-nvcc-11-8 cuda-libraries-dev-11-8
sudo
apt clean
rm
-f
https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda-repo-
${
OS
}
-11-8-local_11
.8.0-520.61.05-1_amd64.deb
.github/workflows/cuda/cu118-Windows-env.sh
0 → 100644
View file @
4595c198
#!/bin/bash
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v11.8
PATH
=
${
CUDA_HOME
}
/bin:
$PATH
PATH
=
/c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/MSBuild/15.0/Bin:
$PATH
export
FORCE_CUDA
=
1
export
TORCH_CUDA_ARCH_LIST
=
"6.0+PTX"
.github/workflows/cuda/cu118-Windows.sh
0 → 100755
View file @
4595c198
#!/bin/bash
# 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.8
export
CUDA_URL
=
https://developer.download.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
.0/local_installers
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.0_522.06_windows.exe
# Install CUDA:
curl
-k
-L
"
${
CUDA_URL
}
/
${
CUDA_FILE
}
"
--output
"
${
CUDA_FILE
}
"
echo
""
echo
"Installing from
${
CUDA_FILE
}
..."
PowerShell
-Command
"Start-Process -FilePath
\"
${
CUDA_FILE
}
\"
-ArgumentList
\"
-s nvcc_
${
CUDA_SHORT
}
cuobjdump_
${
CUDA_SHORT
}
nvprune_
${
CUDA_SHORT
}
cupti_
${
CUDA_SHORT
}
cublas_dev_
${
CUDA_SHORT
}
cudart_
${
CUDA_SHORT
}
cufft_dev_
${
CUDA_SHORT
}
curand_dev_
${
CUDA_SHORT
}
cusolver_dev_
${
CUDA_SHORT
}
cusparse_dev_
${
CUDA_SHORT
}
thrust_
${
CUDA_SHORT
}
npp_dev_
${
CUDA_SHORT
}
nvrtc_dev_
${
CUDA_SHORT
}
nvml_dev_
${
CUDA_SHORT
}
\"
-Wait -NoNewWindow"
echo
"Done!"
rm
-f
"
${
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