onnxruntime 0.7.5-x64-mingw → 0.7.7-x64-mingw

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 668db69d787cdb1bea80307d8a6c0a9c60f298a0555aac81ac66cf3631d8ad67
4
- data.tar.gz: 55c050a749fbcb2785fec2aa24d353a351c859f8dfc8660c4f3820eb179ebf0c
3
+ metadata.gz: 3ecbc92a5942db7841c25bd5e9c72d4a28d66761994aa155cdc6797ccf0c93a8
4
+ data.tar.gz: 144f8bb69d9cf7718b9a28a3fa5218352073c06a551f13ba7bfd1e21717f3312
5
5
  SHA512:
6
- metadata.gz: f025d67f5d75d2986ed4437b62f8db49c861992b651810cf070d6d169dd347e5bfa3818cf0d46e86432a21e11dd8c070a717c91cfbed21022780baf99368a7c2
7
- data.tar.gz: 108e3992ae311f1db00a0ecc2fb5ef7f14b8bcff6d8ebb5a738af748b8bf29a338552ddf10a8b66ad75a21266fb241141a3836093864870d95fca5d7fb77fa3a
6
+ metadata.gz: '09ab3430c52447d4f32832a5eedd5edc4c1742030925c0fa12262f519e1dae20f58cd3f68c41f6e0a89f7717e61eaf7f8ae954305d55ab7841d3c5b4fc09da58'
7
+ data.tar.gz: ec4739b308c71ed25e3ef1d6371dfb92da4ac76ceb6c3d8dc6621496f801a0a5a240e9985c835e4b4dc0200dda5b6491e14af81fae9e944f4c7b355c1bea2fe7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.7.7 (2023-07-24)
2
+
3
+ - Updated ONNX Runtime to 1.15.1
4
+ - Fixed error with `dup` and `clone`
5
+
6
+ ## 0.7.6 (2023-05-24)
7
+
8
+ - Updated ONNX Runtime to 1.15.0
9
+
1
10
  ## 0.7.5 (2023-02-11)
2
11
 
3
12
  - Updated ONNX Runtime to 1.14.0
@@ -56,7 +56,7 @@ module OnnxRuntime
56
56
  end
57
57
 
58
58
  @session = load_session(path_or_bytes, session_options)
59
- ObjectSpace.define_finalizer(self, self.class.finalize(@session))
59
+ ObjectSpace.define_finalizer(@session, self.class.finalize(read_pointer.to_i))
60
60
 
61
61
  @allocator = load_allocator
62
62
  @inputs = load_inputs
@@ -566,9 +566,9 @@ module OnnxRuntime
566
566
  api[:"Release#{type}"].call(pointer.read_pointer) if pointer && !pointer.null?
567
567
  end
568
568
 
569
- def self.finalize(session)
569
+ def self.finalize(addr)
570
570
  # must use proc instead of stabby lambda
571
- proc { release :Session, session }
571
+ proc { api[:ReleaseSession].call(::FFI::Pointer.new(:pointer, addr)) }
572
572
  end
573
573
 
574
574
  # wide string on Windows
@@ -1,3 +1,3 @@
1
1
  module OnnxRuntime
2
- VERSION = "0.7.5"
2
+ VERSION = "0.7.7"
3
3
  end
data/lib/onnxruntime.rb CHANGED
@@ -2,11 +2,11 @@
2
2
  require "ffi"
3
3
 
4
4
  # modules
5
- require "onnxruntime/datasets"
6
- require "onnxruntime/inference_session"
7
- require "onnxruntime/model"
8
- require "onnxruntime/utils"
9
- require "onnxruntime/version"
5
+ require_relative "onnxruntime/datasets"
6
+ require_relative "onnxruntime/inference_session"
7
+ require_relative "onnxruntime/model"
8
+ require_relative "onnxruntime/utils"
9
+ require_relative "onnxruntime/version"
10
10
 
11
11
  module OnnxRuntime
12
12
  class Error < StandardError; end
@@ -5422,8 +5422,8 @@ _____
5422
5422
 
5423
5423
  Tencent/rapidjson, https://github.com/Tencent/rapidjson
5424
5424
 
5425
- Tencent is pleased to support the open source community by making RapidJSON available.
5426
-
5425
+ Tencent is pleased to support the open source community by making RapidJSON available.
5426
+
5427
5427
  Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
