onnxslim 0.1.76__py3-none-any.whl → 0.1.78__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- onnxslim/third_party/_sympy/numbers.py +38 -38
- onnxslim/third_party/onnx_graphsurgeon/exporters/onnx_exporter.py +13 -5
- onnxslim/version.py +1 -1
- {onnxslim-0.1.76.dist-info → onnxslim-0.1.78.dist-info}/METADATA +76 -15
- {onnxslim-0.1.76.dist-info → onnxslim-0.1.78.dist-info}/RECORD +10 -10
- {onnxslim-0.1.76.dist-info → onnxslim-0.1.78.dist-info}/WHEEL +0 -0
- {onnxslim-0.1.76.dist-info → onnxslim-0.1.78.dist-info}/entry_points.txt +0 -0
- {onnxslim-0.1.76.dist-info → onnxslim-0.1.78.dist-info}/licenses/LICENSE +0 -0
- {onnxslim-0.1.76.dist-info → onnxslim-0.1.78.dist-info}/top_level.txt +0 -0
- {onnxslim-0.1.76.dist-info → onnxslim-0.1.78.dist-info}/zip-safe +0 -0
|
@@ -11,7 +11,7 @@ from sympy.core.parameters import global_parameters
|
|
|
11
11
|
from sympy.core.singleton import S, Singleton
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
class
|
|
14
|
+
class IntInfinitySlim(Number, metaclass=Singleton):
|
|
15
15
|
r"""
|
|
16
16
|
Positive integer infinite quantity.
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ class IntInfinity(Number, metaclass=Singleton):
|
|
|
20
20
|
sympy's existing notion of infinity in that it reports that
|
|
21
21
|
it is_integer.
|
|
22
22
|
|
|
23
|
-
Infinity is a singleton, and can be accessed by ``S.
|
|
23
|
+
Infinity is a singleton, and can be accessed by ``S.IntInfinitySlim``,
|
|
24
24
|
or can be imported as ``int_oo``.
|
|
25
25
|
"""
|
|
26
26
|
|
|
@@ -65,7 +65,7 @@ class IntInfinity(Number, metaclass=Singleton):
|
|
|
65
65
|
if isinstance(other, Number) and global_parameters.evaluate:
|
|
66
66
|
if other in (S.Infinity, S.NegativeInfinity):
|
|
67
67
|
return other
|
|
68
|
-
if other in (S.
|
|
68
|
+
if other in (S.NegativeIntInfinitySlim, S.NaN):
|
|
69
69
|
return S.NaN
|
|
70
70
|
return self
|
|
71
71
|
return Number.__add__(self, other)
|
|
@@ -79,7 +79,7 @@ class IntInfinity(Number, metaclass=Singleton):
|
|
|
79
79
|
return S.NegativeInfinity
|
|
80
80
|
if other is S.NegativeInfinity:
|
|
81
81
|
return S.Infinity
|
|
82
|
-
if other in (S.
|
|
82
|
+
if other in (S.IntInfinitySlim, S.NaN):
|
|
83
83
|
return S.NaN
|
|
84
84
|
return self
|
|
85
85
|
return Number.__sub__(self, other)
|
|
@@ -95,7 +95,7 @@ class IntInfinity(Number, metaclass=Singleton):
|
|
|
95
95
|
return S.NaN
|
|
96
96
|
if other.is_extended_positive:
|
|
97
97
|
return self
|
|
98
|
-
return S.
|
|
98
|
+
return S.NegativeIntInfinitySlim
|
|
99
99
|
return Number.__mul__(self, other)
|
|
100
100
|
|
|
101
101
|
__rmul__ = __mul__
|
|
@@ -105,9 +105,9 @@ class IntInfinity(Number, metaclass=Singleton):
|
|
|
105
105
|
if isinstance(other, Number) and global_parameters.evaluate:
|
|
106
106
|
if other in (
|
|
107
107
|
S.Infinity,
|
|
108
|
-
S.
|
|
108
|
+
S.IntInfinitySlim,
|
|
109
109
|
S.NegativeInfinity,
|
|
110
|
-
S.
|
|
110
|
+
S.NegativeIntInfinitySlim,
|
|
111
111
|
S.NaN,
|
|
112
112
|
):
|
|
113
113
|
return S.NaN
|
|
@@ -117,14 +117,14 @@ class IntInfinity(Number, metaclass=Singleton):
|
|
|
117
117
|
return Number.__truediv__(self, other)
|
|
118
118
|
|
|
119
119
|
def __abs__(self):
|
|
120
|
-
return S.
|
|
120
|
+
return S.IntInfinitySlim
|
|
121
121
|
|
|
122
122
|
def __neg__(self):
|
|
123
|
-
return S.
|
|
123
|
+
return S.NegativeIntInfinitySlim
|
|
124
124
|
|
|
125
125
|
def _eval_power(self, expt):
|
|
126
126
|
if expt.is_extended_positive:
|
|
127
|
-
return S.
|
|
127
|
+
return S.IntInfinitySlim
|
|
128
128
|
if expt.is_extended_negative:
|
|
129
129
|
return S.Zero
|
|
130
130
|
if expt is S.NaN:
|
|
@@ -151,15 +151,15 @@ class IntInfinity(Number, metaclass=Singleton):
|
|
|
151
151
|
return super().__hash__()
|
|
152
152
|
|
|
153
153
|
def __eq__(self, other):
|
|
154
|
-
return other is S.
|
|
154
|
+
return other is S.IntInfinitySlim
|
|
155
155
|
|
|
156
156
|
def __ne__(self, other):
|
|
157
|
-
return other is not S.
|
|
157
|
+
return other is not S.IntInfinitySlim
|
|
158
158
|
|
|
159
159
|
def __gt__(self, other):
|
|
160
160
|
if other is S.Infinity:
|
|
161
161
|
return sympy.false # sympy.oo > int_oo
|
|
162
|
-
elif other is S.
|
|
162
|
+
elif other is S.IntInfinitySlim:
|
|
163
163
|
return sympy.false # consistency with sympy.oo
|
|
164
164
|
else:
|
|
165
165
|
return sympy.true
|
|
@@ -167,7 +167,7 @@ class IntInfinity(Number, metaclass=Singleton):
|
|
|
167
167
|
def __ge__(self, other):
|
|
168
168
|
if other is S.Infinity:
|
|
169
169
|
return sympy.false # sympy.oo > int_oo
|
|
170
|
-
elif other is S.
|
|
170
|
+
elif other is S.IntInfinitySlim:
|
|
171
171
|
return sympy.true # consistency with sympy.oo
|
|
172
172
|
else:
|
|
173
173
|
return sympy.true
|
|
@@ -175,7 +175,7 @@ class IntInfinity(Number, metaclass=Singleton):
|
|
|
175
175
|
def __lt__(self, other):
|
|
176
176
|
if other is S.Infinity:
|
|
177
177
|
return sympy.true # sympy.oo > int_oo
|
|
178
|
-
elif other is S.
|
|
178
|
+
elif other is S.IntInfinitySlim:
|
|
179
179
|
return sympy.false # consistency with sympy.oo
|
|
180
180
|
else:
|
|
181
181
|
return sympy.false
|
|
@@ -183,7 +183,7 @@ class IntInfinity(Number, metaclass=Singleton):
|
|
|
183
183
|
def __le__(self, other):
|
|
184
184
|
if other is S.Infinity:
|
|
185
185
|
return sympy.true # sympy.oo > int_oo
|
|
186
|
-
elif other is S.
|
|
186
|
+
elif other is S.IntInfinitySlim:
|
|
187
187
|
return sympy.true # consistency with sympy.oo
|
|
188
188
|
else:
|
|
189
189
|
return sympy.false
|
|
@@ -203,10 +203,10 @@ class IntInfinity(Number, metaclass=Singleton):
|
|
|
203
203
|
return self
|
|
204
204
|
|
|
205
205
|
|
|
206
|
-
int_oo = S.
|
|
206
|
+
int_oo = S.IntInfinitySlim
|
|
207
207
|
|
|
208
208
|
|
|
209
|
-
class
|
|
209
|
+
class NegativeIntInfinitySlim(Number, metaclass=Singleton):
|
|
210
210
|
"""
|
|
211
211
|
Negative integer infinite quantity.
|
|
212
212
|
|
|
@@ -216,7 +216,7 @@ class NegativeIntInfinity(Number, metaclass=Singleton):
|
|
|
216
216
|
See Also
|
|
217
217
|
========
|
|
218
218
|
|
|
219
|
-
|
|
219
|
+
IntInfinitySlim
|
|
220
220
|
"""
|
|
221
221
|
|
|
222
222
|
# Ensure we get dispatched to before plain numbers
|
|
@@ -255,7 +255,7 @@ class NegativeIntInfinity(Number, metaclass=Singleton):
|
|
|
255
255
|
if isinstance(other, Number) and global_parameters.evaluate:
|
|
256
256
|
if other is S.Infinity:
|
|
257
257
|
return S.Infinity
|
|
258
|
-
if other in (S.
|
|
258
|
+
if other in (S.IntInfinitySlim, S.NaN):
|
|
259
259
|
return S.NaN
|
|
260
260
|
return self
|
|
261
261
|
return Number.__add__(self, other)
|
|
@@ -267,7 +267,7 @@ class NegativeIntInfinity(Number, metaclass=Singleton):
|
|
|
267
267
|
if isinstance(other, Number) and global_parameters.evaluate:
|
|
268
268
|
if other is S.NegativeInfinity:
|
|
269
269
|
return S.Infinity
|
|
270
|
-
if other in (S.
|
|
270
|
+
if other in (S.NegativeIntInfinitySlim, S.NaN):
|
|
271
271
|
return S.NaN
|
|
272
272
|
return self
|
|
273
273
|
return Number.__sub__(self, other)
|
|
@@ -283,7 +283,7 @@ class NegativeIntInfinity(Number, metaclass=Singleton):
|
|
|
283
283
|
return S.NaN
|
|
284
284
|
if other.is_extended_positive:
|
|
285
285
|
return self
|
|
286
|
-
return S.
|
|
286
|
+
return S.IntInfinitySlim
|
|
287
287
|
return Number.__mul__(self, other)
|
|
288
288
|
|
|
289
289
|
__rmul__ = __mul__
|
|
@@ -293,9 +293,9 @@ class NegativeIntInfinity(Number, metaclass=Singleton):
|
|
|
293
293
|
if isinstance(other, Number) and global_parameters.evaluate:
|
|
294
294
|
if other in (
|
|
295
295
|
S.Infinity,
|
|
296
|
-
S.
|
|
296
|
+
S.IntInfinitySlim,
|
|
297
297
|
S.NegativeInfinity,
|
|
298
|
-
S.
|
|
298
|
+
S.NegativeIntInfinitySlim,
|
|
299
299
|
S.NaN,
|
|
300
300
|
):
|
|
301
301
|
return S.NaN
|
|
@@ -305,10 +305,10 @@ class NegativeIntInfinity(Number, metaclass=Singleton):
|
|
|
305
305
|
return Number.__truediv__(self, other)
|
|
306
306
|
|
|
307
307
|
def __abs__(self):
|
|
308
|
-
return S.
|
|
308
|
+
return S.IntInfinitySlim
|
|
309
309
|
|
|
310
310
|
def __neg__(self):
|
|
311
|
-
return S.
|
|
311
|
+
return S.IntInfinitySlim
|
|
312
312
|
|
|
313
313
|
def _eval_power(self, expt):
|
|
314
314
|
if expt.is_number:
|
|
@@ -316,18 +316,18 @@ class NegativeIntInfinity(Number, metaclass=Singleton):
|
|
|
316
316
|
S.NaN,
|
|
317
317
|
S.Infinity,
|
|
318
318
|
S.NegativeInfinity,
|
|
319
|
-
S.
|
|
320
|
-
S.
|
|
319
|
+
S.IntInfinitySlim,
|
|
320
|
+
S.NegativeIntInfinitySlim,
|
|
321
321
|
):
|
|
322
322
|
return S.NaN
|
|
323
323
|
|
|
324
324
|
if isinstance(expt, sympy.Integer) and expt.is_extended_positive:
|
|
325
325
|
if expt.is_odd:
|
|
326
|
-
return S.
|
|
326
|
+
return S.NegativeIntInfinitySlim
|
|
327
327
|
else:
|
|
328
|
-
return S.
|
|
328
|
+
return S.IntInfinitySlim
|
|
329
329
|
|
|
330
|
-
inf_part = S.
|
|
330
|
+
inf_part = S.IntInfinitySlim**expt
|
|
331
331
|
s_part = S.NegativeOne**expt
|
|
332
332
|
if inf_part == 0 and s_part.is_finite:
|
|
333
333
|
return inf_part
|
|
@@ -342,15 +342,15 @@ class NegativeIntInfinity(Number, metaclass=Singleton):
|
|
|
342
342
|
return super().__hash__()
|
|
343
343
|
|
|
344
344
|
def __eq__(self, other):
|
|
345
|
-
return other is S.
|
|
345
|
+
return other is S.NegativeIntInfinitySlim
|
|
346
346
|
|
|
347
347
|
def __ne__(self, other):
|
|
348
|
-
return other is not S.
|
|
348
|
+
return other is not S.NegativeIntInfinitySlim
|
|
349
349
|
|
|
350
350
|
def __gt__(self, other):
|
|
351
351
|
if other is S.NegativeInfinity:
|
|
352
352
|
return sympy.true # -sympy.oo < -int_oo
|
|
353
|
-
elif other is S.
|
|
353
|
+
elif other is S.NegativeIntInfinitySlim:
|
|
354
354
|
return sympy.false # consistency with sympy.oo
|
|
355
355
|
else:
|
|
356
356
|
return sympy.false
|
|
@@ -358,7 +358,7 @@ class NegativeIntInfinity(Number, metaclass=Singleton):
|
|
|
358
358
|
def __ge__(self, other):
|
|
359
359
|
if other is S.NegativeInfinity:
|
|
360
360
|
return sympy.true # -sympy.oo < -int_oo
|
|
361
|
-
elif other is S.
|
|
361
|
+
elif other is S.NegativeIntInfinitySlim:
|
|
362
362
|
return sympy.true # consistency with sympy.oo
|
|
363
363
|
else:
|
|
364
364
|
return sympy.false
|
|
@@ -366,7 +366,7 @@ class NegativeIntInfinity(Number, metaclass=Singleton):
|
|
|
366
366
|
def __lt__(self, other):
|
|
367
367
|
if other is S.NegativeInfinity:
|
|
368
368
|
return sympy.false # -sympy.oo < -int_oo
|
|
369
|
-
elif other is S.
|
|
369
|
+
elif other is S.NegativeIntInfinitySlim:
|
|
370
370
|
return sympy.false # consistency with sympy.oo
|
|
371
371
|
else:
|
|
372
372
|
return sympy.true
|
|
@@ -374,7 +374,7 @@ class NegativeIntInfinity(Number, metaclass=Singleton):
|
|
|
374
374
|
def __le__(self, other):
|
|
375
375
|
if other is S.NegativeInfinity:
|
|
376
376
|
return sympy.false # -sympy.oo < -int_oo
|
|
377
|
-
elif other is S.
|
|
377
|
+
elif other is S.NegativeIntInfinitySlim:
|
|
378
378
|
return sympy.true # consistency with sympy.oo
|
|
379
379
|
else:
|
|
380
380
|
return sympy.true
|
|
@@ -394,4 +394,4 @@ class NegativeIntInfinity(Number, metaclass=Singleton):
|
|
|
394
394
|
return self
|
|
395
395
|
|
|
396
396
|
def as_powers_dict(self):
|
|
397
|
-
return {S.NegativeOne: 1, S.
|
|
397
|
+
return {S.NegativeOne: 1, S.IntInfinitySlim: 1}
|
|
@@ -21,7 +21,6 @@ from collections.abc import Sequence
|
|
|
21
21
|
|
|
22
22
|
import numpy as np
|
|
23
23
|
import onnx
|
|
24
|
-
import onnx.numpy_helper
|
|
25
24
|
from onnx import IR_VERSION, ModelProto, defs
|
|
26
25
|
|
|
27
26
|
from onnxslim.third_party.onnx_graphsurgeon.exporters.base_exporter import BaseExporter
|
|
@@ -35,9 +34,11 @@ from onnxslim.third_party.onnx_graphsurgeon.ir.tensor import (
|
|
|
35
34
|
Tensor,
|
|
36
35
|
Variable,
|
|
37
36
|
)
|
|
37
|
+
|
|
38
38
|
from onnxslim.third_party.onnx_graphsurgeon.logger import G_LOGGER
|
|
39
39
|
from onnxslim.third_party.onnx_graphsurgeon.util import misc
|
|
40
40
|
|
|
41
|
+
from ml_dtypes import bfloat16, float8_e4m3fn
|
|
41
42
|
|
|
42
43
|
def dtype_to_onnx(dtype: np.dtype | onnx.TensorProto.DataType) -> int:
|
|
43
44
|
"""Converts a numpy dtype or ONNX data type to its integer representation."""
|
|
@@ -86,6 +87,15 @@ def update_import_domains(graph):
|
|
|
86
87
|
return graph.import_domains
|
|
87
88
|
|
|
88
89
|
|
|
90
|
+
def float32_to_bfloat16_uint16(x):
|
|
91
|
+
"""Convert a float32 value to bfloat16 represented as uint16."""
|
|
92
|
+
return bfloat16(x).view(np.uint16)
|
|
93
|
+
|
|
94
|
+
def float32_to_float8e4m3(x):
|
|
95
|
+
"""Convert a float32 value to float8e4m3 represented as uint8."""
|
|
96
|
+
return float8_e4m3fn(x).view(np.uint8)
|
|
97
|
+
|
|
98
|
+
|
|
89
99
|
class NumpyArrayConverter:
|
|
90
100
|
def __init__(self, container, scalar_converter):
|
|
91
101
|
self.func = np.vectorize(scalar_converter, otypes=[container])
|
|
@@ -95,12 +105,10 @@ class NumpyArrayConverter:
|
|
|
95
105
|
|
|
96
106
|
|
|
97
107
|
_NUMPY_ARRAY_CONVERTERS = {
|
|
98
|
-
onnx.TensorProto.BFLOAT16: NumpyArrayConverter(np.uint16,
|
|
108
|
+
onnx.TensorProto.BFLOAT16: NumpyArrayConverter(np.uint16, float32_to_bfloat16_uint16),
|
|
99
109
|
# FP8 in TensorRT supports negative zeros, no infinities
|
|
100
110
|
# See https://onnx.ai/onnx/technical/float8.html#papers
|
|
101
|
-
onnx.TensorProto.FLOAT8E4M3FN: NumpyArrayConverter(
|
|
102
|
-
np.uint8, lambda x: onnx.helper.float32_to_float8e4m3(x, fn=True, uz=False)
|
|
103
|
-
),
|
|
111
|
+
onnx.TensorProto.FLOAT8E4M3FN: NumpyArrayConverter(np.uint8, float32_to_float8e4m3),
|
|
104
112
|
}
|
|
105
113
|
|
|
106
114
|
|
onnxslim/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.78"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: onnxslim
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.78
|
|
4
4
|
Summary: OnnxSlim: A Toolkit to Help Optimize Onnx Model
|
|
5
5
|
Home-page: https://github.com/inisis/OnnxSlim
|
|
6
6
|
Author: inisis
|
|
@@ -61,7 +61,9 @@ Dynamic: summary
|
|
|
61
61
|
|
|
62
62
|
OnnxSlim can help you slim your onnx model, with less operators, but same accuracy, better inference speed.
|
|
63
63
|
|
|
64
|
-
- 🚀 2025/
|
|
64
|
+
- 🚀 2025/11/29: Top 1% on PyPI
|
|
65
|
+
- 🚀 2025/11/27: OnnxSlim is merged into [NVIDIA TensorRT-Model-Optimizer](https://github.com/NVIDIA/TensorRT-Model-Optimizer) 🤗🤗🤗
|
|
66
|
+
- 🚀 2025/05/17: OnnxSlim is merged into [HuggingFace optimum](https://github.com/huggingface/optimum) 🤗🤗🤗
|
|
65
67
|
- 🚀 2025/04/30: Rank 1st in the [AICAS 2025 LLM inference optimization challenge](https://tianchi.aliyun.com/competition/entrance/532289/customize588)
|
|
66
68
|
- 🚀 2025/01/28: Achieved 1M downloads
|
|
67
69
|
- 🚀 2024/06/23: OnnxSlim is merged into [transformers.js](https://github.com/huggingface/transformers.js) 🤗🤗🤗
|
|
@@ -119,19 +121,78 @@ For more usage, see onnxslim -h or refer to our [examples](./examples)
|
|
|
119
121
|
|
|
120
122
|
# Projects using OnnxSlim
|
|
121
123
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
124
|
+
<table style="width:100%; border-collapse:separate; border-spacing:10px;">
|
|
125
|
+
<tr>
|
|
126
|
+
<td style="vertical-align:middle;">
|
|
127
|
+
<img src="https://avatars.githubusercontent.com/u/1728152?s=200&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
128
|
+
<a href="https://github.com/NVIDIA/TensorRT-Model-Optimizer" target="_blank">NVIDIA/TensorRT-Model-Optimizer</a>
|
|
129
|
+
</td>
|
|
130
|
+
<td style="vertical-align:middle;">
|
|
131
|
+
<img src="https://avatars.githubusercontent.com/u/1961952?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
132
|
+
<a href="https://github.com/alibaba/MNN" target="_blank">alibaba/MNN</a>
|
|
133
|
+
</td>
|
|
134
|
+
</tr>
|
|
135
|
+
<tr>
|
|
136
|
+
<td style="vertical-align:middle;">
|
|
137
|
+
<img src="https://avatars.githubusercontent.com/u/26833451?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
138
|
+
<a href="https://github.com/ultralytics/ultralytics" target="_blank">ultralytics/ultralytics</a>
|
|
139
|
+
</td>
|
|
140
|
+
<td style="vertical-align:middle;">
|
|
141
|
+
<img src="https://avatars.githubusercontent.com/u/131524?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
142
|
+
<a href="https://github.com/mozilla/smart_autofill" target="_blank">Mozilla/smart_autofill</a>
|
|
143
|
+
</td>
|
|
144
|
+
</tr>
|
|
145
|
+
<tr>
|
|
146
|
+
<td style="vertical-align:middle;">
|
|
147
|
+
<img src="https://avatars.githubusercontent.com/u/1961952?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
148
|
+
<a href="https://github.com/wangzhaode/mnn-llm" target="_blank">alibaba/MNN-LLM</a>
|
|
149
|
+
</td>
|
|
150
|
+
<td style="vertical-align:middle;">
|
|
151
|
+
<img src="https://avatars.githubusercontent.com/u/25720743?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
152
|
+
<a href="https://github.com/huggingface/transformers.js" target="_blank">huggingface/transformers.js</a>
|
|
153
|
+
</td>
|
|
154
|
+
</tr>
|
|
155
|
+
<tr>
|
|
156
|
+
<td style="vertical-align:middle;">
|
|
157
|
+
<img src="https://avatars.githubusercontent.com/u/25720743?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
158
|
+
<a href="https://github.com/huggingface/optimum" target="_blank">huggingface/optimum</a>
|
|
159
|
+
</td>
|
|
160
|
+
<td style="vertical-align:middle;">
|
|
161
|
+
<img src="https://avatars.githubusercontent.com/u/23534030?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
162
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR" target="_blank">PaddlePaddle/PaddleOCR</a>
|
|
163
|
+
</td>
|
|
164
|
+
</tr>
|
|
165
|
+
<tr>
|
|
166
|
+
<td style="vertical-align:middle;">
|
|
167
|
+
<img src="https://avatars.githubusercontent.com/u/109945100?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
168
|
+
<a href="https://github.com/modelscope/FunASR" target="_blank">ModelScope/FunASR</a>
|
|
169
|
+
</td>
|
|
170
|
+
<td style="vertical-align:middle;">
|
|
171
|
+
<img src="https://avatars.githubusercontent.com/u/111754012?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
172
|
+
<a href="https://github.com/CVCUDA/CV-CUDA" target="_blank">CVCUDA/CV-CUDA</a>
|
|
173
|
+
</td>
|
|
174
|
+
</tr>
|
|
175
|
+
<tr>
|
|
176
|
+
<td style="vertical-align:middle;">
|
|
177
|
+
<img src="https://avatars.githubusercontent.com/u/86091366?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
178
|
+
<a href="https://github.com/THU-MIG/yolov10" target="_blank">THU-MIG/yolov10</a>
|
|
179
|
+
</td>
|
|
180
|
+
<td style="vertical-align:middle;">
|
|
181
|
+
<img src="https://avatars.githubusercontent.com/u/48153283?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
182
|
+
<a href="https://github.com/sunsmarterjie/yolov12" target="_blank">sunsmarterjie/yolov12</a>
|
|
183
|
+
</td>
|
|
184
|
+
</tr>
|
|
185
|
+
<tr>
|
|
186
|
+
<td style="vertical-align:middle;">
|
|
187
|
+
<img src="https://avatars.githubusercontent.com/u/147458884?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
188
|
+
<a href="https://github.com/nndeploy/nndeploy" target="_blank">nndeploy/nndeploy</a>
|
|
189
|
+
</td>
|
|
190
|
+
<td style="vertical-align:middle;">
|
|
191
|
+
<img src="https://avatars.githubusercontent.com/u/126587470?s=48&v=4" width="22" height="22" style="vertical-align:middle; margin-right:8px;"/>
|
|
192
|
+
<a href="https://github.com/deepghs/imgutils" target="_blank">deepghs/imgutils</a>
|
|
193
|
+
</td>
|
|
194
|
+
</tr>
|
|
195
|
+
</table>
|
|
135
196
|
|
|
136
197
|
# References
|
|
137
198
|
|
|
@@ -2,7 +2,7 @@ onnxslim/__init__.py,sha256=ECHGdxzg4b-4SZaPhxM_KulBi-xDbVcVUbpJc8i6a60,571
|
|
|
2
2
|
onnxslim/__main__.py,sha256=FgDcl6xX8kV_52rB-jPVsmGqidlVhkpe_YhXK75-nFU,75
|
|
3
3
|
onnxslim/argparser.py,sha256=pFv3nEZH2BiHO9ejS4Iq5ZuZ3GrpdyRQJypAyR0xF7w,8942
|
|
4
4
|
onnxslim/utils.py,sha256=Z39vRKAtD7o18NFbf3Qrws9xDg81uBJ9F-RYEFAfqM8,28095
|
|
5
|
-
onnxslim/version.py,sha256=
|
|
5
|
+
onnxslim/version.py,sha256=cuUtSYNKagkLSJy-70gTrh1AaSFvZghs1j1tDigeINo,23
|
|
6
6
|
onnxslim/cli/__init__.py,sha256=kxK27cDgWotBOWRs86rbRQf_dtmniKr1GZJeasxfESE,42
|
|
7
7
|
onnxslim/cli/_main.py,sha256=jEKv9q7y_y9g0GsrfXcnk_wyMVej6jhe9QNPChE7yTs,5550
|
|
8
8
|
onnxslim/core/__init__.py,sha256=uDg-Eu29Ezb3txwZf5mN0zQRVuqF-K9BvktE8WBYS4E,8825
|
|
@@ -33,14 +33,14 @@ onnxslim/third_party/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
|
33
33
|
onnxslim/third_party/symbolic_shape_infer.py,sha256=lMqHUSC1c6J3j_cLC5264RxvJrhV8rrephsxE4d-4Zc,152724
|
|
34
34
|
onnxslim/third_party/_sympy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
35
|
onnxslim/third_party/_sympy/functions.py,sha256=s3pKzyjYCKnvlddLFR_H8UmbbcdMB51PRxqhe9zGI9E,8876
|
|
36
|
-
onnxslim/third_party/_sympy/numbers.py,sha256=
|
|
36
|
+
onnxslim/third_party/_sympy/numbers.py,sha256=WOCwRg5JiIfUQCXKAUUuWis8rxdc7LLthUf3Ax1jG8I,11535
|
|
37
37
|
onnxslim/third_party/_sympy/printers.py,sha256=Kv2vpR-YgjCsNxIBKkcHyvEnj_H-gmJqG03Hwh4rWdk,20429
|
|
38
38
|
onnxslim/third_party/_sympy/solve.py,sha256=gcqmluQbAKzIQTTtzsgALguhK8ViRGlVP-CRDcbwP6A,6465
|
|
39
39
|
onnxslim/third_party/_sympy/symbol.py,sha256=aAh52bmsGzRzG3PqS8MNcs3rjTil7Mqt4x3dev6fnKc,3718
|
|
40
40
|
onnxslim/third_party/onnx_graphsurgeon/__init__.py,sha256=hgX680FHJKYEqlgCexdbdM8LfffxDD_GYFEnI7jnE1I,695
|
|
41
41
|
onnxslim/third_party/onnx_graphsurgeon/exporters/__init__.py,sha256=coVGPk31uciLYrpJmsDPypTAXqN7V1GgyNCXPp59KiQ,88
|
|
42
42
|
onnxslim/third_party/onnx_graphsurgeon/exporters/base_exporter.py,sha256=I2dKwwj4m0lsEhR0ngH-huBvsLcL9jh7o2RQGwMz2ik,1150
|
|
43
|
-
onnxslim/third_party/onnx_graphsurgeon/exporters/onnx_exporter.py,sha256=
|
|
43
|
+
onnxslim/third_party/onnx_graphsurgeon/exporters/onnx_exporter.py,sha256=JBbY7bl1b39Hk9j9w2FzC5WZ3NKH6BJR3PyXGT-HTdQ,17551
|
|
44
44
|
onnxslim/third_party/onnx_graphsurgeon/graph_pattern/__init__.py,sha256=4r6nr2YY9eJrJG18Ae-kdW_hSOuNSMFBSYygmS9GT9U,121
|
|
45
45
|
onnxslim/third_party/onnx_graphsurgeon/graph_pattern/graph_pattern.py,sha256=Nn5lkO4JKFRhaF4EPj3xuG15fSt8zvLfRI3w_7XmL_g,20053
|
|
46
46
|
onnxslim/third_party/onnx_graphsurgeon/importers/__init__.py,sha256=ON_tO_sODloL39hhGjE19sz_Cj7KeGnsqPh-JlOPc4k,88
|
|
@@ -56,10 +56,10 @@ onnxslim/third_party/onnx_graphsurgeon/logger/logger.py,sha256=L12rrwn33RHH-2WLv
|
|
|
56
56
|
onnxslim/third_party/onnx_graphsurgeon/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
57
|
onnxslim/third_party/onnx_graphsurgeon/util/exception.py,sha256=KrsHbKEQ4237UbjlODsUzvkXoAY72LZi23ApBeFANWg,786
|
|
58
58
|
onnxslim/third_party/onnx_graphsurgeon/util/misc.py,sha256=kyxInD2SCRLU4wHMeiDEYEHB3871fGks6kQTuF9uATY,8960
|
|
59
|
-
onnxslim-0.1.
|
|
60
|
-
onnxslim-0.1.
|
|
61
|
-
onnxslim-0.1.
|
|
62
|
-
onnxslim-0.1.
|
|
63
|
-
onnxslim-0.1.
|
|
64
|
-
onnxslim-0.1.
|
|
65
|
-
onnxslim-0.1.
|
|
59
|
+
onnxslim-0.1.78.dist-info/licenses/LICENSE,sha256=oHZXw-yrBwdNVGu4JtlZhMgmQHKIZ7BJJlJdhu1HKvI,1062
|
|
60
|
+
onnxslim-0.1.78.dist-info/METADATA,sha256=7eBc8SetzloHc8Q_LhRxApG5ng5hldyJr_qtcAkHuZA,10247
|
|
61
|
+
onnxslim-0.1.78.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
62
|
+
onnxslim-0.1.78.dist-info/entry_points.txt,sha256=O2QgceCVeGeRhnxRSDRcGiFd0ZNfElwrTiRo1W2V7KA,47
|
|
63
|
+
onnxslim-0.1.78.dist-info/top_level.txt,sha256=EWFTb99i0kc6cC9akqNKp88ipzg17_VZzYN7z1kQNlA,9
|
|
64
|
+
onnxslim-0.1.78.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
65
|
+
onnxslim-0.1.78.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|