BSD Ports

ai/onnx 1.22.0 MidnightBSD

Open Neural Network eXchange

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
280f48a2ad
License
mit
Categories
ai

Description

Open Neural Network Exchange (ONNX) is an open ecosystem that empowers AI developers to choose the right tools as their project evolves. ONNX provides an open source format for AI models, both deep learning and traditional ML. It defines an extensible computation graph model, as well as definitions of built-in operators and standard data types. Currently we focus on the capabilities needed for inferencing (scoring).

ONNX is widely supported and can be found in many frameworks, tools, and hardware. Enabling interoperability between different frameworks and streamlining the path from research to production helps increase the speed of innovation in the AI community. We invite the community to join us and further evolve ONNX.

In the other systems

The newest version among them is 1.23.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDai/onnx1.22.0no data-[email protected]2026-09-07
FreeBSDmisc/onnx by name1.23.2 newestnone known-[email protected]2026-10-11
DragonFlymisc/onnx by name1.17.0_2none known-[email protected]-
HardenedBSDmisc/onnx by name1.22.0no data-[email protected]-
GhostBSDmisc/onnx by name1.22.0no data-[email protected]-

Install

Binary package:

mport install onnx

From mports:

cd /usr/mports/ai/onnx && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	onnx>0:ai/onnx
LIB_DEPENDS=	libonnx.so:ai/onnx

Dependencies

As this port's Makefile names them.

Library 2

Build dependencies 2
Run dependencies 2
Required by 2

Configuration

No options to configure.

USES
cmake:testing compiler:c++17-lang python:build
Service scripts
none

Files

