SHA256
1
0
forked from pool/python-onnx

48 Commits

Author SHA256 Message Date
8a518edfe1 Accepting request 1183184 from science:machinelearning
- Disable tests for s390x based on IBM support without working tests (boo#1215337)

OBS-URL: https://build.opensuse.org/request/show/1183184
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=19
2024-06-25 21:08:37 +00:00
32720e01a2 Remove not needed '\'
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=46
2024-06-25 13:12:45 +00:00
56304dc3a6 - Disable tests for s390x based on IBM support without working tests (boo#1215337)
(Tests will be reenabled as soon as all will be working fine)

OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=45
2024-06-25 07:10:21 +00:00
4d1fdcf83c Accepting request 1162860 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/1162860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=18
2024-03-27 19:42:54 +00:00
33748538ef Accepting request 1162838 from home:mslacken:branches:science:machinelearning
- update to 1.16.0 
  * Update to support int4 and uint4:
    + Cast, CastLike, Constant, ConstantOfShape, Identity, If,
      Loop, Reshape, Scan, Shape, Size
  * Update to support float8e4m3fnuz, float8e5m2, float8e5m2fnuz,
    int4 and uint4:
    +  Flatten, Pad, Squeeze, Transpose, Unsqueeze
  * Support blocked quantization. Support int4, uint4, int16, and uint16:
    + DequantizeLinear, QuantizeLinear,
  * Support bfloat16 and float16 scales. Support float8e4m3fn,
    float8e4m3fnuz, float8e5m2, float8e5m2fnuz quantized tensors:
    + QLinearMatMul,
  * Add stash_type attribute and change input shape of scale and
    bias from (G) to (C) for GroupNormalization
  * ai.onnx.ml Opset 4
  * Addeded new operator TreeEnsemble
  * IR Version 10
    + Added support for UINT4, INT4 types
    + GraphProto, FunctionProto, NodeProto, TensorProto added
      metadata_props field
    + FunctionProto added value_info field
    + FunctionProto and NodeProto added overload field to support
     overloaded functions.
- Security Updates
  * Fix path sanitization bypass leading to arbitrary read
    (CVE-2024-27318)
  * Fix Out of bounds read due to lack of string termination in
    assert (CVE-2024-27319)
- Several Bug fixes and infrastructure improvements
- removed python39 support

OBS-URL: https://build.opensuse.org/request/show/1162838
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=43
2024-03-27 10:28:58 +00:00
471617373c Accepting request 1142952 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/1142952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=17
2024-01-31 22:54:59 +00:00
aace919ce9 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
2024-01-31 09:24:25 +00:00
7a8d03ba09 Accepting request 1117444 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/1117444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=16
2023-10-12 21:44:11 +00:00
ed62183b23 Accepting request 1117439 from home:ecsos:python
- Update to 1.14.1
  * Bug fixes
    - Fix shape data propagation function to handle missing optional parameters #5219
    - Fix a couple of shape inference issues #5223
    - Extend function type inference to handle missing optional parameters #5169
    - Fix check_tensor to work with large models on Windows #5227
    - Fix check_tensor to work with large models on UNIX #5286
- Changes from 1.14.0
  * Opset 19 is released
  * New operators
    - DeformConv added in #4783
  * Operator extensions
    - Equal - Support for string data type added in #4828
    - AveragePool - New attribute dilations #4790
    - Pad - Added new wrap to the mode attribute to support circular padding #4793
    - Resize - Added half_pixel_symmetric to the coordinate_transformation_mode attribute #4862
  * IR updates (bump to 9)
    - Support attributes with default values: #4911
    - Added 4 new 8-bit floating point data types: #4805
  * Backend tests
    - Replaced real models with light models in backend tests. #4861 #4960
  * Support Protobuf v21
    - Now ONNX supports Protobuf v21: #4956
  * Deprecation notice
    - Python 3.7 support will be deprecated due to EOL in next release: #5191
    - onnx-weekly package will be deprecated in TestPyPI. 
      Please use them from PyPI instead: #4930
    - Properties in FormalParameter will be deprecated in future release.
      Please use newer properties name: #5074
    - Variables from mapping.py will be deprecated and become private implementation details.
      Please use public functions to get corresponding types from helper.py instead: #4554
- Changes from 1.13.1
  * Bug fixes
    - Add missing f-string for DeprecatedWarningDict in mapping.py #4707
    - Fix types deprecated in numpy==1.24 #4721
    - Update URL for real models from ONNX Runtime #4865
    - Fix attribute substitution within subgraphs during function type/shape inference #4792
    - Handle variants of constant op in shape inference #4824
    - Fix parser bug in handling non-tensor types #4863
    - Fix function shape inference bug #4880
  * Announcement
    - Deprecate real model tests from onnx repo in next ONNX release #4885
    - Move onnx-weekly package from TestPyPI to PyPI and stop
      uploading onnx-weekly to TestPyPI after next ONNX release #4930
- Changes from 1.13.0
  * New operators
    - Col2Im added in #3948
    - BitwiseNot added in #4497
    - BitwiseAnd, BitwiseOr and BitwiseXor added in #4496
  * Operator extensions
    - Resize - New attributes: antialias, axes and keep_aspect_ratio_policy, allow for both scales and sizes to be provided when one of them is an empty constant #4126, #4388
    - Pad - New attribute axes #4190
    - OptionalHasElement - New input types handling #4326
    - OptionalHasElement and OptionalGetElement - Accept tensor and sequence types #4421
    - ScatterElement and ScatterND - Add max and min as supported reduction attributes #4411
    - Split - Add support for uneven tensor splitting and a new num_outputs attribute #4481
    - LpPool - New attributes: ceil_mode and dilations #4534
  * Function updates
    - CenterCropPad added in #4190
    - mish added in #4350
    - GroupNormalization added in #4621
  * Reference Python runtime
    - Reference Python runtime dependent on only Python and numpy has been added. #4483
  * Python 3.11 support
    - ONNX 1.13.0 supports Python 3.11. #4490
  * Apple Silicon support
    - Support for M1/M2 ARM processors has been added. #4642
  * More
    ONNX 1.13.0 also comes with numerous:
    - bugfixes
    - infrastructure improvements
    - CI improvements
    - documentation updates
    - security updates
    For full details see 
    https://github.com/onnx/onnx/wiki/Logistics-for-ONNX-Release-1.13.0
  * Deprecation notice
    - TENSOR_TYPE_TO_STORAGE_TENSOR_TYPE has been deprecated #4270
    - ONNXIFI: ONNX Interface for Framework Integration has been deprecated #4431
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1117439
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=39
2023-10-12 12:47:05 +00:00
38c66b5143 Accepting request 1099917 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/1099917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=15
2023-07-24 16:26:08 +00:00
c8c4a0e793 Accepting request 1099916 from home:Guillaume_G:branches:science:machinelearning2
- Use older protobuf (protobuf21) to fix build

OBS-URL: https://build.opensuse.org/request/show/1099916
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=37
2023-07-21 13:17:00 +00:00
0fe3d99d03 Accepting request 1012030 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/1012030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=14
2022-10-17 12:58:26 +00:00
369c19322e Accepting request 1012026 from home:pgajdos:python
- python-six is not required

OBS-URL: https://build.opensuse.org/request/show/1012026
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=35
2022-10-17 08:47:45 +00:00
e049cdeec9 Accepting request 990440 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/990440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=13
2022-07-21 09:35:17 +00:00
75fe4a0aff Accepting request 990401 from home:Guillaume_G:branches:science:machinelearning
- Update to version 1.12.0: https://github.com/onnx/onnx/releases/tag/v1.12.0
- Drop upstream patch:
  * 3734-enable-python310.patch

OBS-URL: https://build.opensuse.org/request/show/990401
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=33
2022-07-20 16:57:53 +00:00
35693bbc47 Accepting request 975150 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/975150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=12
2022-05-05 21:07:11 +00:00
625cc2ead1 Accepting request 974888 from home:mcepl:branches:science:machinelearning
- Add 3734-enable-python310.patch to make the package Python 3.10
  compatible (gh#onnx/onnx#3734).
- Remove no-python2.patch, it is really better to fix shebang
  with a sed command.

OBS-URL: https://build.opensuse.org/request/show/974888
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=31
2022-05-05 10:14:06 +00:00
8896765a34 Accepting request 947378 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/947378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=11
2022-01-19 23:12:19 +00:00
3f07f08da9 Accepting request 947377 from home:Guillaume_G:branches:science:machinelearning
- Update to 1.10.2: https://github.com/onnx/onnx/releases/tag/v1.10.2
- Rebase no-python2.patch
- Disable python 3.10 support as onnx is not ready yet.
- Do not run tests in parallel, since it is not parallel safe.

OBS-URL: https://build.opensuse.org/request/show/947377
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=30
2022-01-19 10:13:08 +00:00
9f505a305a Accepting request 872639 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/872639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=10
2021-02-15 22:20:59 +00:00
8ef2d9de26 Accepting request 872636 from home:bnavigator:branches:science:machinelearning
- NEP 29: Tumbleweed does not have python36-numpy and depending
  packages anymore. Skip python36 build.
- Make setup.py cmake call and %cmake macros compatible, even for
  multiple python3 flavors (when we get python39)
- Fix boo#1182258

OBS-URL: https://build.opensuse.org/request/show/872636
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=28
2021-02-15 19:57:43 +00:00
41c2969779 Accepting request 872358 from home:Guillaume_G:branches:science:machinelearning
- Update to 1.8.1: https://github.com/onnx/onnx/releases/tag/v1.8.1
  * Bug fixes:
    - #3169 To resolve memory crash on Windows, register python exceptions and update exceptions handling
    - #3171 Fix bugs in external data helpers and add add size thresholds for converting
    - #2961 Fix build issues on some distributions of linux due to hard dependency on python2
    - #3221 Fix mypy wrapper error while using ONNX as a submodule
- Changes from skipped 1.8.0: https://github.com/onnx/onnx/releases/tag/v1.8.0
  * Training
    - Added Differentiable tags to make Gradient operator better defined #2723, #2893, #2911, #2954
    - Removed GraphCall; eliminated need to implement GraphCall #2964
    - Created a tool and example for users to use TrainingInfoProto for training #3008
  * Shape Inference and Checker
    - Large model (>2GB model) support added for checker and shape_inference #2744
    - Graph level shape inference fixes to patch the IR gap introduced since IR version 4 #3023
    - Node level shape inference fixes for operators
  * Version Converter
    - More operators supported #2664
  * General Features
    - Added serialization for inputs and outputs of Sequence and Map data types #2581
    - Added programmatic access to version-table and extend make-model #2918
    - Added size check to make_tensor #2987
- Drop patch as the related problem has been fixed upstream:
  * using-onnxruntime-proto.patch

OBS-URL: https://build.opensuse.org/request/show/872358
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=27
2021-02-15 12:43:38 +00:00
dc5033f0d2 Accepting request 827232 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/827232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=9
2020-08-17 10:08:35 +00:00
Tomáš Chvátal
1b0750c0cc Accepting request 821861 from home:mslacken:ml
- reorganized package in order to have shared library support.
  Additional  packages are:
  * onnx-devel
  * libonnxifi_dummy
  * libonnx
  * onnx-devel
  As no so versions for the shared libraries are available, there
  is not a explicit dependency for the shared libraries.
  The archive file libonnxifi_loader.a is explicitely allowed in 
  the rpmlintrc as this archive file is consumed by libonnxifi_loader.so
- Added the proto files from onnxruntime so that both packages can 
  use the same shared libraries:
  * added using-onnxruntime-proto.patch

OBS-URL: https://build.opensuse.org/request/show/821861
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=25
2020-08-17 06:37:58 +00:00
7df4cfda7c Accepting request 819171 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/819171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=8
2020-07-08 17:16:55 +00:00
Tomáš Chvátal
2ef859e36f Accepting request 819157 from home:mslacken:ml
- updated to version 1.7.0 with following highlights:
  * Training Support, as a tech preview
  * Opset has been updated to version 12
- removed not needed patch: protobuf.patch

OBS-URL: https://build.opensuse.org/request/show/819157
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=23
2020-07-07 09:38:30 +00:00
74c5c5c847 Accepting request 807935 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/807935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=7
2020-05-23 15:27:51 +00:00
Tomáš Chvátal
203a729718 Accepting request 807906 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/807906
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=21
2020-05-21 08:59:21 +00:00
a2b14d34e9 Accepting request 796524 from science:machinelearning
- Force the interpreter to match the one during build
- Mypy should use python3 to generate stuff not python2
  * no-python2.patch

- Do not pull in py2 devel of pybind11

OBS-URL: https://build.opensuse.org/request/show/796524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=6
2020-04-23 16:35:32 +00:00
Tomáš Chvátal
d6c644a4f9 - Force the interpreter to match the one during build
- Mypy should use python3 to generate stuff not python2
  * no-python2.patch

OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=19
2020-04-23 11:56:53 +00:00
Tomáš Chvátal
e8f98c45e6 - Do not pull in py2 devel of pybind11
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=18
2020-04-23 10:35:54 +00:00
b26c037702 Accepting request 787522 from science:machinelearning
- Do also provide/obsolete for the devel to support migration

- provide also python-onnx-devel for backcompat 

- created just one package, as other packages require the 
  source file within the package

OBS-URL: https://build.opensuse.org/request/show/787522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=5
2020-03-24 21:34:57 +00:00
Tomáš Chvátal
1c4864e3a3 - Do also provide/obsolete for the devel to support migration
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=16
2020-03-23 15:09:14 +00:00
Tomáš Chvátal
fec5ed0053 Accepting request 786123 from home:mslacken:ml
- provide also python-onnx-devel for backcompat 

- created just one package, as other packages require the 
  source file within the package

OBS-URL: https://build.opensuse.org/request/show/786123
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=15
2020-03-18 17:33:28 +00:00
b5f1bc1df8 Accepting request 785234 from science:machinelearning
- Add patch to fix build with new protobuf:
  * protobuf.patch

OBS-URL: https://build.opensuse.org/request/show/785234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=4
2020-03-16 09:19:37 +00:00
Tomáš Chvátal
1b5aaa13a8 - Add patch to fix build with new protobuf:
* protobuf.patch

OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=13
2020-03-15 08:59:16 +00:00
145da28f0b Accepting request 779106 from science:machinelearning
- Add missing dependencies and enable testsuite

- Force onnx static build in cmake round to ensure we do not
  end up with unresolvable pkg

- Remove testing fluff from previous change and properly loop
  the cmake call for each python variant
- Enable python2 (well rather not explicitly disable it as there
  is no need for that at the momment)

- Force building with system cmake to respect system definitions
  and to provide debug information for later on

OBS-URL: https://build.opensuse.org/request/show/779106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=3
2020-02-26 14:03:54 +00:00
Tomáš Chvátal
067eb5f36a - Add missing dependencies and enable testsuite
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=11
2020-02-25 13:58:12 +00:00
Tomáš Chvátal
2001e3d5a2 - Force onnx static build in cmake round to ensure we do not
end up with unresolvable pkg

OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=10
2020-02-25 11:53:19 +00:00
Tomáš Chvátal
3b30d206ba - Remove testing fluff from previous change and properly loop
the cmake call for each python variant
- Enable python2 (well rather not explicitly disable it as there
  is no need for that at the momment)

OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=9
2020-02-24 15:44:01 +00:00
Tomáš Chvátal
ce82febda3 Testing needs more work
- Force building with system cmake to respect system definitions
  and to provide debug information for later on

OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=8
2020-02-24 14:53:41 +00:00
88350da65b Accepting request 761796 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/761796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=2
2020-01-08 16:56:57 +00:00
3c8b49d462 Accepting request 761795 from home:mslacken:ml
- moved necessary defs from devel to main package

OBS-URL: https://build.opensuse.org/request/show/761795
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=6
2020-01-08 10:06:57 +00:00
150dd7af80 Accepting request 743499 from science:machinelearning
Initial version for Factory

OBS-URL: https://build.opensuse.org/request/show/743499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=1
2019-11-26 15:51:03 +00:00
01f04d8453 Accepting request 743498 from home:Guillaume_G:branches:science:machinelearning
- Add python-onnx-rpmlintrc to sources

OBS-URL: https://build.opensuse.org/request/show/743498
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=4
2019-10-28 13:15:22 +00:00
7a3d0352a6 Accepting request 741500 from home:mslacken:ml
ifpython3 is not working in install section

OBS-URL: https://build.opensuse.org/request/show/741500
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=3
2019-10-21 12:57:02 +00:00
c7a56de8a4 Accepting request 741052 from home:Guillaume_G:branches:science:machinelearning
- Fix armv7 build

OBS-URL: https://build.opensuse.org/request/show/741052
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=2
2019-10-21 08:46:18 +00:00
54c0d19530 Accepting request 736236 from home:mslacken:ml
has now a rpmlintrc

OBS-URL: https://build.opensuse.org/request/show/736236
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=1
2019-10-18 08:33:29 +00:00