SONIC-PM01: deterministic robot-reference actor exports

Four Actor exports adapt the NVIDIA GEAR-SONIC G1 reference-tracking branch to EngineAI PM01.

The CPU inference source and examples are maintained in approchin/sonic-pm01.

Included models

Folder under weights/ Dense adaptation scope Global PPO update
a_step_004000 Encoder frozen; control decoder updated 4,000
b_step_004000 Encoder and control decoder updated 4,000
a_step_028000 Encoder frozen; control decoder updated 28,000
b_step_028000 Encoder and control decoder updated 28,000

Each folder includes actor_mean23.onnx, actor_mean23.safetensors, config.json, and manifest.json. Shared contracts describe the observation and action interfaces. These exports contain only the deterministic encoder/FSQ/control-decoder route, approximately 13.9 million learned parameters. They do not include the critic, optimizer, exploration-noise state, motion dataset, online planner, or full training-resume state.

Both A and B trained an actor and an independent critic during PPO. These A/B experiments use dense fine-tuning without LoRA. The decoder is part of the actor. The model outputs 23 raw body-action means; a separate reference-PD path was used for the head in the simulation experiments.

Input and output

Name Type and shape
actor_obs float32 [1,789]
tokenizer float32 [1,541]
mean23 float32 [1,23]

Inputs are already packed native observations. Tokenizer storage is selector1 | q240 | qd240 | orientation60, with canonical selector value 1; the command (10,48) view is not ten interleaved q24/qd24 frames. The actor observation stores grouped ten-step histories followed by nine current-frame link-frame feedback features. See weights/input_contract.json and architecture.

The output is not a torque or absolute joint-angle command. Neural-network loading does not implement hardware state estimation, robot transport or a validated controller. The accompanying simulation postprocessing description must not be silently substituted for a hardware interface.

CPU usage

The companion source tree contains examples/infer_cpu.py, the standalone actor, and requirements-inference.txt. After obtaining a model and your own correctly packed observation arrays:

python -m pip install -r requirements-inference.txt
python examples/infer_cpu.py \
  --model weights/a_step_028000/actor_mean23.onnx \
  --actor-obs actor_obs.npy --tokenizer tokenizer.npy --output mean23.npy

CPU inference explicitly selects ONNX Runtime's CPUExecutionProvider. A separate synthetic shape-check helper is provided; its inputs are not physical references or robot commands. No observation cohort or raw motion files are distributed with the weights.

Numerical export validation

All four candidates were compared against the original PM01 PyTorch actor using the same 695 private inputs (439 historical simulation-observation rows and 256 synthetic rows), one row per batch. Tensor-only PyTorch reloads and ONNX CPU outputs passed the predeclared 1e-5 + 1e-4 * abs(reference) tolerance without widening it. Encoder packing and quantized FSQ features matched exactly. These are numerical-computation checks, not physical tracking tests or evidence of hardware control. See export validation.

Adaptation compute

The original adaptation used one RTX 4090 per variant. The 4k milestones include a parent stage of 1,018 PPO updates followed by 2,982 updates on the expanded 3,950-reference PM01 library: 250 CMU and 3,700 BONES/SEED references. Approximate target-adaptation training-process occupation through step 4,000 was 6.514 GPU hours for A and 6.712 for B. This includes process startup/loading/saving and excludes source SONIC pretraining, evaluation, data preparation and idle time. It is a per-variant estimate, not combined project cost or exact active-kernel time.

No claim of equal tasks, half-budget superiority, or hardware-normalized efficiency relative to Any2Any is made.

Physical simulation evaluation

Fixed population Checkpoint A completion B completion A/B 24-joint RMSE
OMOMO394 + LAFAN106 4,000 485/500 483/500 9.725° / 9.589°
BONES500 4,000 498/500 498/500 7.579° / 8.505°
OMOMO394 + LAFAN106 28,000 485/500 485/500 8.657° / 8.292°
BONES500 28,000 498/500 498/500 6.011° / 5.033°

Completion is finishing the reference under local paper-inspired height/orientation criteria. It is not a tracking-accuracy percentage. The evaluation uses PM01 Isaac/PhysX, one seed (42), fixed first-frame starts, 200 Hz physics and 50 Hz control. The primary rule uses root-height error above 0.25 m, any of 13 tracked-link height errors above 0.30 m, or full root SO(3) angle above 0.8 rad; a secondary interpretation uses squared angle above 0.8 rad². These are not the official Any2Any robot, population or evaluator.

Errors use actual executed prefixes, including failures, with equal clip weights. The selected recordings were excluded from PM01 adaptation, but the fixed populations had previous evaluation exposure. BONES is a same-source-library recording split, with action-family overlap on 431/500 test clips. LAFAN windows are clustered, source SONIC pretraining overlap is unknown, and the OMOMO evaluation tracks the body without object dynamics. The numerical results received same-family, provisional CPU integrity review with scope qualifications. Full results and population definitions are in evaluation and aggregate results.

Intended use

Intended use is school/research-institution non-commercial reference-conditioned control research and simulation evaluation. The exports do not establish robot safety, disturbance robustness, object-interaction ability, autonomous locomotion or jumping stability. See limitations.

Attribution and terms

Built on NVIDIA GEAR-SONIC; adaptation ideas are informed by Any2Any. Model weights retain the NVIDIA Open Model License included in LICENSE. Source implementations retain their separate Apache/MIT notices.

Licensed by NVIDIA Corporation under the NVIDIA Open Model License.

Training data includes Motion Data by Bones Studio. Use of the underlying dataset is subject to the BONES Motion Capture Dataset License Agreement. The project owner confirmed school/research-institution non-commercial research use. Raw motion data, retargeted libraries and private numerical-validation observations are not included. This research model card does not establish unrestricted commercial-use permission from every upstream source. See licensing.

CMU training-data credit: mocap.cs.cmu.edu. The source database was created with funding from NSF EIA-0196217.

Downloads last month

-

Downloads are not tracked for this model. How to track
Video Preview
loading

Model tree for approchin/sonic-pm01

Quantized
(3)
this model