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
9b647fee
Commit
9b647fee
authored
Nov 04, 2022
by
rusty1s
Browse files
update
parent
63c1acfb
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
28 additions
and
18 deletions
+28
-18
.github/workflows/building.yml
.github/workflows/building.yml
+10
-0
.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
+3
-3
.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
+3
-3
.github/workflows/cuda/cu117-Linux.sh
.github/workflows/cuda/cu117-Linux.sh
+5
-5
.github/workflows/cuda/cu117-Linx-env.sh
.github/workflows/cuda/cu117-Linx-env.sh
+1
-1
.github/workflows/cuda/cu117-Windows-env.sh
.github/workflows/cuda/cu117-Windows-env.sh
+1
-1
.github/workflows/cuda/cu117-Windows.sh
.github/workflows/cuda/cu117-Windows.sh
+3
-3
No files found.
.github/workflows/building.yml
View file @
9b647fee
...
...
@@ -54,6 +54,12 @@ jobs:
python -c "import torch; print('PyTorch:', torch.__version__)"
python -c "import torch; print('CUDA:', torch.version.cuda)"
-
name
:
Set version
run
:
|
VERSION=`sed -n "s/^__version__ = '\(.*\)'/\1/p" torch_spline_conv/__init__.py`
sed -i "s/$VERSION/$VERSION+{{ matrix.cuda-version }}/" setup.py
sed -i "s/$VERSION/$VERSION+{{ matrix.cuda-version }}/" torch_spline_conv/__init__.py
-
name
:
Install main package for CPU
if
:
${{ matrix.cuda-version == 'cpu' }}
run
:
|
...
...
@@ -69,6 +75,10 @@ jobs:
shell
:
bash
-
name
:
Test installation
run
:
|
python -c "import torch_spline_conv; print('torch-spline-conv:', torch_spline_conv.__version__)"
-
name
:
Build wheel
run
:
|
pip install wheel
...
...
.github/workflows/cuda/cu115-Windows-env.sh
View file @
9b647fee
#!/bin/bash
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v11.
3
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v11.
5
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 @
9b647fee
...
...
@@ -7,9 +7,9 @@
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
_4
65.89_win10
.exe
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
_4
96.13_windows
.exe
# Install CUDA:
curl
-k
-L
"
${
CUDA_URL
}
/
${
CUDA_FILE
}
"
--output
"
${
CUDA_FILE
}
"
...
...
.github/workflows/cuda/cu116-Windows-env.sh
View file @
9b647fee
#!/bin/bash
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v11.
3
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v11.
6
PATH
=
${
CUDA_HOME
}
/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 @
9b647fee
...
...
@@ -7,9 +7,9 @@
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
export
CUDA_SHORT
=
11.
6
export
CUDA_URL
=
https://developer.download.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
.
2
/local_installers
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.
2_511.65_windows
.exe
# Install CUDA:
curl
-k
-L
"
${
CUDA_URL
}
/
${
CUDA_FILE
}
"
--output
"
${
CUDA_FILE
}
"
...
...
.github/workflows/cuda/cu117-Linux.sh
View file @
9b647fee
...
...
@@ -4,12 +4,12 @@ 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.
6.2
/local_installers/cuda-repo-
${
OS
}
-11-
6
-local_11
.
6.2-510.47
.0
3
-1_amd64.deb
sudo
dpkg
-i
cuda-repo-
${
OS
}
-11-
6
-local_11
.
6.2-510.47
.0
3
-1_amd64.deb
sudo
apt-key add
/var/cuda-repo-
${
OS
}
-11-
6
-local
/
7fa2af80.pub
wget
-nv
https://developer.download.nvidia.com/compute/cuda/11.
7.1
/local_installers/cuda-repo-
${
OS
}
-11-
7
-local_11
.
7.1-515.65
.0
1
-1_amd64.deb
sudo
dpkg
-i
cuda-repo-
${
OS
}
-11-
7
-local_11
.
7.1-515.65
.0
1
-1_amd64.deb
sudo
cp
/var/cuda-repo-
${
OS
}
-11-
7
-local
/
cuda-
*
-keyring
.gpg /usr/share/keyrings/
sudo
apt-get
-qq
update
sudo
apt
install
cuda-nvcc-11-
6
cuda-libraries-dev-11-
6
sudo
apt
install
cuda-nvcc-11-
7
cuda-libraries-dev-11-
7
sudo
apt clean
rm
-f
https://developer.download.nvidia.com/compute/cuda/11.
5.2
/local_installers/cuda-repo-
${
OS
}
-11-
6
-local_11
.
6.2-510.47
.0
3
-1_amd64.deb
rm
-f
https://developer.download.nvidia.com/compute/cuda/11.
7.1
/local_installers/cuda-repo-
${
OS
}
-11-
7
-local_11
.
7.1-515.65
.0
1
-1_amd64.deb
.github/workflows/cuda/cu117-Linx-env.sh
View file @
9b647fee
#!/bin/bash
CUDA_HOME
=
/usr/local/cuda-11.
6
CUDA_HOME
=
/usr/local/cuda-11.
7
LD_LIBRARY_PATH
=
${
CUDA_HOME
}
/lib64:
${
LD_LIBRARY_PATH
}
PATH
=
${
CUDA_HOME
}
/bin:
${
PATH
}
...
...
.github/workflows/cuda/cu117-Windows-env.sh
View file @
9b647fee
#!/bin/bash
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v11.
3
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v11.
7
PATH
=
${
CUDA_HOME
}
/bin:
$PATH
PATH
=
/c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/MSBuild/15.0/Bin:
$PATH
...
...
.github/workflows/cuda/cu117-Windows.sh
View file @
9b647fee
...
...
@@ -7,9 +7,9 @@
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
export
CUDA_SHORT
=
11.
7
export
CUDA_URL
=
https://developer.download.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
.
1
/local_installers
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.
1_516.94_windows
.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