cpu, gpu capabilities
{% set name = "torch_spline_conv" %}
{% set version = "1.2.0" %}
+{% set torch_spline_conv_proc_type = "cpu" if cuda_compiler_version == "None" else "gpu" %} # [linux64]
+{% set torch_spline_conv_proc_type = "cpu" %} # [not linux64]
+
package:
name: py{{ name|lower }}
version: {{ version }}
@@ -11,26 +14,53 @@ source:
build:
number: 0
- skip: true # [py2k or win or (linux64 and cuda_compiler_version == "None")]
+ skip: true # [py2k or (win and vc<14)]
script: {{ PYTHON }} -m pip install . -vv
+outputs:
+ - name: torch_spline_conv_proc
+ version: {{ version }}
+ build:
+ number: 0
+ string: "{{ torch_spline_conv_proc_type }}"
+ test:
+ commands:
+ - exit 0
+ about:
+ home: https://github.com/conda-forge/pytorch_spline_conv-feedstock
+ license: BSD-3-Clause
+ license_family: BSD
+ summary: A meta-package to select CPU or GPU pytorch_spline_conv build.
+
+ - name: torch_spline_conv
+ version: {{ version }}
+ build:
+ number: 0
+ script: python -m pip install . -vv
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- - {{ compiler('cuda') }} # [linux]
+ - {{ compiler('cuda') }} # [linux64 and cuda_compiler_version != "None"]
host:
- - pip
- - pytest-runner
- python
- pytorch
+ - pytest-runner
+ - pip
run:
- python
- pytorch
-
+ run_constrained:
+ - torch_spline_conv * {{ torch_spline_conv_proc_type }}
test:
imports:
- torch_spline_conv
+ about:
+ home: https://github.com/rusty1s/torch-spline-conv
+ summary: Implementation of the Spline-Based Convolution Operator of SplineCNN in PyTorch
+ license: MIT
+ license_file: LICENSE
+ dev_url: https://github.com/rusty1s/torch-spline-conv
about:
home: https://github.com/rusty1s/torch-spline-conv
