Views
No views yet
torch.compile) — full training in ~2 h on a single RTX A6000.
The training math is bit-identical to a stock FP32 run; only the wall-clock time
changed.config.json — SmolVLAConfig with state_dim=8, action_dim=8.model.safetensors — 450 M-parameter policy (99 M trainable). FP32 master weights.stats.safetensors — per-joint state/action mean & std for normalization at inference time. Required — without it actions are denormalized incorrectly.lerobot/smolvla_basescaled_dot_product_attention) replacing the upstream eager FP32 attention path.| Stack | step/s | Wall time @ 15000 steps |
|---|---|---|
| FP32 baseline (upstream) | 0.52 | 7 h 51 m |
| + BF16 autocast + TF32 + fused AdamW | 1.42 | 2 h 56 m |
| + SDPA attention | 1.60 | 2 h 36 m |
+ torch.compile(mode="default") (this run) | 2.13 | ~2 h |
1from smolvla import SmolVLAPolicy
2from safetensors.torch import load_file as load_safetensors
3
4policy = SmolVLAPolicy.from_pretrained("captainjaseel/smolvla-cube-8dim-v2", strict=False).cuda().eval()
5stats = load_safetensors("stats.safetensors") # download alongside the model
6
7# build a batch (see Robotics_berlin_hack/sim/mujoco_eval.py for the full pattern)
8# normalize state with stats["state_mean"], stats["state_std"]
9# call policy.predict_action_chunk(batch) -> (B, chunk_size, 8) normalized actions
10# un-normalize with stats["action_mean"], stats["action_std"]smolvla Python package lives in norma-core/software/ai/smolvla_py.