Skip to content
Robotics

pi0.5 + FoveaVLA

вставка кабеля с подзадачами

2 min readupdated

Это VLA-политика (модель, которая по кадрам и состоянию робота выдаёт команды манипулятору) для одной операции — вставки кабеля. Она построена на базе lerobot/pi05_base, содержит 4,15 млрд параметров и дообучена в LeRobot 0.6.2 с надстройкой FoveaVLA. От базы отличается тем, что VLM сначала формулирует текущую подзадачу, а action expert действует с учётом неё; для вставки ещё используются кропы с камер. На входе — шесть камер и 25-D состояние, на выходе — 10-D действие чанками по 30 шагов. Пригодится роботистам, которые работают с LeRobot и хотят разобраться в подзадачах и фовеации для точных манипуляций.

Ключевые особенности

  • VLM сначала пишет подзадачу после промпта — например, «grasp the cable with the right hand» или «insert the cable into the control module» — и action expert обусловливается на неё.
  • Шесть камер: d405_left, d405_right, zed_mini и три fovea-вида; состояние 25-D, действие 10-D с chunk 30.
  • Для вставки работает фовеация: на каждом кадре предсказывается бокс камеры на t + 8, а кроп берётся из предыдущего запроса.
  • Действия заданы относительно текущего состояния; абсолютными остаются right_thumb_joint1, right_index_joint2 и right_index_joint3.

Что можно сделать

  • Подключить чекпоинт в LeRobot и прогнать политику на манипуляторе для задачи вставки кабеля.
  • Сравнить с lerobot/pi05_base и оценить, что дают предсказание подзадач и фовеация.
  • Взять как стартовую точку для дообучения на собственных демонстрациях манипуляции.

Пример

import lerobot_policy_pi05_foveavla
from lerobot.policies.factory import make_pre_post_processors
from lerobot_policy_pi05_foveavla import PI05FoveaVLASubtaskPolicy
policy = PI05FoveaVLASubtaskPolicy.from_pretrained("chomeed/first_cable_insertion_uncased_pi05_foveavla_subtask_fullrgb_boxcrop_rel_chunk30_early45f_10k")
live = {"box_provider": lambda: policy.last_box, "subtask_provider": lambda: policy.last_subtask}
pre, post = make_pre_post_processors(policy.config, "chomeed/first_cable_insertion_uncased_pi05_foveavla_subtask_fullrgb_boxcrop_rel_chunk30_early45f_10k", preprocessor_overrides={"pi05_foveavla_subtask_foveal_crop_processor_step": live})
actions = post(policy.predict_action_chunk(pre(observation)))
ПодробнееЧекпоинт: 10 000 из 30 000 optimizer updates (loop step 20 000); train loss 0,141.
Вход: 6 камер и 25-D state; выход: 10-D action, chunk 30. Действия относительные, кроме right_thumb_joint1, right_index_joint2, right_index_joint3.
Обучение: batch 64 effective, AdamW, peak lr 2.5e-05, bf16 autocast, fp32 master weights, gradient checkpointing.
Ограничение: метки подзадач отсутствуют в датасете на Hub — их записывали в локальный training root; статистики лежат в policy_preprocessor_* / policy_postprocessor_*.
Discuss Telegram 0 22

Will it run?

Runs in F32

Fits without quantisation.

  • F32weights 15 GB · ready files17 GB
  • BF16weights 7.7 GB9.0 GB
  • FP8 / INT8recommendedweights 3.9 GB4.7 GB
  • 4-bitweights 2.2 GB2.9 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: FP8 / INT8 — from RTX 2060 · F32 — from RTX 4090

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # chomeed/first_cable_insertion_uncased_pi05_foveavla_subtask_fullrgb_boxcrop_rel_chunk30_early45f_10k
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download chomeed/first_cable_insertion_uncased_pi05_foveavla_subtask_fullrgb_boxcrop_rel_chunk30_early45f_10k --local-dir ~/models/first_cable_insertion_uncased_pi05_foveavla_subtask_fullrgb_boxcrop_rel_chunk30_early45f_10k
    # The model is in ~/models. How to run it is in the model card (link above).
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b40from November 18, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026new release

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

  1. paligemma-3b-pt-224family root
  2. pi05_base
  3. first_cable_insertion_uncased_pi05_foveavla_subtask_fullrgb_boxcrop_rel_chunk30_early45f_10k

New posts about versions of paligemma-3b-pt-224 (quants, finetunes, LoRAs) will show up under the bell.

Fine-tunes 12All on Hugging Face
LoRAs and adapters 12All on Hugging Face

About the model

chomeed/first_cable_insertion_uncased_pi05_foveavla_subtask_fullrgb_boxcrop_rel_chunk30_early45f_10k
Author
chomeed
Category
Robotics
Released
Posted

On NeyroLearn

Hugging Face

220

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments