kevinqz commited on
Commit
17c4a61
Β·
verified Β·
1 Parent(s): 4447b1c

coreai-fabric: act-aloha-cube card + license + reports

Browse files
Files changed (2) hide show
  1. README.md +129 -0
  2. parity-report.json +39 -0
README.md ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: lerobot/act_aloha_sim_transfer_cube_human
4
+ pipeline_tag: robotics
5
+ library_name: coreai
6
+ tags:
7
+ - coreai
8
+ - core-ai
9
+ - coreai-fabric
10
+ - aimodel
11
+ - coreml
12
+ - apple
13
+ - apple-silicon
14
+ - on-device
15
+ - robotics
16
+ - vla
17
+ - vision-language-action
18
+ - action
19
+ ---
20
+
21
+ > **Canonical:** [`kevinqz/ACT-Aloha-TransferCube-CoreAI`](https://huggingface.co/kevinqz/ACT-Aloha-TransferCube-CoreAI) β€” source of truth.
22
+
23
+ # ACT ALOHA Transfer-Cube (fabric)
24
+
25
+ > ⚠️ **Robot policy β€” needs a matching robot to actuate.** This is
26
+ > [lerobot/act_aloha_sim_transfer_cube_human](https://huggingface.co/lerobot/act_aloha_sim_transfer_cube_human) converted to an
27
+ > Apple Core AI `.aimodel`. Its output is a **normalized action chunk** for
28
+ > **aloha_bimanual_14dof_sim**. Run it on any other robot, or with mismatched calibration /
29
+ > normalization stats, and it emits floats that *look* valid but **actuate
30
+ > garbage** β€” the most dangerous silent-failure mode. It is a **base checkpoint**:
31
+ > fine-tune on your robot's data before expecting useful behavior.
32
+
33
+ An Apple Core AI conversion of
34
+ [lerobot/act_aloha_sim_transfer_cube_human](https://huggingface.co/lerobot/act_aloha_sim_transfer_cube_human) β€” a **robot policy**
35
+ that maps images + proprioceptive state (+ a language instruction, when the model
36
+ uses one) to a continuous action chunk (act sampler). Produced by
37
+ [coreai-fabric](https://github.com/kevinqz/coreai-fabric/blob/main/recipes/act-aloha-cube.yaml) and indexed by
38
+ [coreai-catalog](https://github.com/kevinqz/coreai-catalog).
39
+
40
+ ## Model facts
41
+
42
+ | Field | Value |
43
+ |---|---|
44
+ | Parameters | 51.6M |
45
+ | Architecture | transformer |
46
+ | Capabilities | robotics |
47
+ | Embodiment | aloha_bimanual_14dof_sim |
48
+ | Sampling | act |
49
+ | Quantization / precision | none / float16 |
50
+ | On-disk size | 131 MB |
51
+ | Asset kind | single-graph policy + norm_stats sidecar |
52
+ | assetVersion | 2.0 |
53
+
54
+
55
+ ## Use it β€” this needs host code you supply
56
+
57
+ A policy is **not** a chat model: there is no stock high-level Swift runtime for
58
+ it. The bundle is the split-export shape β€” an `encode` graph (run once per
59
+ observation) + a `denoise_step` graph (the host drives it `num_steps` times) +
60
+ `norm_stats.json` (un-normalization). **You supply the host loop** (the N-step
61
+ sampler + un-normalization) in Swift. Recommended integration: keep LeRobot's
62
+ Python `RobotClient` for the servos/cameras/calibration, and run inference
63
+ on-device β€” see the `io_contract` in the catalog for the exact tensors.
64
+
65
+ ```bash
66
+ pip install coreai-catalog && coreai-catalog install act-aloha-cube
67
+ ```
68
+
69
+ ## Requirements
70
+
71
+ - **Deployment: macOS 27.0+ / iOS 27.0+, Xcode 27+.** The asset serializes with `minimum_os v27`,
72
+ so the on-device Swift runtime requires macOS/iOS 27+. A Mac on macOS 26 can
73
+ convert and inspect it but not run it on-device.
74
+ - Apple Silicon. A matching robot to actuate (see the banner).
75
+
76
+ ## Verification (action parity)
77
+
78
+ - **Gate A (structure): passed** β€” the bundle's layout + metadata were
79
+ validated on real hardware; the graphs load.
80
+ - **Gate B β€” action_parity: 100.0% min chunk-cosine Β· 0.0 max normalized MAE** vs the fp16 reference over 8 frames of `8 fixed-seed observations (deterministic ACT: the export is exact regardless of input; realistic-episode eval is future work)`, 1-step, fixed-noise (measured on Apple M4 Max).
81
+ - This certifies the export is **numerically faithful to the source policy** β€” it
82
+ does **NOT** certify real-world task success, embodiment transfer, or
83
+ closed-loop stability. Closed-loop success-rate eval (LIBERO/ManiSkill):
84
+ **not_run** (a separate future gate). Reproduce with `coreai-fabric verify`.
85
+
86
+ ## Provenance
87
+
88
+ | Field | Value |
89
+ |---|---|
90
+ | Base model | [lerobot/act_aloha_sim_transfer_cube_human](https://huggingface.co/lerobot/act_aloha_sim_transfer_cube_human) @ `ba73b2766f1371cdc133ca4efb97eb090d744625` |
91
+ | Converted by | `models/act/export.py` (version not reported) |
92
+ | Recipe | [act-aloha-cube](https://github.com/kevinqz/coreai-fabric/blob/main/recipes/act-aloha-cube.yaml) (recipe_source: fabric) |
93
+ | Precision / quantization | float16 / none |
94
+ | Conversion date | 2026-07-04 |
95
+
96
+ Machine-readable, in this repo:
97
+ [`parity-report.json`](./parity-report.json) (gate results) Β·
98
+ [`reproduce-manifest.json`](./reproduce-manifest.json) Β· [`LICENSE`](./LICENSE)
99
+ (upstream terms).
100
+
101
+ ## License and attribution
102
+
103
+ Weights licensed **apache-2.0** β€” see the bundled `LICENSE`. This artifact is a **converted derivative** of the base policy: its
104
+ weights were converted to Apple Core AI format. The conversion itself is
105
+ community work.
106
+
107
+ ## Links
108
+
109
+ - **Base model:** [lerobot/act_aloha_sim_transfer_cube_human](https://huggingface.co/lerobot/act_aloha_sim_transfer_cube_human)
110
+ - **Reproduce:** [recipe `act-aloha-cube`](https://github.com/kevinqz/coreai-fabric/blob/main/recipes/act-aloha-cube.yaml)
111
+ - **Index:** [coreai-catalog](https://github.com/kevinqz/coreai-catalog) β€” the
112
+ neutral registry tying upstream ↔ this asset ↔ mirror together
113
+
114
+
115
+ ## The on-device Core AI ecosystem
116
+
117
+ - [coreai-fabric](https://github.com/kevinqz/coreai-fabric) β€” the reproducible
118
+ recipe β†’ `.aimodel` pipeline that produced this asset.
119
+ - [coreai-catalog](https://github.com/kevinqz/coreai-catalog) β€” the index of Core
120
+ AI models across the community, with provenance and integration snippets.
121
+ - [apple/coreai-models](https://github.com/apple/coreai-models) β€” Apple's official
122
+ exporters and runtimes.
123
+ - [LeRobot](https://huggingface.co/lerobot) β€” the upstream robotics ecosystem.
124
+
125
+ ## Not affiliated with Apple
126
+
127
+ Community conversion. Not produced, hosted, or endorsed by Apple. Apple and Core
128
+ AI are trademarks of Apple Inc., used here only to describe the target
129
+ runtime/format. This is an independent community conversion.
parity-report.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "gate_a": {
3
+ "status": "passed",
4
+ "checks": [
5
+ "bundle_files_present",
6
+ "metadata_json_parses",
7
+ "asset_loads_and_runs"
8
+ ]
9
+ },
10
+ "gate_b": {
11
+ "metric": "action_parity",
12
+ "status": "passed",
13
+ "value": 1.0,
14
+ "min_action_cosine": 1.0,
15
+ "mean_action_cosine": 1.0,
16
+ "mean_cosine_ci95": [
17
+ 1.0,
18
+ 1.0
19
+ ],
20
+ "max_normalized_mae": 0.0,
21
+ "mean_normalized_mae": 0.0,
22
+ "first_action_mae": 0.0,
23
+ "num_steps": 1,
24
+ "reference_dtype": "float16",
25
+ "n_obs": 8,
26
+ "chunk_len": 100,
27
+ "dataset": "8 fixed-seed observations (deterministic ACT: the export is exact regardless of input; realistic-episode eval is future work)",
28
+ "noise_seed": 0,
29
+ "greedy_token_exact": false,
30
+ "runner": "coreai-fabric-parity-runner/0.1.0 (act direct, deterministic)",
31
+ "environment": {
32
+ "chip": "Apple M4 Max",
33
+ "os": "macOS 26.6",
34
+ "coreai_torch": "0.4.1",
35
+ "torch": "2.9.0",
36
+ "lerobot": "0.5.1"
37
+ }
38
+ }
39
+ }