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-cluster
Commits
4c5ebb42
Commit
4c5ebb42
authored
Jun 26, 2021
by
rusty1s
Browse files
[skip ci]
parent
a7ad84ec
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
.github/workflows/building-conda.yml
.github/workflows/building-conda.yml
+4
-2
conda/pytorch-cluster/meta.yaml
conda/pytorch-cluster/meta.yaml
+2
-1
setup.py
setup.py
+2
-1
No files found.
.github/workflows/building-conda.yml
View file @
4c5ebb42
...
...
@@ -10,10 +10,12 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-16.04
,
macos-10.15
,
windows-latest
]
# os: [ubuntu-16.04, macos-10.15, windows-latest]
os
:
[
windows-latest
]
python-version
:
[
3.6
,
3.7
,
3.8
,
3.9
]
torch-version
:
[
1.8.0
,
1.9.0
]
cuda-version
:
[
'
cpu'
,
'
cu101'
,
'
cu102'
,
'
cu111'
]
# cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
cuda-version
:
[
'
cu111'
]
exclude
:
-
torch-version
:
1.9.0
cuda-version
:
'
cu101'
...
...
conda/pytorch-cluster/meta.yaml
View file @
4c5ebb42
...
...
@@ -10,6 +10,7 @@ requirements:
-
{{
compiler('c')
}}
# [win]
host
:
-
pip
-
python {{ environ.get('PYTHON_VERSION') }}
-
{{
environ.get('CONDA_PYTORCH_CONSTRAINT')
}}
-
{{
environ.get('CONDA_CUDATOOLKIT_CONSTRAINT')
}}
...
...
@@ -21,7 +22,7 @@ requirements:
build
:
string
:
py{{ environ.get('PYTHON_VERSION').replace('.', '') }}_torch_{{ environ['TORCH_VERSION'] }}_{{ environ['CUDA_VERSION'] }}
script
:
p
ython setup.py
install
script
:
p
ip
install
.
script_env
:
-
FORCE_CUDA
...
...
setup.py
View file @
4c5ebb42
...
...
@@ -102,7 +102,8 @@ setup(
extras_require
=
{
'test'
:
tests_require
},
ext_modules
=
get_extensions
()
if
not
BUILD_DOCS
else
[],
cmdclass
=
{
'build_ext'
:
BuildExtension
.
with_options
(
no_python_abi_suffix
=
True
)
'build_ext'
:
BuildExtension
.
with_options
(
no_python_abi_suffix
=
True
,
use_ninja
=
False
)
},
packages
=
find_packages
(),
)
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