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
d7276c62
"dlib/image_processing/box_overlap_testing_abstract.h" did not exist on "a57744ac6e48ddff8de3ec1de86279f9559ca4e7"
Commit
d7276c62
authored
Jun 16, 2021
by
rusty1s
Browse files
[skip ci] bash shell
parent
6cf70ead
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
.github/workflows/building.yml
.github/workflows/building.yml
+23
-23
No files found.
.github/workflows/building.yml
View file @
d7276c62
...
@@ -39,37 +39,37 @@ jobs:
...
@@ -39,37 +39,37 @@ jobs:
run
:
|
run
:
|
pip install --upgrade pip
pip install --upgrade pip
-
name
:
Install CUDA ${{ matrix.cuda-version }}
#
- name: Install CUDA ${{ matrix.cuda-version }}
if
:
${{ matrix.cuda-version != 'cpu' }}
#
if: ${{ matrix.cuda-version != 'cpu' }}
run
:
|
#
run: |
bash .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}.sh
#
bash .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}.sh
-
name
:
Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
-
name
:
Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
run
:
|
run
:
|
pip install numpy
pip install --no-index --no-cache-dir --verbose torch==${{ matrix.torch-version}} -f https://download.pytorch.org/whl/${{ matrix.cuda-version }}/torch_stable.html
pip install --no-index --no-cache-dir --verbose torch==${{ matrix.torch-version}} -f https://download.pytorch.org/whl/${{ matrix.cuda-version }}/torch_stable.html
python -c "import torch; print('PyTorch:', torch.__version__)"
python -c "import torch; print('PyTorch:', torch.__version__)"
python -c "import torch; print('CUDA: ', torch.__version__)"
python -c "import torch; print('CUDA: ', torch.version.cuda)"
pip install numpy
-
name
:
Install main package for CPU
#
- name: Install main package for CPU
if
:
${{ matrix.cuda-version == 'cpu' }}
#
if: ${{ matrix.cuda-version == 'cpu' }}
run
:
|
#
run: |
FORCE_ONLY_CPU=1 pip install -e .
#
FORCE_ONLY_CPU=1 pip install -e .
shell
:
#
shell:
bash
#
bash
-
name
:
Install main package for GPU
#
- name: Install main package for GPU
if
:
${{ matrix.cuda-version != 'cpu' }}
#
if: ${{ matrix.cuda-version != 'cpu' }}
run
:
|
#
run: |
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
#
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
FORCE_CUDA=1 pip install -e .
#
FORCE_CUDA=1 pip install -e .
shell
:
#
shell:
bash
#
bash
-
name
:
Build wheel
#
- name: Build wheel
run
:
|
#
run: |
pip install wheel
#
pip install wheel
python setup.py bdist_wheel --dist-dir=dist
#
python setup.py bdist_wheel --dist-dir=dist
# - name: Upload wheel
# - name: Upload wheel
# uses: shallwefootball/s3-upload-action@master
# uses: shallwefootball/s3-upload-action@master
...
...
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