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-sparse
Commits
9a033ec2
"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "5ab59469316f0369d73bad4730ffbdbd65983f83"
Commit
9a033ec2
authored
Jun 26, 2021
by
rusty1s
Browse files
conda install
parent
fbb33d4a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
16 deletions
+15
-16
.github/workflows/building-conda.yml
.github/workflows/building-conda.yml
+10
-10
conda/pytorch-sparse/bld.bat
conda/pytorch-sparse/bld.bat
+1
-1
conda/pytorch-sparse/build.sh
conda/pytorch-sparse/build.sh
+1
-0
conda/pytorch-sparse/build2.sh
conda/pytorch-sparse/build2.sh
+0
-1
conda/pytorch-sparse/meta.yaml
conda/pytorch-sparse/meta.yaml
+3
-4
No files found.
.github/workflows/building-conda.yml
View file @
9a033ec2
...
@@ -53,17 +53,17 @@ jobs:
...
@@ -53,17 +53,17 @@ jobs:
shell
:
shell
:
bash
bash
#
- name: Install METIS
-
name
:
Install METIS
#
if: ${{ runner.os != 'Windows' }}
if
:
${{ runner.os != 'Windows' }}
#
run: |
run
:
|
#
bash .github/workflows/metis.sh
bash .github/workflows/metis.sh
#
- name: Install METIS on Windows
-
name
:
Install METIS on Windows
#
if: ${{ runner.os == 'Windows' }}
if
:
${{ runner.os == 'Windows' }}
#
run: |
run
:
|
#
bash .github/workflows/metis-${{ runner.os }}.sh
bash .github/workflows/metis-${{ runner.os }}.sh
#
shell:
shell
:
#
bash -l {0}
bash -l {0}
-
name
:
Build Conda package for CPU
-
name
:
Build Conda package for CPU
if
:
${{ matrix.cuda-version == 'cpu' }}
if
:
${{ matrix.cuda-version == 'cpu' }}
...
...
conda/pytorch-sparse/bld
2
.bat
→
conda/pytorch-sparse/bld.bat
View file @
9a033ec2
...
@@ -3,5 +3,5 @@ if errorlevel 1 exit 1
...
@@ -3,5 +3,5 @@ if errorlevel 1 exit 1
copy
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Tools\\MSVC\\14.29.30037\\include\\metis.h"
%LIBRARY_INC%
copy
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Tools\\MSVC\\14.29.30037\\include\\metis.h"
%LIBRARY_INC%
if
errorlevel
1
exit
1
if
errorlevel
1
exit
1
"
%PYTHON%
"
setup
.py
install
"
%PYTHON%
"
-m
pip
install
.
if
errorlevel
1
exit
1
if
errorlevel
1
exit
1
conda/pytorch-sparse/build.sh
0 → 100644
View file @
9a033ec2
$PYTHON
-m
pip
install
.
conda/pytorch-sparse/build2.sh
deleted
100644 → 0
View file @
fbb33d4a
python setup.py
install
conda/pytorch-sparse/meta.yaml
View file @
9a033ec2
...
@@ -16,18 +16,17 @@ requirements:
...
@@ -16,18 +16,17 @@ requirements:
-
{{
environ.get('CONDA_CUDATOOLKIT_CONSTRAINT')
}}
-
{{
environ.get('CONDA_CUDATOOLKIT_CONSTRAINT')
}}
run
:
run
:
#
- scipy
-
scipy
#
- pytorch-scatter
-
pytorch-scatter
-
python {{ environ.get('PYTHON_VERSION') }}
-
python {{ environ.get('PYTHON_VERSION') }}
-
{{
environ.get('CONDA_PYTORCH_CONSTRAINT')
}}
-
{{
environ.get('CONDA_PYTORCH_CONSTRAINT')
}}
-
{{
environ.get('CONDA_CUDATOOLKIT_CONSTRAINT')
}}
-
{{
environ.get('CONDA_CUDATOOLKIT_CONSTRAINT')
}}
build
:
build
:
string
:
py{{ environ.get('PYTHON_VERSION').replace('.', '') }}_torch_{{ environ['TORCH_VERSION'] }}_{{ environ['CUDA_VERSION'] }}
string
:
py{{ environ.get('PYTHON_VERSION').replace('.', '') }}_torch_{{ environ['TORCH_VERSION'] }}_{{ environ['CUDA_VERSION'] }}
script
:
pip install .
script_env
:
script_env
:
-
FORCE_CUDA
-
FORCE_CUDA
#
- WITH_METIS=
0
-
WITH_METIS=
1
preserve_egg_dir
:
True
preserve_egg_dir
:
True
test
:
test
:
...
...
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