vllm_omni.diffusion.models.pi0.config ¶
Config surface for the π0 (Pi-Zero) VLA model in vllm-omni.
Only the parameters that actually shape runtime behaviour live here; the transformer dimensions (hidden size, head count, ...) are derived from paligemma_variant / action_expert_variant inside the model via get_gemma_config (see modeling_pi0).
The resolver reads the raw LeRobot config.json (the field surface of lerobot.policies.pi0.PI0Config): only the recognized dataclass fields are used; any other keys in the file are ignored.
Pi0Config dataclass ¶
π0 VLA config (dataclass, not an HF PretrainedConfig).
Mirrors the runtime-relevant subset of LeRobot PI0Config plus a couple of serving-side knobs (max_cameras, image_feature_keys, image_key_map, norm_stats).
action_expert_variant class-attribute instance-attribute ¶
action_expert_variant: str = 'gemma_300m'
image_key_map class-attribute instance-attribute ¶
image_resolution class-attribute instance-attribute ¶
input_features class-attribute instance-attribute ¶
output_features class-attribute instance-attribute ¶
from_model_config classmethod ¶
Build from a config dict (LeRobot config.json or deploy yaml).
Keeps only the recognized dataclass fields (the LeRobot config also carries many training-only keys) and coerces image_resolution to a tuple.