5428
5428
 
5429
5429
  If you have downloaded a copy of the RapidJSON binary from Tencent, please note that the RapidJSON binary is licensed under the MIT License.
@@ -5435,13 +5435,13 @@ Other dependencies and licenses:
5435
5435
  Open Source Software Licensed Under the BSD License:
5436
5436
  --------------------------------------------------------------------
5437
5437
 
5438
- The msinttypes r29
5439
- Copyright (c) 2006-2013 Alexander Chemeris
5438
+ The msinttypes r29
5439
+ Copyright (c) 2006-2013 Alexander Chemeris
5440
5440
  All rights reserved.
5441
5441
 
5442
5442
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5443
5443
 
5444
- * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
5444
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
5445
5445
  * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
5446
5446
  * Neither the name of copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
5447
5447
 
@@ -5450,7 +5450,7 @@ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPR
5450
5450
  Open Source Software Licensed Under the JSON License:
5451
5451
  --------------------------------------------------------------------
5452
5452
 
5453
- json.org
5453
+ json.org
5454
5454
  Copyright (c) 2002 JSON.org
5455
5455
  All Rights Reserved.
5456
5456
 
@@ -5784,3 +5784,241 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
5784
5784
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
5785
5785
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5786
5786
  SOFTWARE.
5787
+
5788
+ _____
5789
+
5790
+ TensorFlow.js
5791
+
5792
+ https://github.com/tensorflow/tfjs
5793
+
5794
+
5795
+ Apache License
5796
+ Version 2.0, January 2004
5797
+ http://www.apache.org/licenses/
5798
+
5799
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
5800
+
5801
+ 1. Definitions.
5802
+
5803
+ "License" shall mean the terms and conditions for use, reproduction,
5804
+ and distribution as defined by Sections 1 through 9 of this document.
5805
+
5806
+ "Licensor" shall mean the copyright owner or entity authorized by
5807
+ the copyright owner that is granting the License.
5808
+
5809
+ "Legal Entity" shall mean the union of the acting entity and all
5810
+ other entities that control, are controlled by, or are under common
5811
+ control with that entity. For the purposes of this definition,
5812
+ "control" means (i) the power, direct or indirect, to cause the
5813
+ direction or management of such entity, whether by contract or
5814
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
5815
+ outstanding shares, or (iii) beneficial ownership of such entity.
5816
+
5817
+ "You" (or "Your") shall mean an individual or Legal Entity
5818
+ exercising permissions granted by this License.
5819
+
5820
+ "Source" form shall mean the preferred form for making modifications,
5821
+ including but not limited to software source code, documentation
5822
+ source, and configuration files.
5823
+
5824
+ "Object" form shall mean any form resulting from mechanical
5825
+ transformation or translation of a Source form, including but
5826
+ not limited to compiled object code, generated documentation,
5827
+ and conversions to other media types.
5828
+
5829
+ "Work" shall mean the work of authorship, whether in Source or
5830
+ Object form, made available under the License, as indicated by a
5831
+ copyright notice that is included in or attached to the work
5832
+ (an example is provided in the Appendix below).
5833
+
5834
+ "Derivative Works" shall mean any work, whether in Source or Object
5835
+ form, that is based on (or derived from) the Work and for which the
5836
+ editorial revisions, annotations, elaborations, or other modifications
5837
+ represent, as a whole, an original work of authorship. For the purposes
5838
+ of this License, Derivative Works shall not include works that remain
5839
+ separable from, or merely link (or bind by name) to the interfaces of,
5840
+ the Work and Derivative Works thereof.
5841
+
5842
+ "Contribution" shall mean any work of authorship, including
5843
+ the original version of the Work and any modifications or additions
5844
+ to that Work or Derivative Works thereof, that is intentionally
5845
+ submitted to Licensor for inclusion in the Work by the copyright owner
5846
+ or by an individual or Legal Entity authorized to submit on behalf of
5847
+ the copyright owner. For the purposes of this definition, "submitted"
5848
+ means any form of electronic, verbal, or written communication sent
5849
+ to the Licensor or its representatives, including but not limited to
5850
+ communication on electronic mailing lists, source code control systems,
5851
+ and issue tracking systems that are managed by, or on behalf of, the
5852
+ Licensor for the purpose of discussing and improving the Work, but
5853
+ excluding communication that is conspicuously marked or otherwise
5854
+ designated in writing by the copyright owner as "Not a Contribution."
5855
+
5856
+ "Contributor" shall mean Licensor and any individual or Legal Entity
5857
+ on behalf of whom a Contribution has been received by Licensor and
5858
+ subsequently incorporated within the Work.
5859
+
5860
+ 2. Grant of Copyright License. Subject to the terms and conditions of
5861
+ this License, each Contributor hereby grants to You a perpetual,
5862
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
5863
+ copyright license to reproduce, prepare Derivative Works of,
5864
+ publicly display, publicly perform, sublicense, and distribute the
5865
+ Work and such Derivative Works in Source or Object form.
5866
+
5867
+ 3. Grant of Patent License. Subject to the terms and conditions of
5868
+ this License, each Contributor hereby grants to You a perpetual,
5869
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
5870
+ (except as stated in this section) patent license to make, have made,
5871
+ use, offer to sell, sell, import, and otherwise transfer the Work,
5872
+ where such license applies only to those patent claims licensable
5873
+ by such Contributor that are necessarily infringed by their
5874
+ Contribution(s) alone or by combination of their Contribution(s)
5875
+ with the Work to which such Contribution(s) was submitted. If You
5876
+ institute patent litigation against any entity (including a
5877
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
5878
+ or a Contribution incorporated within the Work constitutes direct
5879
+ or contributory patent infringement, then any patent licenses
5880
+ granted to You under this License for that Work shall terminate
5881
+ as of the date such litigation is filed.
5882
+
5883
+ 4. Redistribution. You may reproduce and distribute copies of the
5884
+ Work or Derivative Works thereof in any medium, with or without
5885
+ modifications, and in Source or Object form, provided that You
5886
+ meet the following conditions:
5887
+
5888
+ (a) You must give any other recipients of the Work or
5889
+ Derivative Works a copy of this License; and
5890
+
5891
+ (b) You must cause any modified files to carry prominent notices
5892
+ stating that You changed the files; and
5893
+
5894
+ (c) You must retain, in the Source form of any Derivative Works
5895
+ that You distribute, all copyright, patent, trademark, and
5896
+ attribution notices from the Source form of the Work,
5897
+ excluding those notices that do not pertain to any part of
5898
+ the Derivative Works; and
5899
+
5900
+ (d) If the Work includes a "NOTICE" text file as part of its
5901
+ distribution, then any Derivative Works that You distribute must
5902
+ include a readable copy of the attribution notices contained
5903
+ within such NOTICE file, excluding those notices that do not
5904
+ pertain to any part of the Derivative Works, in at least one
5905
+ of the following places: within a NOTICE text file distributed
5906
+ as part of the Derivative Works; within the Source form or
5907
+ documentation, if provided along with the Derivative Works; or,
5908
+ within a display generated by the Derivative Works, if and
5909
+ wherever such third-party notices normally appear. The contents
5910
+ of the NOTICE file are for informational purposes only and
5911
+ do not modify the License. You may add Your own attribution
5912
+ notices within Derivative Works that You distribute, alongside
5913
+ or as an addendum to the NOTICE text from the Work, provided
5914
+ that such additional attribution notices cannot be construed
5915
+ as modifying the License.
5916
+
5917
+ You may add Your own copyright statement to Your modifications and
5918
+ may provide additional or different license terms and conditions
5919
+ for use, reproduction, or distribution of Your modifications, or
5920
+ for any such Derivative Works as a whole, provided Your use,
5921
+ reproduction, and distribution of the Work otherwise complies with
5922
+ the conditions stated in this License.
5923
+
5924
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
5925
+ any Contribution intentionally submitted for inclusion in the Work
5926
+ by You to the Licensor shall be under the terms and conditions of
5927
+ this License, without any additional terms or conditions.
5928
+ Notwithstanding the above, nothing herein shall supersede or modify
5929
+ the terms of any separate license agreement you may have executed
5930
+ with Licensor regarding such Contributions.
5931
+
5932
+ 6. Trademarks. This License does not grant permission to use the trade
5933
+ names, trademarks, service marks, or product names of the Licensor,
5934
+ except as required for reasonable and customary use in describing the
5935
+ origin of the Work and reproducing the content of the NOTICE file.
5936
+
5937
+ 7. Disclaimer of Warranty. Unless required by applicable law or
5938
+ agreed to in writing, Licensor provides the Work (and each
5939
+ Contributor provides its Contributions) on an "AS IS" BASIS,
5940
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
5941
+ implied, including, without limitation, any warranties or conditions
5942
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
5943
+ PARTICULAR PURPOSE. You are solely responsible for determining the
5944
+ appropriateness of using or redistributing the Work and assume any
5945
+ risks associated with Your exercise of permissions under this License.
5946
+
5947
+ 8. Limitation of Liability. In no event and under no legal theory,
5948
+ whether in tort (including negligence), contract, or otherwise,
5949
+ unless required by applicable law (such as deliberate and grossly
5950
+ negligent acts) or agreed to in writing, shall any Contributor be
5951
+ liable to You for damages, including any direct, indirect, special,
5952
+ incidental, or consequential damages of any character arising as a
5953
+ result of this License or out of the use or inability to use the
5954
+ Work (including but not limited to damages for loss of goodwill,
5955
+ work stoppage, computer failure or malfunction, or any and all
5956
+ other commercial damages or losses), even if such Contributor
5957
+ has been advised of the possibility of such damages.
5958
+
5959
+ 9. Accepting Warranty or Additional Liability. While redistributing
5960
+ the Work or Derivative Works thereof, You may choose to offer,
5961
+ and charge a fee for, acceptance of support, warranty, indemnity,
5962
+ or other liability obligations and/or rights consistent with this
5963
+ License. However, in accepting such obligations, You may act only
5964
+ on Your own behalf and on Your sole responsibility, not on behalf
5965
+ of any other Contributor, and only if You agree to indemnify,
5966
+ defend, and hold each Contributor harmless for any liability
5967
+ incurred by, or claims asserted against, such Contributor by reason
5968
+ of your accepting any such warranty or additional liability.
5969
+
5970
+ END OF TERMS AND CONDITIONS
5971
+
5972
+ APPENDIX: How to apply the Apache License to your work.
5973
+
5974
+ To apply the Apache License to your work, attach the following
5975
+ boilerplate notice, with the fields enclosed by brackets "[]"
5976
+ replaced with your own identifying information. (Don't include
5977
+ the brackets!) The text should be enclosed in the appropriate
5978
+ comment syntax for the file format. We also recommend that a
5979
+ file or class name and description of purpose be included on the
5980
+ same "printed page" as the copyright notice for easier
5981
+ identification within third-party archives.
5982
+
5983
+ Copyright [yyyy] [name of copyright owner]
5984
+
5985
+ Licensed under the Apache License, Version 2.0 (the "License");
5986
+ you may not use this file except in compliance with the License.
5987
+ You may obtain a copy of the License at
5988
+
5989
+ http://www.apache.org/licenses/LICENSE-2.0
5990
+
5991
+ Unless required by applicable law or agreed to in writing, software
5992
+ distributed under the License is distributed on an "AS IS" BASIS,
5993
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5994
+ See the License for the specific language governing permissions and
5995
+ limitations under the License.
5996
+
5997
+ ——
5998
+
5999
+ curl/curl
6000
+
6001
+ https://github.com/curl
6002
+
6003
+ COPYRIGHT AND PERMISSION NOTICE
6004
+
6005
+ Copyright (C) Daniel Stenberg, <daniel@haxx.se>, and many
6006
+ contributors, see the THANKS file.
6007
+
6008
+ All rights reserved.
6009
+
6010
+ Permission to use, copy, modify, and distribute this software for any purpose
6011
+ with or without fee is hereby granted, provided that the above copyright
6012
+ notice and this permission notice appear in all copies.
6013
+
6014
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6015
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6016
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
6017
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
6018
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
6019
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
6020
+ OR OTHER DEALINGS IN THE SOFTWARE.
6021
+
6022
+ Except as contained in this notice, the name of a copyright holder shall not
6023
+ be used in advertising or otherwise to promote the sale, use or other dealings
6024
+ in this Software without prior written authorization of the copyright holder.
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onnxruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.7
5
5
  platform: x64-mingw
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-11 00:00:00.000000000 Z
11
+ date: 2023-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 3.4.6
65
+ rubygems_version: 3.4.10
66
66
  signing_key:
67
67
  specification_version: 4
68
68
  summary: High performance scoring engine for ML models