forked from pool/python-onnx
Accepting request 1141766 from home:mslacken:ml
- update to 1.15.0 * New Operators (ai.onnx): + ImageDecoder a new ImageDecoder operator to be used in preprocessing models + RegexFullMatch a new operator for regex matching that is commonly used in feature preprocessing + StringConcat takes two string tensors as input and returns the elementwise concatenation of the strings in each tensor + StringSplit takes a string tensor as input and splits each element based on a delimiter attribute and a maxsplit attribute + AffineGrid Generates a 2D or 3D flow field (sampling grid), given a batch of affine matrices theta + Gelu applies gaussian error linear unit function or its approximation to input * Operator Updates (ai.onnx): + ConstantOfShape extends supported data types + GridSample extends to ND data + ReduceMax adds support for boolean + ReduceMin adds support for boolean + IsNan adds support of float8 types + IsInf adds support of float8 types + DFT promote axis as input * New functionality: + Enable empty list of values as attribute + Update diff bakend node tests for auto update doc + Enable pylint checks with Ruff and remove pylint from lintrunner + Getting onnx to treat inf/-inf as float literals. + Create the onnxtxt serialization format + Support JSON as a serialization target + Support for parsing and printing empty list value as attribute OBS-URL: https://build.opensuse.org/request/show/1141766 OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=41
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e296f8867951fa6e71417a18f2e550a730550f8829bd35e947b4df5e3e777aa1
|
||||
size 11570627
|
3
onnx-1.15.0.tar.gz
Normal file
3
onnx-1.15.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c757132e018dd0dd171499ef74fca88b74c5430a20781ec53da19eb7f937ef68
|
||||
size 12360484
|
@@ -1,3 +1,59 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 15:38:11 UTC 2024 - Christian Goll <cgoll@suse.com>
|
||||
|
||||
- update to 1.15.0
|
||||
* New Operators (ai.onnx):
|
||||
+ ImageDecoder a new ImageDecoder operator to be used in preprocessing
|
||||
models
|
||||
+ RegexFullMatch a new operator for regex matching that is commonly used in
|
||||
feature preprocessing
|
||||
+ StringConcat takes two string tensors as input and returns the elementwise
|
||||
concatenation of the strings in each tensor
|
||||
+ StringSplit takes a string tensor as input and splits each element based
|
||||
on a delimiter attribute and a maxsplit attribute
|
||||
+ AffineGrid Generates a 2D or 3D flow field (sampling grid), given a batch
|
||||
of affine matrices theta
|
||||
+ Gelu applies gaussian error linear unit function or its approximation to
|
||||
input
|
||||
* Operator Updates (ai.onnx):
|
||||
+ ConstantOfShape extends supported data types
|
||||
+ GridSample extends to ND data
|
||||
+ ReduceMax adds support for boolean
|
||||
+ ReduceMin adds support for boolean
|
||||
+ IsNan adds support of float8 types
|
||||
+ IsInf adds support of float8 types
|
||||
+ DFT promote axis as input
|
||||
* New functionality:
|
||||
+ Enable empty list of values as attribute
|
||||
+ Update diff bakend node tests for auto update doc
|
||||
+ Enable pylint checks with Ruff and remove pylint from lintrunner
|
||||
+ Getting onnx to treat inf/-inf as float literals.
|
||||
+ Create the onnxtxt serialization format
|
||||
+ Support JSON as a serialization target
|
||||
+ Support for parsing and printing empty list value as attribute
|
||||
+ Add auto update doc pipeline to help developers update docs
|
||||
+ Implement GELU as function op
|
||||
+ Integrate function-inlining with version-conversion
|
||||
+ Extend function type inference to handle missing optional parameters
|
||||
+ Create repr functions for OpSchema
|
||||
+ Utility to inline model-local functions
|
||||
+ Faster reference implementation for operator Conv based on im2col
|
||||
+ Support textproto as a serialization format
|
||||
* ONNX now supports serializing to JSON, Text Proto as well as the ONNX Text
|
||||
Representation
|
||||
* Users are now able to serialize the model proto to a text format by
|
||||
specifying supported file extensions or supplying the format= argument in
|
||||
save_model.
|
||||
* Bug fixes
|
||||
+ Do not use LFS64 on non-glibc linu
|
||||
+ Reject absolute path when saving external data
|
||||
+ Support Python editable builds
|
||||
+ Supports float 8 initializers in ReferenceEvaluator
|
||||
+ Transpose scalar shape inference
|
||||
+ Enable RUFF as a formatter
|
||||
+ Fix type constraints of Reshape(19)
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 11 09:34:17 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-onnx
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,14 +19,17 @@
|
||||
%{?sle15_python_module_pythons}
|
||||
# Tumbleweed does not have a python36-numpy anymore: NEP 29 dropped Python 3.6 for NumPy 1.20
|
||||
Name: python-onnx
|
||||
Version: 1.14.1
|
||||
Version: 1.15.0
|
||||
Release: 0
|
||||
Summary: Open Neural Network eXchange
|
||||
License: MIT
|
||||
URL: https://onnx.ai/
|
||||
Source0: https://github.com/onnx/onnx/archive/v%{version}.tar.gz#/onnx-%{version}.tar.gz
|
||||
Source1: %{name}-rpmlintrc
|
||||
BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module devel >= 3.8}
|
||||
BuildRequires: %{python_module fb-re2}
|
||||
BuildRequires: %{python_module nbval}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module parameterized}
|
||||
BuildRequires: %{python_module protobuf}
|
||||
@@ -98,7 +101,7 @@ sed -i "s|^#!\s*%{_bindir}/env python|#!%{_bindir}/python3|" tools/protoc-gen-my
|
||||
# build inside python_expand shuffled build dir also used by the cmake macro instead of upstream's custom dirname
|
||||
sed -i "/^CMAKE_BUILD_DIR = / s/TOP_DIR, '.setuptools-cmake-build'/TOP_DIR, 'build'/" setup.py
|
||||
# do not require extra pytest modules
|
||||
sed -i -e '/addopts/d' setup.cfg
|
||||
#sed -i -e '/addopts/d' setup.cfg
|
||||
# do not pull in pytest-runner as it is deprecated
|
||||
sed -i -e '/pytest-runner/d' setup.py
|
||||
|
||||
|
Reference in New Issue
Block a user