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
38361fe5
Commit
38361fe5
authored
Nov 07, 2022
by
rusty1s
Browse files
update
parent
7673cd3f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
16 deletions
+19
-16
.github/workflows/building.yml
.github/workflows/building.yml
+7
-8
.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
+5
-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
+5
-3
No files found.
.github/workflows/building.yml
View file @
38361fe5
...
...
@@ -57,11 +57,10 @@ 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
:
Set version
run
:
|
VERSION=`sed -n "s/^__version__ = '\(.*\)'/\1/p" torch_spline_conv/__init__.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' }}
...
...
@@ -94,6 +93,6 @@ jobs:
aws-secret-access-key
:
${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region
:
us-west-1
#
- name: Upload wheel
#
run: |
#
aws s3 sync dist s3://data.pyg.org/whl/torch-${{ matrix.torch-version }}+${{ matrix.cuda-version }} --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
-
name
:
Upload wheel
run
:
|
aws s3 sync dist s3://data.pyg.org/whl/torch-${{ matrix.torch-version }}+${{ matrix.cuda-version }} --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
.github/workflows/cuda/cu115-Windows-env.sh
View file @
38361fe5
#!/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 @
38361fe5
#!/bin/bash
# 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.
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
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
# Install CUDA:
curl
-k
-L
"
${
CUDA_URL
}
/
${
CUDA_FILE
}
"
--output
"
${
CUDA_FILE
}
"
...
...
.github/workflows/cuda/cu116-Windows-env.sh
View file @
38361fe5
#!/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
=
/c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/MSBuild/15.0/Bin:
$PATH
...
...
.github/workflows/cuda/cu116-Windows.sh
View file @
38361fe5
#!/bin/bash
# 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.
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
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