pkg-plist 110
  • include/onnx/checker.h
  • include/onnx/common/array_ref.h
  • include/onnx/common/assertions.h
  • include/onnx/common/common.h
  • include/onnx/common/constants.h
  • include/onnx/common/file_utils.h
  • include/onnx/common/graph_node_list.h
  • include/onnx/common/interned_strings.h
  • include/onnx/common/ir.h
  • include/onnx/common/ir_pb_converter.h
  • include/onnx/common/model_helpers.h
  • include/onnx/common/path.h
  • include/onnx/common/platform_helpers.h
  • include/onnx/common/proto_util.h
  • include/onnx/common/safe_math.h
  • include/onnx/common/scoped_resource.h
  • include/onnx/common/status.h
  • include/onnx/common/tensor.h
  • include/onnx/common/version.h
  • include/onnx/common/visitor.h
  • include/onnx/defs/attr_proto_util.h
  • include/onnx/defs/controlflow/utils.h
  • include/onnx/defs/data_propagators.h
  • include/onnx/defs/data_type_utils.h
  • include/onnx/defs/doc_strings.h
  • include/onnx/defs/function.h
  • include/onnx/defs/generator/utils.h
  • include/onnx/defs/math/utils.h
  • include/onnx/defs/nn/utils.h
  • include/onnx/defs/operator_sets.h
  • include/onnx/defs/operator_sets_ml.h
  • include/onnx/defs/operator_sets_preview.h
  • include/onnx/defs/operator_sets_training.h
  • include/onnx/defs/parser.h
  • include/onnx/defs/printer.h
  • include/onnx/defs/reduction/utils.h
  • include/onnx/defs/schema.h
  • include/onnx/defs/sequence/utils.h
  • include/onnx/defs/shape_inference.h
  • include/onnx/defs/tensor/utils.h
  • include/onnx/defs/tensor_proto_util.h
  • include/onnx/defs/tensor_util.h
  • include/onnx/defs/traditionalml/utils.h
  • include/onnx/defs/type_builders.h
  • include/onnx/inliner/inliner.h
  • include/onnx/onnx-data.pb.h
  • include/onnx/onnx-ml.pb.h
  • include/onnx/onnx-operators-ml.pb.h
  • include/onnx/onnx-operators_pb.h
  • include/onnx/onnx_pb.h
  • include/onnx/proto_utils.h
  • include/onnx/py_utils.h
  • include/onnx/shape_inference/attribute_binder.h
  • include/onnx/shape_inference/implementation.h
  • include/onnx/string_utils.h
  • include/onnx/version_converter/BaseConverter.h
  • include/onnx/version_converter/adapters/Attention_24_23.h
  • include/onnx/version_converter/adapters/adapter.h
  • include/onnx/version_converter/adapters/axes_attribute_to_input.h
  • include/onnx/version_converter/adapters/axes_input_to_attribute.h
  • include/onnx/version_converter/adapters/axis_attribute_to_input.h
  • include/onnx/version_converter/adapters/axis_input_to_attribute.h
  • include/onnx/version_converter/adapters/batch_normalization_13_14.h
  • include/onnx/version_converter/adapters/broadcast_backward_compatibility.h
  • include/onnx/version_converter/adapters/broadcast_forward_compatibility.h
  • include/onnx/version_converter/adapters/cast_9_8.h
  • include/onnx/version_converter/adapters/clip_10_11.h
  • include/onnx/version_converter/adapters/compatible.h
  • include/onnx/version_converter/adapters/dropout_11_12.h
  • include/onnx/version_converter/adapters/extend_supported_types.h
  • include/onnx/version_converter/adapters/gemm_6_7.h
  • include/onnx/version_converter/adapters/gemm_7_6.h
  • include/onnx/version_converter/adapters/gridsample_19_20.h
  • include/onnx/version_converter/adapters/group_normalization_20_21.h
  • include/onnx/version_converter/adapters/maxpool_8_7.h
  • include/onnx/version_converter/adapters/no_previous_version.h
  • include/onnx/version_converter/adapters/pad_10_11.h
  • include/onnx/version_converter/adapters/q_dq_21_20.h
  • include/onnx/version_converter/adapters/range_27_26.h
  • include/onnx/version_converter/adapters/remove_consumed_inputs.h
  • include/onnx/version_converter/adapters/reshape_4_5.h
  • include/onnx/version_converter/adapters/reshape_5_4.h
  • include/onnx/version_converter/adapters/resize_10_11.h
  • include/onnx/version_converter/adapters/scan_8_9.h
  • include/onnx/version_converter/adapters/scan_9_8.h
  • include/onnx/version_converter/adapters/scatter_10_11.h
  • include/onnx/version_converter/adapters/scatter_16_15.h
  • include/onnx/version_converter/adapters/scatter_18_17.h
  • include/onnx/version_converter/adapters/slice_9_10.h
  • include/onnx/version_converter/adapters/softmax_12_13.h
  • include/onnx/version_converter/adapters/softmax_13_12.h
  • include/onnx/version_converter/adapters/split_12_13.h
  • include/onnx/version_converter/adapters/split_13_12.h
  • include/onnx/version_converter/adapters/split_17_18.h
  • include/onnx/version_converter/adapters/sum_8_7.h
  • include/onnx/version_converter/adapters/topk_9_10.h
  • include/onnx/version_converter/adapters/transformers.h
  • include/onnx/version_converter/adapters/type_restriction.h
  • include/onnx/version_converter/adapters/upsample_6_7.h
  • include/onnx/version_converter/adapters/upsample_8_9.h

The first 100 are listed.

distinfo 1
FileSizeSHA256
onnx-onnx-v1.22.0_GH0.tar.gz1.3687818e+0770bb8b25cf31ea9b1d9f94baacfdc8c4fa27a760f9a10f5d93881bc9eede5fbc

Commit history 2

DateCommitCreditsLog message
280f48a2ad Lucas Holt ai/onnx: update to 1.22.0 (#849)
dee1e47e52 Lucas Holt ai: add new category and move AI/ML ports from misc
Create the ai category (Artificial intelligence and machine learning) and relocate 42 AI/ML ports from misc into it. - Register ai in Mk/bsd.mport.mk VALID_CATEGORIES and the top-level Makefile - Add ai/Makefile; drop the moved entries from misc/Makefile (also removes the stale linux-claude SUBDIR left over from the claude-code rename) - git mv 42 ports and set their primary CATEGORIES to ai - Rewrite misc/<port> dependency origins to ai/<port> in external dependents (devel/py-beartype, math/py-faiss, multimedia/py-torchcodec, textproc/py-tokenizers) and among the moved ports themselves - Record the origin migrations in MOVED Ports moved: chatgpt-shell-cli, claude-code, claude-code-legacy, clawhub, codex, gemini-cli, github-copilot-cli, grok-cli, lean-ctx, llama-cpp, ollama, …