Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 11 min read Deep dive hardMaster

π0 and π0-FAST: Vision-Language-Action Models for General Robot Control

Physical Intelligence's π0 and π0-FAST vision-language-action models are now ported to PyTorch in Hugging Face LeRobot, with commands for inference and fine-tuning. π0 adds state and action tokens to a PaliGemma-style prefix and generates 50Hz action trajectories via flow matching. Its block-sparse attention mask is implemented efficiently with PyTorch FlexAttention using a precomputed block mask rather than score_mod, which runs outside the optimized kernel. π0-FAST is autoregressive and uses the FAST tokenizer, which applies quantile normalization, a per-dimension DCT, scale-and-round, and BPE, claiming 5x faster training than diffusion-based VLAs.

Assumes: transformer attention masksvision-language modelsdiffusion or flow matching basicsrobot control policies

Related posts

  • SmolVLA: Efficient Vision-Language-Action Model trained on Lerobot Community Data

    Hugging Face hardMaster

    SmolVLA is a 450M-parameter open-source vision-language-action model for robotics, pretrained on about 10M frames from 487 curated LeRobot community datasets and able to run on consumer hardware. It pairs a SmolVLM2 backbone with a ~100M flow-matching action expert. Efficiency comes from limiting each frame to 64 visual tokens via PixelShuffle, using features from only the first half of the VLM's layers, and interleaving cross- and self-attention in the action expert. An asynchronous inference stack overlaps action execution with remote chunk prediction, giving about 30% faster response and 2× task throughput, and the model outperforms larger VLAs and ACT on LIBERO, Meta-World and real SO100/SO101 tasks.

  • LeRobot v0.5.0: Scaling Every Dimension

    Hugging Face mediumAdept

    LeRobot v0.5.0 adds full Unitree G1 humanoid support with locomotion, manipulation, teleoperation and whole-body control. It also adds OpenArm, Earth Rover, OMX and CAN-bus motor controllers (RobStride, Damiao). New policies include the autoregressive Pi0-FAST VLA with FAST action tokenization, Real-Time Chunking for more responsive flow-matching inference, Wall-X (Qwen2.5-VL), X-VLA (Florence-2), SARM stage-aware reward modeling, and LoRA/PEFT fine-tuning. Dataset work brings streaming video encoding with no wait between episodes, roughly 10x faster image training and 3x faster encoding. The release also adds EnvHub for loading Gymnasium environments from the Hub and an NVIDIA IsaacLab-Arena integration, and moves to Python 3.12+, Transformers v5 and pip-installable policy plugins.

  • Vision Language Models Explained

    Hugging Face mediumAdept

    Vision language models combine an image encoder, a projector that aligns image features with text embeddings, and a text decoder that generates text from both inputs. LLaVA trains in two stages: first only the projector with the encoder and decoder frozen, then the projector together with an unfrozen decoder. KOSMOS-2 instead trains end to end, and Fuyu-8B skips the image encoder entirely. The guide compares open VLMs by license, size and resolution, explains model selection via Vision Arena, the Open VLM Leaderboard and benchmarks like MMMU and MMBench, then shows inference with transformers' LlavaNext and supervised fine-tuning of Llava 1.5 using TRL's new experimental VLM support in SFTTrainer.

  • Vision Language Models (Better, faster, stronger)

    Hugging Face easyNovice

    Vision language models shifted over the past year toward smaller yet stronger models, any-to-any architectures, multimodal reasoning, Mixture-of-Experts decoders and vision-language-action models for robotics. Specialized capabilities matured: detection, segmentation and counting via localization tokens (PaliGemma, Molmo, Qwen2.5-VL), multimodal safety filters (ShieldGemma 2, Llama Guard 4), and multimodal RAG that skips brittle PDF parsing using DSE or ColBERT-style retrievers such as ColPali. Small models like SmolVLM and gemma-3-4b-it can run locally through MLX and llama.cpp with one-line commands, and MoE decoders trade higher memory for faster inference.

  • nanoVLM: The simplest repository to train your VLM in pure PyTorch

    Hugging Face mediumAdept

    nanoVLM is a minimal, readable pure-PyTorch toolkit for training small Vision Language Models, inspired by nanoGPT and runnable on a free Colab notebook. It pairs a SigLIP vision encoder with a Llama 3-style SmolLM2 decoder, joined by a modality projector made of a pixel shuffle and a linear layer, which cuts the number of image tokens. Training uses two learning rates (a higher one for the freshly initialized projector, a lower one for the pretrained backbones), mixed precision, and cosine decay with warmup, and evaluates on MMStar. A reference model trained for about 6 hours on one H100 with roughly 1.7M Cauldron samples is published for inference via generate.py.

The quest for software engineering knowledge.

Look:
Layout: