π0.5 (LIBERO) with Drift and Visual Token Pruning — OpenVINO IR for Intel Core Ultra, optimized by Nota AI
This repository contains the full π0.5 LIBERO policy (vision encoder, language model and action expert) as OpenVINO IR, for the iGPU and NPU of Intel Core Ultra Series 3 (Panther Lake). It includes three models, each exported for two execution paths, six folders in total:
- Drift + VTP K=128 (recommended): 1-step action generation and 128 visual tokens per camera
- Drift: 1-step action generation
- Base: the original
lerobot/pi05_libero_finetuned_v044(10 denoising steps), as the reference
| Folder | Model | Devices | Denoising steps | Prefix tokens | LIBERO-10 success (200 ep.) | Latency per chunk | Energy per chunk |
|---|---|---|---|---|---|---|---|
1a_drift_vtp128_igpu/ | Drift + VTP K=128 | iGPU | 1 | 584 | 92.0 % | 117 ms | 5.7 J |
1b_drift_vtp128_igpu_npu/ | Drift + VTP K=128 | iGPU + NPU | 1 | 584 | 91.0 % | 154 ms | 6.6 J |
2a_drift_igpu/ | Drift | iGPU | 1 | 968 | 94.0 % | 175 ms | 8.7 J |
2b_drift_igpu_npu/ | Drift | iGPU + NPU | 1 | 968 | 96.0 % | 226 ms | 9.6 J |
3a_base_igpu/ | Base | iGPU | 10 | 968 | 95.5 % | 258 ms | 11.8 J |
3b_base_igpu_npu/ | Base | iGPU + NPU | 10 | 968 | 94.0 % | 402 ms | 12.1 J |
- iGPU: one IR, the whole policy on the iGPU.
- iGPU + NPU: vision encoder and language model (prefix) on the iGPU, action expert on the NPU.
- Latency: one action chunk (10 actions) including pre- and post-processing, mean over one real-time LIBERO-10 episode.
- Energy: inference share of SoC package + DRAM energy (simulator power subtracted); see Energy.
1a_drift_vtp128_igpu is the recommended model: compared with Base on the iGPU it is 2.2× faster (117 vs. 258 ms)
and uses 51 % less energy per inference (5.7 vs. 11.8 J), at 92.0 % vs. 95.5 % on LIBERO-10.
What is optimized
1. Model compression (training, Nota AI)
Both compressed checkpoints are fine-tuned by Nota AI from lerobot/pi05_libero_finetuned_v044 on LIBERO (10k steps).
- Drift (1-step action generation). The action expert is trained to generate the action chunk in one step instead
of 10 flow-matching steps. The graph is unchanged;
num_inference_stepsis 1. Checkpoint:geonmin-kim/pi05-Mdrift_cft-Dlibero-step10000. - VTP K=128 (visual token pruning). A small learned sampler after the SigLIP projector (one per camera) selects
128 of the 256 visual tokens per camera with bilinear grid sampling. The prefix of the language model shrinks from
968 to 584 tokens (3 cameras × 128 + 200 language tokens), and the KV cache for the action expert shrinks with it.
Checkpoint (Drift + VTP K=128):
geonmin-kim/pi05-Mdrift_vtp_K128_cft-Dlibero-step10000.
2. OpenVINO export (Nota AI)
- Initial noise as an input (
*_igpu). OpenVINO's ONNX frontend (2026.4) convertsRandomNormalLikeinto a Box-Muller transform that reuses one uniform sample for both terms (sqrt(-2 ln u) · cos(2πu)). The resulting "Gaussian" noise has mean 0.057, std 1.06 and is bounded below at −1.21. We removed this subgraph and exposed the noise as the inputnoise[1, 50, 32], filled by the caller with N(0, 1) samples. This raised LIBERO-10 on the iGPU from 83.5 % to 92.0 % (Drift + VTP K=128) and from 90.5 % to 94.0 % (Drift); Base did not change (95.5 %). - Split export for the NPU (
*_igpu_npu). The policy is exported as two static IRs:prefix.xml(vision encoder and language model, iGPU) anddenoise.xml(one action-expert step, NPU), both FP16, without bf16 operations and without in-graph random sampling. The prefix writes its KV cache in FP16 directly into host memory allocated by the NPU context, so the NPU reads it without an extra copy. The NPU output matches FP32 with cosine similarity 0.99998. - GPU SDPA fusion disabled for
prefix.xml. WithGPU_ENABLE_SDPA_OPTIMIZATIONon (the default), the iGPU gives wrong prefix outputs for this graph on OpenVINO 2026.4.run_example.pysets it toNO.
Accuracy
LIBERO success rate, 20 episodes per task (200 per suite), seed 7, synchronous execution re-planning every 10 actions.
| Model | iGPU | iGPU + NPU | PyTorch reference (NVIDIA B300) |
|---|---|---|---|
| Drift + VTP K=128 | 92.0 % (95 % CI 87.4–95.0) | 91.0 % (86.2–94.2) | 93.6 % |
| Drift | 94.0 % (89.8–96.5) | 96.0 % (92.3–98.0) | 94.8 % |
| Base | 95.5 % (91.7–97.6) | 94.0 % (89.8–96.5) | 95.8 % |
- The PyTorch reference values are from Nota AI's training report (NVIDIA B300); they were not measured on this device.
- Base on all four suites (Spatial / Object / Goal / LIBERO-10): iGPU 97.5 / 99.5 / 97.0 / 95.5 % (mean 97.4 %), iGPU + NPU 98.0 / 99.5 / 97.0 / 94.0 % (mean 97.1 %). The compressed models were evaluated on LIBERO-10 only.
- Base, iGPU + NPU, LIBERO-10 with 50 episodes per task (500 episodes): 93.2 % (95 % CI 90.6–95.1), 2.6 %p below the PyTorch reference. Most of the gap is task 8 (78 %). Module outputs differ from the PyTorch model only as much as PyTorch bf16 differs from FP32; the cause is not identified yet.
Energy
One real-time LIBERO-10 episode (task 4, seed 7) per folder: inference blocks the robot, then each action of the chunk takes 50 ms (20 Hz control). SoC package and DRAM power were sampled every second from the RAPL Energy Meter counters. The simulator alone draws 34.3 W on this device; this share was subtracted to obtain the inference share.
| Folder | Mean latency | Inference energy per chunk | Inference energy per hour of operation |
|---|---|---|---|
1a_drift_vtp128_igpu | 117 ms | 5.7 J | 9.8 Wh |
1b_drift_vtp128_igpu_npu | 154 ms | 6.6 J | 10.3 Wh |
2a_drift_igpu | 175 ms | 8.7 J | 13.3 Wh |
2b_drift_igpu_npu | 226 ms | 9.6 J | 13.7 Wh |
3a_base_igpu | 258 ms | 11.8 J | 16.0 Wh |
3b_base_igpu_npu | 402 ms | 12.1 J | 13.8 Wh |
Moving the action expert to the NPU does not lower the energy per inference: about 70 % of the energy is spent in the
prefix, which runs on the iGPU in both paths, and the NPU (22.5 W SoC power during the action expert) is slower than
the iGPU (27.9 W). The *_igpu_npu folders are useful when the iGPU must stay free for other work during action
generation, for example asynchronous execution (real-time chunking) that overlaps the next prefix with the current
action expert.
Repository layout
run_example.py # loads any folder; latency on example_observation.npz, or LIBERO evaluation
example_observation.npz # one LIBERO-10 observation (task 4, seed 7): 2 images, state, task text
LICENSE_NOTICE.md
checksums.sha256
1a_drift_vtp128_igpu/ 2a_drift_igpu/ 3a_base_igpu/ # iGPU
pi05.xml / .bin # full policy, FP16 weights
tokenizer.xml / .bin # PaliGemma tokenizer (OpenVINO Tokenizers)
manifest.json # pre/post-processing for physicalai.inference
README.md
1b_drift_vtp128_igpu_npu/ 2b_drift_igpu_npu/ 3b_base_igpu_npu/ # iGPU + NPU
prefix.xml / .bin # vision encoder + language model -> KV cache (iGPU)
denoise.xml / .bin # one action-expert step (NPU)
meta.npz # chunk 50, action dim 32, number of steps (1 or 10)
tokenizer.xml / .bin, manifest.json, README.md
Inputs and outputs
*_igpu (pi05.xml), after the pre-processing in manifest.json:
| Name | Shape | Type | Note |
|---|---|---|---|
images | [3, 1, 3, 224, 224] | float32 | agent view, wrist view, empty third camera |
image_masks | [3, 1] | bool | third camera masked |
state | [1, 8] | float32 | normalized robot state (discretized into the prompt by the tokenizer step) |
tokenized_prompt, tokenized_prompt_mask | [1, 200] | int64, bool | task text and state |
noise | [1, 50, 32] | float32 | initial noise, N(0, 1) samples from the caller |
output action | [1, 10, 7] | float32 | normalized; denormalized by the post-processing |
*_igpu_npu:
| IR | Inputs | Outputs |
|---|---|---|
prefix.xml | images, image_masks, tokenized_prompt, tokenized_prompt_mask (as above) | K and V cache [18, 1, 1, P, 256] each, prefix padding mask [1, P]; P = 584 (VTP K=128) or 968 |
denoise.xml | x_t [1, 50, 32], timestep [1], prefix_pad_masks [1, P], past_k, past_v [18, 1, 1, P, 256] | velocity [1, 50, 32] |
Euler update per step: x = x - (1 / steps) · velocity, starting from x ~ N(0, 1) at timestep 1.0
(10 steps 1.0, 0.9, …, 0.1 for Base; one step at 1.0 for Drift). The first 10 actions and 7 dimensions are used.
Usage
pip install "openvino==2026.4.0" "openvino-tokenizers==2026.4.0" numpy
pip install "git+https://github.com/openvinotoolkit/physicalai.git@6a24c1af6855c660db01226d72639963c817f943"
python run_example.py --model-dir 1a_drift_vtp128_igpu # latency, iGPU
python run_example.py --model-dir 1b_drift_vtp128_igpu_npu --runs 30 # latency, iGPU + NPU
python run_example.py --model-dir 1a_drift_vtp128_igpu --libero --suite libero_10 --episodes 2 # LIBERO installed
Minimal integration (iGPU folder):
import numpy as np
from physicalai.inference import InferenceModel
policy = InferenceModel("1a_drift_vtp128_igpu", device="GPU")
rng = np.random.default_rng(0)
policy.preprocessors.append(lambda d: {**d, "noise": rng.standard_normal((1, 50, 32)).astype(np.float32)})
obs = {"task": ["put both the alphabet soup and the tomato sauce in the basket"],
"state": state, # [1, 8] float32
"images": {"image": agent_view, "image2": wrist_view}} # [1, 3, 256, 256] float32 in [0, 1]
action = policy.select_action(obs) # re-plans every 10 actions
For the *_igpu_npu folders, use load_policy() from run_example.py; it replaces the adapter of InferenceModel
with the two-device pipeline.
Measured with run_example.py on example_observation.npz (median of 10 runs, synchronous):
1a 105 ms, 1b 129 ms, 3a 250 ms, 3b 330 ms. Values vary with the iGPU clock and thermal state.
Measurement conditions
- Intel Core Ultra X7 358H (Panther Lake), Intel Arc B390 iGPU, NPU 5, 64 GB LPDDR5-8533, Windows 11 Pro.
- OpenVINO 2026.4.0,
physicalaiat commit6a24c1a, LIBERO viaphysicalai.benchmark.gyms.LiberoBenchmark. - iGPU and NPU compiled with
PERFORMANCE_HINT=LATENCY; prefix withGPU_ENABLE_SDPA_OPTIMIZATION=NO.
Limitations
- Trained and evaluated on LIBERO only (simulation). Not evaluated on a real robot.
- Static shapes: batch 1, three cameras (third one empty) at 224 × 224, 200 prompt tokens, chunk 50, action dimension 32.
- The
*_igpuIRs require thenoiseinput; feeding zeros or non-Gaussian noise lowers the success rate. - The compressed models (Drift, Drift + VTP K=128) score 1.5–3.5 %p below Base on LIBERO-10 on the iGPU.
- Latency and energy are single-episode measurements on one device.
License
The original model lerobot/pi05_libero_finetuned_v044 is released under the Gemma license.
These derived models are distributed under the same terms:
Gemma Terms of Use and
Gemma Prohibited Use Policy.
See LICENSE_NOTICE.md for the source models and the list of modifications.
Acknowledgements and citation
π0.5 by Physical Intelligence (openpi), LeRobot implementation and checkpoints by Hugging Face (lerobot), OpenVINO and physicalai by Intel.
@article{intelligence2025pi05,
title = {$\pi_{0.5}$: a Vision-Language-Action Model with Open-World Generalization},
author = {Physical Intelligence and others},
journal = {arXiv preprint arXiv:2504.16054},
year = {2025}
}
Compression, optimization and packaging: Nota AI.