tico 0.1.0.dev250429__py3-none-any.whl → 0.1.0.dev250430__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 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.dev250429'
25
+ __version__ = '0.1.0.dev250430'
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.dev250429
3
+ Version: 0.1.0.dev250430
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=VqDTIcftfqxHmepF7PI4HaijESf5C9i2qtOFcdJ9DU8,1181
1
+ tico/__init__.py,sha256=StvTqf0TKZ4F1au-fwXZgmTLvioEma86vK3slU5-frE,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.dev250429.dist-info/LICENSE,sha256=kp4JLII7bzRhPb0CPD5XTDZMh22BQ7h3k3B7t8TiSbw,12644
196
- tico-0.1.0.dev250429.dist-info/METADATA,sha256=9CsjedscOI7c1_UCpwOmht40v6n6h-qTsGowGQ5mawo,7353
197
- tico-0.1.0.dev250429.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
198
- tico-0.1.0.dev250429.dist-info/entry_points.txt,sha256=kBKYSS_IYrSXmUYevmmepqIVPScq5vF8ulQRu3I_Zf0,59
199
- tico-0.1.0.dev250429.dist-info/top_level.txt,sha256=oqs7UPoNSKZEwqsX8B-KAWdQwfAa7i60pbxW_Jk7P3w,5
200
- tico-0.1.0.dev250429.dist-info/RECORD,,
195
+ tico-0.1.0.dev250430.dist-info/LICENSE,sha256=kp4JLII7bzRhPb0CPD5XTDZMh22BQ7h3k3B7t8TiSbw,12644
196
+ tico-0.1.0.dev250430.dist-info/METADATA,sha256=kCPen6R1vLPU3HetWmCgLZgW_H9rAnbwgohHZIKauHM,8219
197
+ tico-0.1.0.dev250430.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
198
+ tico-0.1.0.dev250430.dist-info/entry_points.txt,sha256=kBKYSS_IYrSXmUYevmmepqIVPScq5vF8ulQRu3I_Zf0,59
199
+ tico-0.1.0.dev250430.dist-info/top_level.txt,sha256=oqs7UPoNSKZEwqsX8B-KAWdQwfAa7i60pbxW_Jk7P3w,5
200
+ tico-0.1.0.dev250430.dist-info/RECORD,,