rgpycrumbs.uma.aoti_cache¶
List, inspect and clear the UMA AOTI package cache.
Added in version 1.12.0.
Reads sidecars and the metadata embedded in each .pt2; needs no
torch. Prefer the dispatcher:
rgpycrumbs uma aoti-cache list
rgpycrumbs uma aoti-cache inspect omol-CHN-q0-s1
rgpycrumbs uma aoti-cache clear --partial
rgpycrumbs uma aoti-cache clear --all
inspect exits 1 when a package’s embedded metadata disagrees with
its key. clear skips an entry whose key is locked by a running
prepare-aoti.
Attributes¶
Functions¶
|
|
|
Manage UMA AOTI packages prepared by |
|
One row per package: key fields, size and compile time. |
|
Sidecar and embedded metadata of NAME, checked against its key. |
|
Delete packages named by NAMES, or --all, and/or --partial leftovers. |
Module Contents¶
- rgpycrumbs.uma.aoti_cache._root(cache: pathlib.Path | None) pathlib.Path[source]¶
- rgpycrumbs.uma.aoti_cache.main() None[source]¶
Manage UMA AOTI packages prepared by
rgpycrumbs uma prepare-aoti.
- rgpycrumbs.uma.aoti_cache.list_cmd(cache: pathlib.Path | None, as_json: bool) None[source]¶
One row per package: key fields, size and compile time.