Skip to content
Robotics

pi05-libero-x-level123-lora

LoRA-адаптер для робототехники на базе pi0.5

2 min readupdated

Лёгкий LoRA-адаптер (небольшая надстройка над базовой моделью весом 28 МБ и объёмом 7.03 млн параметров), дообученный для управления роботизированным манипулятором Franka Panda в симуляторе. В основе лежит политика lerobot/pi05_libero (архитектура pi0.5: визуальный энкодер SigLIP, языковая база Gemma 2B и эксперт действий Gemma 300M на базе flow matching), доработанная автором podolinsky с помощью библиотеки LeRobot 0.7.0. В отличие от базовой модели, адаптер обучался на 1 076 демонстрациях по 218 задачам из датасета LIBERO-X (уровни 1–3) и использует нормализацию mean/std вместо квантилей. Подойдёт исследователям VLA-моделей (Vision-Language-Action) и разработчикам робототехники как готовая воспроизводимая база для экспериментов и дальнейшего дообучения.

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

  • Точечная настройка действий: визуальный энкодер и языковая модель заморожены — обучались только 130 модулей эксперта действий (rank 16, alpha 32).
  • Собственная статистика нормализации: в репозиторий уже включены файлы policy_preprocessor* и policy_postprocessor* для корректного масштабирования состояний и 7-мерных действий.
  • Воспроизводимый пайплайн: приложен полный конфиг train_config.json — обучение заняло 1 эпоху (15 500 шагов оптимизатора) на одной RTX 4090 за 8.3 часа.
  • Честный статус чекпоинта: модель опубликована как стартовая точка — она прошла проверку только по падению функции потерь (с ~2.5 до ~0.7) и пока не тестировалась в симуляторе.

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

  • Прогнать оценку в симуляторе LIBERO-X: замерить реальный процент успешного выполнения (success rate) на 218 задачах, чего автор ещё не успел сделать.
  • Продолжить дообучение: использовать этот адаптер как стартовый чекпоинт для дополнительных эпох или адаптации под новые инструкции манипулятора Franka Panda.
  • Изучить отказы VLA-моделей: применить чекпоинт в исследованиях по предсказанию ошибок и калибровке латентных представлений в робототехнике.

Пример

from peft import PeftConfig, PeftModel
from lerobot.configs.policies import PreTrainedConfig
from lerobot.policies.pi05.modeling_pi05 import PI05Policy

adapter = "podolinsky/pi05-libero-x-level123-lora"
config = PreTrainedConfig.from_pretrained(adapter)
base = PI05Policy.from_pretrained(PeftConfig.from_pretrained(adapter).base_model_name_or_path, config=config)
policy = PeftModel.from_pretrained(base, adapter)
ПодробнееДанные: 371 555 кадров, 1 076 эпизодов, 152 уникальные инструкции (218 задач), 2 камеры 256×256.
Обучение: 1 эпоха (92 800 микро-шагов, батч 24), AdamW (lr 1e-4), точность bf16 с torch.compile.
Ограничения: только симуляция Franka Panda; разметка эпизодов велась только по тексту инструкций без учёта сцен; требуется токенизатор google/paligemma-3b-pt-224.
Лицензия: Gemma Terms of Use (датасет LIBERO-X — CC BY 4.0).
Discuss Telegram 0 26

Will it run?

Runs in F32

Fits without quantisation.

  • F32weights 13 GB · ready files15 GB
  • BF16weights 6.8 GB7.9 GB
  • FP8 / INT8recommendedweights 3.4 GB4.2 GB
  • 4-bitweights 1.9 GB2.6 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 5080

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

This is a LoRA: counted together with its base model pi05_libero.

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.

    # podolinsky/pi05-libero-x-level123-lora
    # ===== Tokens: paste yours between the quotes =====
    export HF_TOKEN=""        # huggingface.co/settings/tokens, for gated models
    # ==========================================
    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 lerobot/pi05_libero --local-dir ~/models/pi05_libero
    hf download podolinsky/pi05-libero-x-level123-lora --local-dir ~/models/pi05-libero-x-level123-lora
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to pi05_libero
  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

Requires the base model

lerobot/pi05_libero

This model is a LoRA / adapter. Download the base model first, then load this one on top.

  1. paligemma-3b-pt-224family root
  2. pi05_base
  3. pi05_libero
  4. pi05-libero-x-level123-lora

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

podolinsky/pi05-libero-x-level123-lora
Author
podolinsky
Category
Robotics
Released
Posted

On NeyroLearn

Hugging Face

260

Ask AI about this model

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

Comments