Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add torchsparse. #15095

Merged
merged 3 commits into from
Jun 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions recipes/torchsparse/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{% set name = "torchsparse" %}
{% set version = "1.3.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/mit-han-lab/{{ name }}/archive/v{{ version }}.tar.gz
sha256: 6fa80a875eb2bfa74a69dd1b8e64df1b699710d07c072ca504d4f25fbbcb8730

build:
number: 0
skip: true # [osx or win]
script: "{{ PYTHON }} -m pip install . -vv"

missing_dso_whitelist:
- "$RPATH/libc10.so"
- "$RPATH/libtorch_cpu.so"
- "$RPATH/libtorch_python.so"
- /lib/libstdc++.so.6
- /lib*/libgcc_s.so.1
- /lib*/libc.so.6

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
host:
- python
- pip
- sparsehash
- pytorch-cpu
run:
- python
- {{ pin_compatible('pytorch-cpu', max_pin='x.x.x') }}

test:
imports:
- {{ name }}
requires:
- pip
commands:
- pip check

about:
home: https://github.com/mit-han-lab/torchsparse
license: MIT
license_family: MIT
license_file: LICENSE
summary: 'A high-performance computing library for efficient 3D sparse convolution.'
description: |
A high-performance computing library for efficient 3D sparse convolution.
dev_url: https://github.com/mit-han-lab/{{ name }}

extra:
recipe-maintainers:
- benjaminrwilson