misc/py-onnxconverter-common: New port: ONNX converter and optimization tools

This commit is contained in:
Yuri Victorovich 2025-03-14 23:16:00 -07:00
parent 80972283ea
commit 720ec70510
4 changed files with 34 additions and 0 deletions

View file

@ -473,6 +473,7 @@
SUBDIR += py-ollama
SUBDIR += py-onnx
SUBDIR += py-onnx-tf
SUBDIR += py-onnxconverter-common
SUBDIR += py-openai
SUBDIR += py-openai-whisper
SUBDIR += py-openpaperwork-core

View file

@ -0,0 +1,26 @@
PORTNAME= onnxconverter-common
DISTVERSION= 1.14.0
CATEGORIES= misc # machine-learning
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= ONNX converter and optimization tools
WWW= https://github.com/microsoft/onnxconverter-common
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}onnx>0:misc/py-onnx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.2:devel/py-protobuf@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 autoplist
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1742018366
SHA256 (onnxconverter-common-1.14.0.tar.gz) = 6e431429bd15325c5b2c3eab61bed0d5634c23ed58f8823961be448d629d014a
SIZE (onnxconverter-common-1.14.0.tar.gz) = 82146

View file

@ -0,0 +1,4 @@
The onnxconverter-common package provides common functions and utilities for use
in converters from various AI frameworks to ONNX. It also enables the different
converters to work together to convert a model from mixed frameworks, like a
scikit-learn pipeline embedding a xgboost model.