Skip to content

Commit

Permalink
Merge pull request #15720 from sarthakpati/crypten
Browse files Browse the repository at this point in the history
Added recipe for `crypten`
  • Loading branch information
hmaarrfk authored Feb 14, 2022
2 parents 5ae9019 + 1aee2c3 commit 6b18e22
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
21 changes: 21 additions & 0 deletions recipes/crypten/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) Facebook, Inc. and its affiliates.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
53 changes: 53 additions & 0 deletions recipes/crypten/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{% set name = "crypten" %}
{% set version = "0.4.0" %}


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

source:
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: f9d76bc0ba1468cb77261b8d5486ee875266363310353a18aba948429aa24fda
- url: https://raw.githubusercontent.com/facebookresearch/CrypTen/main/requirements.txt
sha256: 14569c02e2bb5233d9d75a13646a7e9eaee0a1bcc8e7ffe4044ad9a3511d8eca

build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv

requirements:
host:
- pip
- python >=3.6
- setuptools
- pytest-runner # https://github.com/facebookresearch/CrypTen/issues/351
run:
- future
- setuptools
- omegaconf >=2.0.6
- onnx >=1.7.0
- pandas >=1.2.2
- python >=3.6
- pyyaml >=5.3.1
- scipy >=1.6.0
- scikit-learn
- tensorboard
- pytorch >=1.7.0
- torchvision >=0.9.1

test:
imports:
- crypten

about:
home: https://github.com/facebookresearch/CrypTen
summary: 'CrypTen: secure machine learning in PyTorch.'
license: MIT
license_family: MIT
license_file: LICENSE

extra:
recipe-maintainers:
- sarthakpati

0 comments on commit 6b18e22

Please sign in to comment.