tico 0.1.0.dev250429__py3-none-any.whl → 0.1.0.dev250501__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.
- tico/__init__.py +1 -1
- {tico-0.1.0.dev250429.dist-info → tico-0.1.0.dev250501.dist-info}/METADATA +39 -1
- {tico-0.1.0.dev250429.dist-info → tico-0.1.0.dev250501.dist-info}/RECORD +7 -7
- {tico-0.1.0.dev250429.dist-info → tico-0.1.0.dev250501.dist-info}/LICENSE +0 -0
- {tico-0.1.0.dev250429.dist-info → tico-0.1.0.dev250501.dist-info}/WHEEL +0 -0
- {tico-0.1.0.dev250429.dist-info → tico-0.1.0.dev250501.dist-info}/entry_points.txt +0 -0
- {tico-0.1.0.dev250429.dist-info → tico-0.1.0.dev250501.dist-info}/top_level.txt +0 -0
tico/__init__.py
CHANGED
@@ -22,7 +22,7 @@ from tico.config import CompileConfigV1, get_default_config
|
|
22
22
|
from tico.utils.convert import convert, convert_from_exported_program, convert_from_pt2
|
23
23
|
|
24
24
|
# THIS LINE IS AUTOMATICALLY GENERATED BY setup.py
|
25
|
-
__version__ = '0.1.0.
|
25
|
+
__version__ = '0.1.0.dev250501'
|
26
26
|
|
27
27
|
|
28
28
|
if Version(torch.__version__) < Version("2.5.0"):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tico
|
3
|
-
Version: 0.1.0.
|
3
|
+
Version: 0.1.0.dev250501
|
4
4
|
Summary: Convert exported Torch module to circle
|
5
5
|
Home-page: UNKNOWN
|
6
6
|
License: UNKNOWN
|
@@ -279,6 +279,44 @@ For example, to run a single model
|
|
279
279
|
./ccex test -m InceptionV3
|
280
280
|
```
|
281
281
|
|
282
|
+
#### Runtime Options
|
283
|
+
|
284
|
+
By default, `./ccex test` runs all modules with the `circle-interpreter` engine.
|
285
|
+
You can override this and run tests using the `onert` runtime instead.
|
286
|
+
|
287
|
+
##### 1. Command-Line Flag
|
288
|
+
|
289
|
+
Use the `--runtime` (or `-r`) flag to select a runtime:
|
290
|
+
|
291
|
+
```bash
|
292
|
+
# Run with the default circle-interpreter
|
293
|
+
./ccex test
|
294
|
+
|
295
|
+
# Run all tests with onert
|
296
|
+
./ccex test --runtime onert
|
297
|
+
# or
|
298
|
+
./ccex test -r onert
|
299
|
+
```
|
300
|
+
|
301
|
+
##### 2. Environment Variable
|
302
|
+
|
303
|
+
You can also set the `CCEX_RUNTIME` environment variable:
|
304
|
+
|
305
|
+
```bash
|
306
|
+
# Temporarily override for one command
|
307
|
+
CCEX_RUNTIME=onert ./ccex test
|
308
|
+
|
309
|
+
# Persist in your shell session
|
310
|
+
export CCEX_RUNTIME=onert
|
311
|
+
./ccex test
|
312
|
+
```
|
313
|
+
|
314
|
+
##### Supported Runtimes
|
315
|
+
|
316
|
+
- circle-interpreter (default): uses the Circle interpreter for inference.
|
317
|
+
- onert: uses the ONERT package for inference, useful when the Circle interpreter
|
318
|
+
cannot run a given module.
|
319
|
+
|
282
320
|
### Code Formatting
|
283
321
|
|
284
322
|
#### Format configure
|
@@ -1,4 +1,4 @@
|
|
1
|
-
tico/__init__.py,sha256=
|
1
|
+
tico/__init__.py,sha256=o_eL3k0P69ZQalew3-6kvSWrnOv8hhDO0nbJeDp8HTY,1181
|
2
2
|
tico/pt2_to_circle.py,sha256=PPmFNw20jw2Z2VyM3ln9pX__jTzBOAZiv0gT5a-p-Y8,2666
|
3
3
|
tico/config/__init__.py,sha256=xZzCXjZ84qE-CsBi-dfaL05bqpQ3stKKfTXhnrJRyVs,142
|
4
4
|
tico/config/base.py,sha256=anwOiJFkUxUi7Cef573JgQcjk6S-FSi6O_TLjYASW-g,1244
|
@@ -192,9 +192,9 @@ tico/utils/mx/__init__.py,sha256=IO6FP_xYbGy0dW0HL26GXD3ouxARaxCK7bz9dn4blPQ,26
|
|
192
192
|
tico/utils/mx/elemwise_ops.py,sha256=V6glyAHsVR1joqpsgnNytatCD_ew92xNWZ19UFDoMTA,10281
|
193
193
|
tico/utils/mx/formats.py,sha256=uzNWyu-1onUlwQfX5cZ6fZSUfHMRqorper7_T1k3jfk,3404
|
194
194
|
tico/utils/mx/mx_ops.py,sha256=RcfUTYVi-wilGB2sC35OeARdwDqnixv7dG5iyZ-fQT8,8555
|
195
|
-
tico-0.1.0.
|
196
|
-
tico-0.1.0.
|
197
|
-
tico-0.1.0.
|
198
|
-
tico-0.1.0.
|
199
|
-
tico-0.1.0.
|
200
|
-
tico-0.1.0.
|
195
|
+
tico-0.1.0.dev250501.dist-info/LICENSE,sha256=kp4JLII7bzRhPb0CPD5XTDZMh22BQ7h3k3B7t8TiSbw,12644
|
196
|
+
tico-0.1.0.dev250501.dist-info/METADATA,sha256=1bdTIxy3K3bON31Ubnl85a0tCpw01-Znmis-cnPClp4,8219
|
197
|
+
tico-0.1.0.dev250501.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
198
|
+
tico-0.1.0.dev250501.dist-info/entry_points.txt,sha256=kBKYSS_IYrSXmUYevmmepqIVPScq5vF8ulQRu3I_Zf0,59
|
199
|
+
tico-0.1.0.dev250501.dist-info/top_level.txt,sha256=oqs7UPoNSKZEwqsX8B-KAWdQwfAa7i60pbxW_Jk7P3w,5
|
200
|
+
tico-0.1.0.dev250501.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|