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 mct-quantizers package #26168

Merged
merged 2 commits into from
Apr 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

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

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

source:
url: https://github.com/sony/mct_quantizers/archive/v{{ version }}.tar.gz
sha256: 59ba50f249419d2015b5fa41eceea9442cef9d4d602d61a6fc2a01366be24bbf

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

requirements:
host:
- python >=3.6
- pip
run:
- python >=3.6
- numpy
- packaging

test:
imports:
- mct_quantizers
commands:
- pip check
requires:
- pip

about:
home: https://github.com/sony/mct_quantizers
license: Apache-2.0
license_file: LICENSE.md
summary: |
"MCT Quantizers facilitates the easy quantization of neural networks in Keras and PyTorch,
equipped with a robust set of pre-defined quantizers and the flexibility to implement custom quantizers."

extra:
recipe-maintainers:
- Chizkiyahu