Sonic

From nebius/nebius-physical-ai · View interactive version

Sonic is an AI agent skill from the GitHub repository nebius/nebius-physical-ai. Use when working on SONIC whole-body-control training, export, evaluation, serving, GPU routing, validation, or CUDA alignment.

How to use this skill

Skill file

SONIC

When To Use

Use this skill for NVIDIA GEAR-SONIC whole-body-control workbench changes,

including standalone training, export, evaluation, serving, image routing, and

workflow composition with retargeting and native SONIC evaluation. MJLab uses

its own native RSL-RL checkpoints; no automatic SONIC checkpoint adapter is implied.

Procedure

  1. Confirm the current CLI surface before editing:

```bash

npa workbench sonic --help

```

  1. Use train for policy training, export for export artifacts, eval for

evaluation, and serve for runtime serving. Use deploy, status, and

list for operational lifecycle.

  1. Route first-party SONIC images through

npa/src/npa/deploy/sonic_image_manifest.json; do not hardcode image tags in

workflows or docs.

  1. Keep S3 paths run-scoped so retraining and re-evaluation do not overwrite

previous artifacts.

Three-Tier Contract

payloads and tests where possible.

(sonic-train.yaml, sonic-export.yaml, sonic-eval.yaml,

sonic-export-eval.yaml, sonic-locomotion-finetuning.yaml). Submit them with

npa workbench workflow submit. sonic export / sonic eval accept s3://

checkpoints, ONNX policies and outputs, so no staging glue is needed.

Raw SkyPilot coverage for the submit wrapper lives in

npa/tests/fixtures/skypilot/; shipped SONIC workflow authoring stays on the

npa.workflow specs.

Routing And Validation

their built bytes contain restricted NVIDIA payloads; resolvers must reject them.

a digest-pinned Python base and hash-locked CUDA Toolkit/MuJoCo closure. It is

not derived from either quarantined image; release promotion is bound to its

exact clean, GPU-accepted public development digest.

npa/src/npa/deploy/sonic_image_manifest.json is the intended RTX PRO 6000

Kubernetes route, but its recorded public tag is publication-quarantined: it

defaults to root and exposes operator-specific build provenance in OCI

labels. Default resolution must fail until a repaired non-root release is

scanned and accepted. Use only an explicit reviewed immutable replacement;

do not reconstruct or force the withdrawn tag in callers. A B300 validation

image uses the same Dockerfile but must be supplied explicitly by immutable

digest until its own accepted release updates the manifest. B300

is compute capability 10.3: that development image must use the

digest-pinned CUDA 13 base, PyTorch cu130, CUDA 13 NVRTC, and the truthful

sm80-sm90-sm100-sm103-sm120 target contract. The official cu130 PyTorch

wheel exposes Blackwell 10.x family SASS as sm_100; the literal sm_103

requirement applies to CUDA 13 NVRTC JIT compilation on the B300 device.

CUDA 12.8 NVRTC rejects sm_103; do not treat environment startup before

that JIT boundary as B300 training evidence.

consumable for the MuJoCo-only workload. Variant-level resolution must not

let that separate package exempt npa-sonic from quarantine, or let the

npa-sonic quarantine hide the MuJoCo release.

do not silently fall back to the quarantined H100/L40S images.

resolves isaac-render, including explicit manifest variants. The separate

mujoco-eval container entrypoint consumes a checkpoint through

SONIC_EVAL_CHECKPOINT_PATH; it is not a substitute for the ONNX contract.

Image resolution must use the workload at every caller that knows its stage.

Custom workflow --image overrides may select an unpublished runtime without

being attributed to a first-party variant; callers must validate those bytes.

its L40S/H100/H200 images are quarantined, while the active image requires

Kubernetes GPU Operator driver mounts. A serverless run must supply an

independently validated compute-only --image, or fail before provisioning.

Runtime Isaac bootstrap (the container ships no Isaac Sim)

Before an Isaac-backed SONIC run, load

skills/atomic/third-party-eula-preflight/SKILL.md.

The npa-sonic image contains no NVIDIA Isaac Sim or Isaac Lab code. It used to bake

Omniverse Kit, which made it non-redistributable; Isaac is now downloaded on first use of

/isaac-sim/python.sh from https://pypi.nvidia.com, into a cache volume, under the

operator's own EULA acceptance. Full rationale:

docs/workbench/container-packaging.md and skills/atomic/solution-licensing/SKILL.md.

What this changes in practice:

defaults ACCEPT_EULA=Y. Empty, N, NO, 0, FALSE, or

--no-accept-eula exits 78 before download. Y, YES, 1, and TRUE

are accepted case-insensitively; other values are invalid. The launcher derives

OMNI_KIT_ACCEPT_EULA=YES internally; do not expose duplicate user plumbing.

Keep PRIVACY_CONSENT and telemetry off.

the bootstrap shim, and it is what every SkyPilot template, the sim2real engine and the

workbench CLI already use. A bare python3 is the system interpreter and will not

find Isaac.

Isaac into a layer. Build-time work uses the image's own venv python.

of cache. Pre-warm a shared volume once per node/PVC with

npa/docker/workbench/common/warm-isaac-cache.yaml, then run workload pods with

NPA_ISAAC_CACHE_READONLY=1. Otherwise every pod pays it, and 8 GPU pods on a node

download ~36 GB.

isaac-bootstrap verify additionally launches Isaac Sim headless (needs a GPU).

SONIC's entrypoint picks its interpreter per mode: smoke, eval, train,

finetune and serve go through the Isaac bootstrap and therefore need acceptance, while

mujoco-eval and the S3/GPU-proof helpers run on the baked venv and need neither the

download nor the EULA variables. So npa-sonic-mujoco's eval stays fast and offline.

The image also no longer bakes NVIDIA driver userspace libraries: the container runtime

injects the host driver and the Vulkan ICD given NVIDIA_DRIVER_CAPABILITIES=all

(verified on RTX PRO 6000 — vulkaninfo --summary reports the discrete GPU at driver

580.95.05). VK_ICD_FILENAMES is deliberately not pinned.

The image must carry lxml, open3d, and vector_quantize_pytorch in its baked Python

environment. Real training imports the first two while constructing the motion library

and instantiates vector_quantize_pytorch.FSQ while building the actor-critic, although

the pinned upstream training extra declares none of them. Keep the Dockerfile's

build-time import assertions and the one-iteration real fine-tune smoke together; an

import-only SONIC check is not enough.

Gotchas

manifest. Do not assume one image works across VM and Kubernetes targets.

the task directly targets scheduler identity handling.

environment construction on RTX PRO 6000 but can fail in the runtime-fetched

URDF extension while opening /tmp/IsaacLab/.../pelvis.tmp.usd; a same-pod

warm retry reproduced it on 2026-08-03. Do not count native-SASS, imports, or

environment startup as SONIC capability validation: require the checkpoint.

Nebius-blocked item.

Verify

npa/.venv/bin/python -m pytest npa/tests/guardrails/test_skills_index.py -q

The smoke test invokes npa workbench sonic export --help and

npa workbench sonic serve --help so the skill cannot regress to the older

train/eval-only command list.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.