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
6f807a37
"rust/vscode:/vscode.git/clone" did not exist on "a4cca7fc53da2b0c58495e208bb17e0199246e12"
Commit
6f807a37
authored
Jun 16, 2021
by
rusty1s
Browse files
[skip ci] bash shell
parent
58992556
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
25 deletions
+26
-25
.github/workflows/building.yml
.github/workflows/building.yml
+25
-25
.github/workflows/cuda/cu101-Windows.sh
.github/workflows/cuda/cu101-Windows.sh
+1
-0
No files found.
.github/workflows/building.yml
View file @
6f807a37
...
...
@@ -44,35 +44,35 @@ jobs:
run
:
|
bash .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}.sh
-
name
:
Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
if
:
${{ runner.os != 'macOS' }}
run
:
|
pip install --no-cache-dir torch==${{ matrix.torch-version}}+${{ matrix.cuda-version }} -f https://download.pytorch.org/whl/torch_stable.html
#
- name: Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
#
if : ${{ runner.os != 'macOS' }}
#
run: |
#
pip install --no-cache-dir torch==${{ matrix.torch-version}}+${{ matrix.cuda-version }} -f https://download.pytorch.org/whl/torch_stable.html
-
name
:
Install default PyTorch ${{ matrix.torch-version }}
if
:
${{ runner.os == 'macOS' || (matrix.torch-version == '1.8.0' && matrix.cuda-version == 'cu102') }}
run
:
|
pip install --no-cache-dir torch==${{ matrix.torch-version}} -f https://download.pytorch.org/whl/torch_stable.html
#
- name: Install default PyTorch ${{ matrix.torch-version }}
#
if : ${{ runner.os == 'macOS' || (matrix.torch-version == '1.8.0' && matrix.cuda-version == 'cu102') }}
#
run: |
#
pip install --no-cache-dir torch==${{ matrix.torch-version}} -f https://download.pytorch.org/whl/torch_stable.html
-
name
:
Install main package for CPU
if
:
${{ matrix.cuda-version == 'cpu' }}
run
:
|
FORCE_ONLY_CPU=1 pip install -e .
shell
:
bash
#
- name: Install main package for CPU
#
if: ${{ matrix.cuda-version == 'cpu' }}
#
run: |
#
FORCE_ONLY_CPU=1 pip install -e .
#
shell:
#
bash
-
name
:
Install main package with CUDA
if
:
${{ matrix.cuda-version != 'cpu' }}
run
:
|
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
FORCE_CUDA=1 pip install -e .
shell
:
bash
#
- name: Install main package with CUDA
#
if: ${{ matrix.cuda-version != 'cpu' }}
#
run: |
#
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
#
FORCE_CUDA=1 pip install -e .
#
shell:
#
bash
-
name
:
Build wheel
run
:
|
pip install wheel
python setup.py bdist_wheel --dist-dir=dist
#
- name: Build wheel
#
run: |
#
pip install wheel
#
python setup.py bdist_wheel --dist-dir=dist
# - name: Upload wheel
# uses: shallwefootball/s3-upload-action@master
...
...
.github/workflows/cuda/cu101-Windows.sh
View file @
6f807a37
...
...
@@ -10,6 +10,7 @@ export CUDA_URL=https://developer.nvidia.com/compute/cuda/${CUDA_SHORT}/Prod/loc
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.105_418.96_win10.exe
# Install CUDA:
echo
"
${
CUDA_URL
}
/
${
CUDA_FILE
}
"
curl
"
${
CUDA_URL
}
/
${
CUDA_FILE
}
"
--output
"
${
CUDA_FILE
}
"
ls
-lah
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
}
npp_dev_
${
CUDA_SHORT
}
nvrtc_dev_
${
CUDA_SHORT
}
nvml_dev_
${
CUDA_SHORT
}
\"
-Wait -NoNewWindow"
...
...
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