---
myst:
  html_meta:
    description: "Model card for the FLUX.3 Action DROID robot policy on AWS Trainium with the vLLM Omni Neuron plugin: checkpoints, policy variants, deploy layouts, model_config keys, serving through the OpenPI WebSocket, plan latency and accuracy on Trn2."
    keywords: "FLUX.3 Action, flux-3-action-droid, model card, robot policy, vision-language-action, DROID, OpenPI, vLLM, vLLM Omni, Neuron, Trainium, trn2, BF16, tensor parallelism, context parallelism, CFG parallelism"
    content_type: "model-card"
    date-modified: "2026-11-20"
---

# FLUX.3 Action Model Card

## Introduction

[FLUX.3 Action](https://huggingface.co/black-forest-labs/flux-3-action-droid) is a robot policy from Black Forest Labs trained on the DROID manipulation dataset. For each observation (a wrist camera view, two exterior camera views, the joint and gripper state and a language instruction) it denoises a short video latent and a chunk of 32 future actions of 8 values each (7 joint positions and the gripper). Its components are a Qwen3-VL-4B-Instruct text encoder, a video VAE encoder and a flow-matching DiT.

FLUX.3 Action is supported for inference serving with [vLLM Omni](https://docs.vllm.ai/projects/vllm-omni/en/latest/) using the Neuron SDK on AWS Trainium2 (`trn2`). Actions are served through the OpenPI WebSocket API. An OpenPI policy client connects when it passes the full endpoint URL as its `host`, as in the example under [Serving](#serving).

**Compatible model checkpoints:**

| Component | Hugging Face | Notes |
|-----------|--------------|-------|
| Policy (DiT) | [black-forest-labs/flux-3-action-droid](https://huggingface.co/black-forest-labs/flux-3-action-droid) | `base` at the repository root, `gd` and `sd` under `variants/` |
| Video VAE | [black-forest-labs/flux-3-action-base](https://huggingface.co/black-forest-labs/flux-3-action-base) | Only `video_vae.safetensors` is read |
| Text encoder | [Qwen/Qwen3-VL-4B-Instruct](https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct) | Language model only |

> The Black Forest Labs repositories are gated. Accept the license on Hugging Face and log in with `hf auth login` before the first download.

## Features

| Category | Feature | Status |
|---|---|---|
| **Generation** | DROID observation to a 32 x 8 action chunk | ✅ |
| | Three camera views, or one pre-composed 540 x 640 image | ✅ |
| **Precision** | BF16 | ✅ |
| **Parallelism** | Tensor Parallelism (TP) | ✅ |
| | Context Parallelism (CP, ring attention over the joint sequence) | ✅ |
| | CFG Parallelism (`base` variant) | ✅ |
| **Serving** | OpenPI WebSocket (`/v1/realtime/robot/openpi`) | ✅ |
| | Concurrent requests | Limited |
| **Compilation** | torch.compile | ✅ |

**Status legend:**

- ✅ Supported: integrated and tested for FLUX.3 Action
- Limited: accepted, but concurrent requests run one after another (`max_num_seqs: 1`)

### Policy variants

| Variant | Sampler | DiT passes per plan |
|---|---|---|
| `base` | 4 steps, guidance 4.0 on video and 1.0 on actions | 8 (conditional and unconditional per step) |
| `gd` (guidance-distilled) | 4 steps, no guidance | 4 |
| `sd` (step-distilled) | 1 step, no guidance | 1 |

### Deploy configurations

Each file in [`examples/flux3_action/`](https://github.com/aws-neuron/vllm-omni-neuron/blob/main/examples/flux3_action/) is a complete deploy config for one variant and layout. A Trn2 chip has 4 logical NeuronCores at the default logical core size of 2.

| Deploy config | Variant | Layout | Logical cores (chips) |
|---|---|---|---|
| `flux3_action_base_tp4.yaml` | `base` | TP4 | 4 (1) |
| `flux3_action_base_tp4cfg2.yaml` | `base` | TP4 x CFG2 | 8 (2) |
| `flux3_action_gd_tp4.yaml` | `gd` | TP4 | 4 (1) |
| `flux3_action_gd_tp4cp2.yaml` | `gd` | TP4 x CP2 | 8 (2) |
| `flux3_action_gd_tp8cp2.yaml` | `gd` | TP8 x CP2 | 16 (4) |
| `flux3_action_sd_tp4.yaml` | `sd` | TP4 | 4 (1) |
| `flux3_action_sd_tp4cp2.yaml` | `sd` | TP4 x CP2 | 8 (2) |

CFG parallelism runs the conditional and unconditional passes of `base` on separate TP groups. Context parallelism splits the rows of the joint text, video and action sequence over `ring_degree` ranks; set it with `ring_degree`, not `sequence_parallel_size` (see the [context parallelism design doc](../design/context_parallelism.md#configuration)).

### `model_config` keys

Set these under `stages[0].engine_args.model_config`:

| Key | Default | Meaning |
|---|---|---|
| `variant` | `base` | `base` reads the repository root, any other value reads `variants/<variant>` |
| `text_encoder_path` | `Qwen/Qwen3-VL-4B-Instruct` | Local directory or Hugging Face repository of the text encoder |
| `video_vae_path` | `black-forest-labs/flux-3-action-base` | Directory, repository or file holding `video_vae.safetensors` |
| `policy_server_config` | see the deploy configs | Metadata the OpenPI endpoint sends on connect: `image_resolution`, `n_external_cameras`, `needs_wrist_camera`, `needs_stereo_camera`, `needs_session_id`, `action_space`, `action_horizon`, `action_dim` |
| `num_inference_steps`, `guidance_scale`, `guidance_scale_action`, `sampler_shift`, `inference_seed` | from the variant's `config.json` | Sampler overrides |

## Serving

Download the files of the deploy config's variant into a local directory, and serve that directory. Serving the Hugging Face ID downloads every policy in the repository. For `base`, download `config.json` and `model.safetensors` from the repository root. The [tutorial](../tutorials/tutorial-flux3-action.md) has the full steps. Export the variables under [Environment](#environment), then start the server with a deploy config:

```bash
export MODEL_DIR="$HOME/flux-3-action-droid"
hf download black-forest-labs/flux-3-action-droid \
  config.json variants/gd/config.json variants/gd/model.safetensors \
  --local-dir "$MODEL_DIR"
vllm serve "$MODEL_DIR" --omni \
  --deploy-config examples/flux3_action/flux3_action_gd_tp4cp2.yaml \
  --stage-init-timeout 3600 --init-timeout 3600
```

Startup takes several minutes: the engine's warm-up request compiles the graphs for every prompt of up to 80 tokens, chat template included. A longer prompt compiles its own graphs on first use, so send one such request before timing the policy.

Connect an OpenPI client to the WebSocket endpoint. The server first sends the `policy_server_config` metadata; each observation then returns one `(32, 8)` float32 action chunk:

```python
import numpy as np
from openpi_client.websocket_client_policy import WebsocketClientPolicy

policy = WebsocketClientPolicy(host="ws://localhost:8000/v1/realtime/robot/openpi")
view = np.zeros((360, 640, 3), dtype=np.uint8)
obs = {
    "observation/wrist_image_left": view,
    "observation/exterior_image_1_left": view,
    "observation/exterior_image_2_left": view,
    "observation/joint_position": np.zeros(7, dtype=np.float32),
    "observation/gripper_position": np.zeros(1, dtype=np.float32),
    "prompt": "put the marker in the cup",
}
actions = np.asarray(policy.infer(obs))
```

The three views are RGB `uint8` arrays of one shape, 360 x 640. A client can send one composed `observation/image` of 540 x 640 instead: the wrist view on top and the two exterior views at half size below it.

### Environment

The latency under [Performance](#performance) comes from a benchmark that applies the FLUX.1-dev env profile (`env_profiles.FLUX1_DEV` in `vllm_omni_neuron/env_profiles.py`) before it builds the engine. `vllm serve` and the deploy configs do not apply that profile, so export these variables before you start the server. `NEURON_SCRATCHPAD_PAGE_SIZE` must match the graphs' `--hbm-scratchpad-page-size=2048` compiler flag:

```bash
export NEURON_SCRATCHPAD_PAGE_SIZE=2048
export NEURON_RT_DBG_INTRA_RDH_CHANNEL_BUFFER_SIZE=167772160
export NEURON_RT_DBG_CC_DMA_PACKET_SIZE=2048
export TORCH_NEURONX_NEFF_CACHE_LOCK_TIMEOUT=14400
export TORCH_NEURONX_VOCAB_SHARDING_SPMD_DISABLE=1
export VLLM_NEURON_COMPILATION_TIMEOUT=3600
```

## Performance

Plan latency of the three variants on 2 chips (8 logical NeuronCores at logical core size 2) in BF16, measured on one
`trn2.48xlarge` node through the vLLM Omni engine: after a pass over 16 DROID observations and 10 warm-up plans, 50 timed
plans. *Client* is the wall time of `Omni.generate` for one observation; *forward* is the pipeline's time for the same
request, from the start of observation preparation until the actions are back on the host.

| Variant | Deploy config | Client p50 (s) | Client p90 (s) | Forward p50 (s) |
|---|---|---|---|---|
| `base` | `flux3_action_base_tp4cfg2.yaml` | 0.394 | 0.394 | 0.388 |
| `gd` | `flux3_action_gd_tp4cp2.yaml` | 0.252 | 0.253 | 0.246 |
| `sd` | `flux3_action_sd_tp4cp2.yaml` | 0.083 | 0.084 | 0.078 |

Latency can vary by 10% or more between `trn2.48xlarge` nodes.

## Accuracy

The end-to-end test serves each variant through the vLLM Omni engine and compares the actions for 16 DROID observations with an FP32 CPU reference and a BF16 CPU reference of the same model. It requires the Neuron error against FP32 to stay within the BF16 CPU error (`assert_close_three_way`). All seven deploy configs pass, and a repeated request returns bit-identical actions.

## Known limitations

- **One request at a time.** The stage runs `max_num_seqs: 1`; concurrent OpenPI sessions are served one after another.
- **Logical core size 2 only.** The NKI kernels of the DiT and the text encoder launch at a logical NeuronCore size of 2, the Trn2 default.
- **Trn2 only.** The deploy configs run on `trn2.48xlarge`; Trn3 is not yet validated.

## Tutorials

- [Tutorial: Deploy FLUX.3 Action](../tutorials/tutorial-flux3-action.md): set up, download
  the model, serve a policy variant over the OpenPI WebSocket, and measure plan latency step
  by step.
