Inference strategies
Select how predicted action chunks are cropped, overlapped, and published.
Inference strategies
The backend controls the wire protocol; the strategy controls how action chunks are scheduled. DEBUG allows switching among the configured strategies.
| Key | Behavior |
|---|---|
sync | Blocking inference followed by execution of the returned chunk. Set execute_horizon to crop it. |
async | Background inference with linear smoothing across overlapping chunks |
naive | Background inference; each new chunk replaces the buffered trajectory |
act | Background inference with temporal ensembling of overlapping predictions |
rtc | Background inference with latency compensation and linear overlap; pair with openpi_rtc for RTC server conditioning |
execute_horizon crops chunks. inference_cfg.inference_rate controls background request frequency (default 3 Hz), while publish_rate controls action publication (default 30 Hz). latency_k controls front trimming for background strategies; exp_weight_m controls ACT ensembling decay. The openpi_rtc backend’s backend_options.latency_k is separate from the strategy’s args.latency_k.
Runtime and outputs
inference_cfg selects observation/action spaces, inference and publish rates, warmup chunks, DEBUG prompts, and maximum DEBUG duration. inference_strategies maps console strategy keys to registered classes and their args; overriding one strategy’s args preserves its inherited class and other settings.
work_dir defaults to work_dirs. When collection schema columns are configured and collection.storage.log_dir is empty, the loader derives it as <work_dir>/<preset_stem>. Deployment presets can set explicit rollout paths. collection controls demonstrations and task sets; rollout controls policy episode recording; eval_cfg.storage controls evaluation recordings. See recording for the dataset layout.
console.initial_tab defaults to "auto" (EVAL for an evaluation config, otherwise DEBUG); presets may choose a workspace explicitly. control_channel.enabled defaults to False, with local host 127.0.0.1 and port 5757. See control channel for automation.