[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111995":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":26,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":30,"discoverSource":31},111995,"praxis-1-oss","runwayml\u002Fpraxis-1-oss","runwayml","Video-action policy for robot arms",null,"Python",126,9,61,2,0,4,15,42,12,62.7,"Apache License 2.0",false,"main",true,[],"2026-11-19 13:28:55","2026-11-23 12:30:33","# Praxis-1\n\n[![Tech report](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTech%20Report-Runway-black)](https:\u002F\u002Frunway.com\u002Fresearch\u002Fpraxis-1-video-pretraining-to-robot-control)\n[![Model on HF](https:\u002F\u002Fhuggingface.co\u002Fdatasets\u002Fhuggingface\u002Fbadges\u002Fresolve\u002Fmain\u002Fmodel-on-hf-md.svg)](https:\u002F\u002Fhuggingface.co\u002Fcollections\u002Frunwayml\u002Fpraxis-1)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-Apache%202.0-blue.svg)](LICENSE)\n[![Python](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpython-%3E%3D3.12-blue.svg)](pyproject.toml)\n\nPraxis is a video-action policy for robot arms. There are two checkpoints of\none model variant: `praxis-1-droid`, the single-arm checkpoint, for a\nsingle-arm robot with an exterior camera and a wrist camera (the DROID rig),\nand `praxis-1-yam`, the bimanual checkpoint, for two YAM arms with a top\ncamera and two wrist cameras (see [Bimanual rig](#bimanual-rig)).\nFor each policy call, the model predicts the next video chunk and the next\naction chunk. The robot then executes the action chunk.\n\nBoth checkpoints also have NVFP4 versions, fine-tuned with quantization-aware\ntraining of the routed experts:\n[`runwayml\u002Fpraxis-1-droid-nvfp4`](https:\u002F\u002Fhuggingface.co\u002Frunwayml\u002Fpraxis-1-droid-nvfp4)\nand [`runwayml\u002Fpraxis-1-yam-nvfp4`](https:\u002F\u002Fhuggingface.co\u002Frunwayml\u002Fpraxis-1-yam-nvfp4)\n(see [Get the weights](#get-the-weights)). For the SO-100 \u002F SO-101 arm there\nare [`runwayml\u002Fpraxis-1-so101`](https:\u002F\u002Fhuggingface.co\u002Frunwayml\u002Fpraxis-1-so101)\nand its NVFP4 version\n[`runwayml\u002Fpraxis-1-so101-nvfp4`](https:\u002F\u002Fhuggingface.co\u002Frunwayml\u002Fpraxis-1-so101-nvfp4)\n(see [SO-101 rig](#so-101-rig)).\n\nThis repository holds the inference code and the instructions to run it. The\ncode needs PyTorch and a few small packages. It does not need any other code\nbase. `praxis\u002Ftrain\u002FREADME.md` tells how to fine-tune `praxis-1-base` for\nyour rig, with DROID as the worked example, and how to adapt `praxis-1-droid`\nto a task with LoRA on one 80 GB GPU. `praxis\u002Fsim\u002FEVAL.md` tells how to measure a checkpoint on the\nsimulated DROID tasks.\n\n## Quick start\n\nClone the repository, install it, download the weights from Hugging Face\nand run the single-arm checkpoint in the simulation. It needs Python 3.12,\none CUDA GPU with at least 80 GB of memory and the CUDA 13.0 driver. Log in\nto Hugging Face once first (`hf auth login`); the `hf` command comes with\n`transformers`, so log in after the install if you don't have it yet. The\ninstall uses [uv](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F): `pip install uv`, or\n`curl -LsSf https:\u002F\u002Fastral.sh\u002Fuv\u002Finstall.sh | sh`.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Frunwayml\u002Fpraxis-1-oss.git praxis-1 && cd praxis-1\nuv venv --python 3.12 .venv && . .venv\u002Fbin\u002Factivate\nuv pip install torch==2.13.0 torchvision==0.28.0 --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu130\nuv pip install packaging ninja wheel\nCAUSAL_CONV1D_FORCE_BUILD=TRUE MAX_JOBS=16 \\\n  uv pip install --no-build-isolation --no-cache causal-conv1d==1.6.1\nuv pip install -e packages\u002Fpraxis-sim -e \".[kernels]\" \"imageio>=2.30\" \"imageio-ffmpeg>=0.4\"   # praxis and praxis-sim from this checkout\nuv pip install \"flash-attn-4[cu13]==4.0.0b36\"\nuv pip install --no-deps nvidia-cudnn-cu13==9.24.0.43   # after every install that resolves torch\n\nhf download Wan-AI\u002FWan2.2-TI2V-5B Wan2.2_VAE.pth --local-dir weights\nhf download Qwen\u002FQwen3.5-2B --local-dir weights\u002FQwen3.5-2B\nhf download runwayml\u002Fpraxis-1-droid --local-dir checkpoints\u002Fpraxis-1-droid\n(cd checkpoints\u002Fpraxis-1-droid && sha256sum -c --quiet SHA256SUMS && echo \"checkpoint OK\")\n\nMUJOCO_GL=egl python scripts\u002Frun_sim.py --config configs\u002Fsim_droid.yaml \\\n  --set task.name=block_in_bowl --set task.prompt=null --set viewer.host=0.0.0.0\n```\n\nThe last command runs three episodes of `block_in_bowl`. A web page on port\n8000 shows each episode live, and the videos go to `outputs\u002Fsim_droid`.\n\"Install\", \"Get the weights\" and \"Simulation\" below give the details.\n\n## What the model does\n\nOne policy call takes these inputs:\n\n- A task string, for example `Put the red block in the bowl.`.\n- The current frame of two cameras: the exterior camera and the wrist\n  camera.\n- The frames of up to three executed chunks (the context).\n- The current pose of the arm: position, orientation and gripper.\n\nOne policy call gives these outputs:\n\n- The robot commands at 15 Hz. The first call of a context window gives\n  21 rows (1.4 s). Each later call gives 24 rows (1.6 s). Each row holds a\n  target pose (`[x, y, z, R_flat9]`, metres, row-major rotation) and a\n  target gripper value.\n- The predicted video of the same time span (6 latents, 21 or 24 frames).\n\n## Model parts\n\n| Part | File | Size | Function |\n|---|---|---|---|\n| Video backbone | `praxis\u002Fbackbone.py`, `praxis\u002Flayers.py` | 14 + 6 transformer blocks | Denoises the video latents. Gives hidden states (\"taps\") to the action expert. |\n| Action expert | `praxis\u002Faction_expert.py` | 16 blocks, dim 1024 | Denoises the actions. Reads the taps through cross-attention. |\n| Video autoencoder | `praxis\u002Fvae.py`, `praxis\u002Fvae_decoder.py` | Wan2.2 VAE | Maps frames to latents and back. Frozen. |\n| Text encoder | `praxis\u002Ftext_encoder.py` | Qwen3.5-2B | Maps the task string to tokens. Frozen. |\n| Sampler | `praxis\u002Fsampler.py` | - | Flow-matching Euler steps from noise to the sample. |\n| Robot input and output | `praxis\u002Fsingle_arm.py`, `praxis\u002Fbimanual.py`, `praxis\u002Frobot_io.py` | - | Camera canvas, pose conversions, normalization, context window, command format, control modes. |\n| Pipeline | `praxis\u002Fmodel.py`, `praxis\u002Fpipeline.py` | - | Connects all parts. |\n\nThe backbone and the action expert share one checkpoint (about 54 GB in\nbfloat16). The autoencoder and the text encoder use their public weights.\n\n## Execution\n\n### Inference optimizations\n\nThe baseline operations are packed SwiGLU, fused decoder modulation, fused VAE\nencoder RMSNorm\u002FSiLU and average pooling, and prompt embedding caching. The\nsampler also skips unused unconditional action\u002Fvideo branches. The\noptimizations below keep the checkpoint, sampler\nrecipe and shared server\u002Fsimulation pipeline. Defaults refer to\n`PraxisPipeline` sessions; lower-level APIs can have different defaults.\n\nThe tables separate [default transformer operations](#default-transformer-and-sampler-optimizations),\n[camera, VAE and text operations](#default-camera-vae-and-text-optimizations),\nand [optional paths](#optional-and-hardware-specific-paths).\n[Thor and architecture selection](#thor-and-architecture-selection) summarizes\nthe hardware guards. An enabled flag still requires compatible inputs.\n\n### Default transformer and sampler optimizations\n\n| Optimization | Baseline behavior | Current default and implementation |\n|---|---|---|\n| Rotary embedding | Separate eager rotation operations | `FUSED_ROPE=True`: one Triton pass with eager FP32 rounding; `layers.py`, `kernels\u002Frope_triton.py`. |\n| Device tables and indices | Repeated table transfers and CPU-built expert indices | `CACHE_DEVICE_TABLES=True`: reuse rotary frequencies and position IDs on the device. Build action-expert tap indices on the device. |\n| Encoder context reuse | Recompute the full window at every Euler step | `session.ctx_cache=True`: cache context K\u002FV and taps within each call and guidance branch; `model.py`, `backbone.py`. Disabled for tracing and NVFP4. |\n| Cached projection shapes | Full-window projections without query slicing | `CTX_FULL_ROWS=True`: preserve full attention-gate and FP32 router GEMM shapes when processing only current queries. `KV_INPLACE=True` updates current K\u002FV rows without concatenation. |\n| Rotary Q\u002FK normalization | RoPE followed by separate RMSNorm calls | `FUSED_ROPE_QK_NORM=None`: fuse supported BF16\u002FFP16 CUDA rotation and normalization, retaining intermediate rounding. |\n| Transformer normalization | Separate residual addition, RMSNorm and layer scaling | `FUSED_NORM=None`: fuse supported BF16 CUDA calls. Reuse versioned affine weights and defer eligible residual additions into the next normalization. |\n| Decoder modulation and normalization | Fused modulation followed by separate normalization | `FUSED_MOD_NORM=True`: combine deferred residual addition, modulation, RMSNorm and layer scaling when supported. |\n| Attention output gate | Separate head merge and gate product | `FUSED_GATE=True`: merge heads and apply the gate in one kernel. |\n| Router input conversion | Widen each FP32 router input chunk | `ROUTER_F32=True`: reuse FP32 rows written by fused normalization. Router GEMM shapes and chunk boundaries stay fixed. |\n| Guided encoder execution | Run conditional and unconditional passes separately | `session.pair_cfg=True`: run encoder blocks in lockstep and share grouped expert-weight reads. `PAIR_BUFFER=True` makes merged feed-forward rows a buffer view. `PAIR_GEMM_CONFIG` fixes grouped-GEMM tiles. |\n| Shared-expert activation | Separate SiLU and product | `SHARED_SILU_MUL=True`: fuse the product after the ordinary shared-expert GEMM. |\n| MoE dispatch and output reduction | PyTorch gather, weighting, inverse permutation, reduction and scaling around grouped GEMMs | Automatic stable Triton dispatch and top-8 combine paths, including chunked FP32 accumulation and shared-output addition; `kernels\u002Flayers_triton.py`. Unsupported calls retain their ordinary path. |\n| Action-expert normalization | Separate RMSNorm\u002FAdaLN tail operations | `FUSED_AE_NORM=True`: fuse supported normalization tails while retaining the eager square\u002Fmean calculation. |\n| Action-expert launch overhead | Eager launches | `action_cuda_graphs=True`: replay validated action-expert graphs on CUDA `window_joint` inference. DiT and VAE remain outside capture. |\n| Expert\u002Fdecoder scheduling | Sequential execution | `session.overlap_expert=True`: guided inference runs the action expert on a side stream beside the video decoder. Tracing disables overlap. |\n| Teacher-forcing predicate | Read five per-token metadata tables | `TF_PACKED_MASK=True`: use one integer role\u002Fchunk code per token. Retain partial\u002Ffull sparse tile lists and traversal. Interval and metadata predicates remain available. |\n| Attention compatibility and plan reuse | Checkpoint-selected attention with the original dispatch | Flash adapters cache converted masks and use compatible sparse block sizes. Unsupported SM110\u002FSM120 Flash layouts fall back to Triton. Per-tower overrides and cuDNN plans are available. |\n| Flash compilation cache | Caller\u002FPyTorch limits | `FLASH_RECOMPILE_LIMIT=64`: raise the process-wide minimum to 64 compiled variants and 1024 accumulated variants. `None` preserves caller limits. |\n\n### Default camera, VAE and text optimizations\n\n| Optimization | Baseline behavior | Current default and implementation |\n|---|---|---|\n| Causal VAE encode deduplication | Encode the current frame, context and anchor separately | `session.state.dedup_encodes=True`: reuse the causal context's first latent as the anchor at depth one and above; `single_arm.py`. |\n| Current-frame preparation | Build a current-frame clip on every call | `LAZY_CURRENT_CLIP=True`: build it only when an encode needs it. Resets, short stacks and stateless calls still build it. |\n| Camera crop\u002Fcopy | CPU preparation before transfer | `TILE_ON_DEVICE=True`: prepare on CUDA only when neither view needs resizing. Other sizes keep CPU resizing to preserve input bytes. |\n| VAE encoder cache storage | Clone causal cache slices | `ENCODER_CACHE_VIEWS=True`: retain views of buffers that will not be overwritten. |\n| VAE encoder casts | Repeat FP16 autocast conversions | `VAE_HOIST_CASTS=True`: cache FP16 convolution weights\u002Fbiases and construct FP16 input chunk buffers. |\n| VAE encoder residual normalization | Separate residual addition and the next normalization | `VAE_FUSED_ADD_NORM=True`: fuse the residual add with the next fixed-setting RMSNorm\u002FSiLU kernel. |\n| VAE RGB decoding | Reference PyTorch decoder | `vae_decoder_impl=\"fused\"`: fused RMSNorm\u002FSiLU, FP16 convolutions, implicit spatial padding and streamed RGB assembly; `vae_decoder.py`. RGB pixels can differ from reference decoding. |\n| VAE decoder cache assembly | Separate history\u002Finput assembly | `fuse_cache_input=True`: one Triton pass assembles causal convolution inputs and history; `kernels\u002Fvae_decoder_cache_triton.py`. |\n| Text-kernel compatibility | Pin preferred FLA settings when available | Keep those fixed settings; use the supported two-stage recurrent-state setting when the preferred three-stage setting is unavailable. H100 retains its existing setting; `text_encoder.py`. |\n\nAutomatic selection checks supported device, dtype, shape, layout, gradients,\nautocast and module hooks where applicable. `None` means automatic selection\nfor `FUSED_NORM`, `FUSED_ROPE_QK_NORM` and `FUSED_MOE_SOLO`. Explicit booleans\noverride selection. Set module switches before warmup and CUDA\nGraph capture. The DiT towers are not compiled as whole modules. Fixed kernel\nsettings retain their specified accumulation and rounding order.\n\nThe fused VAE decoder defaults are `fuse_norm_silu=True`,\n`stream_output=True`, `fuse_cache_input=True`, `compile_decoder=False` and\n`norm_output_dtype=\"float32\"`. They control RGB decoding independently of\nthe transformer and action-expert optimizations.\n\n### Optional and hardware-specific paths\n\nThese paths are separate from the default portable operations above.\n\n| Path or control | Default | Scope |\n|---|---|---|\n| `FUSED_MOE` | `False` | Opt-in paired gather + gate\u002Fup + SwiGLU and combine fusion. Paired encoder execution still works while this flag is off. |\n| `FUSED_MOE_DEC` | `False` | Opt-in fused expert GEMMs outside the pair driver. H100 and B200 policy measurements found regressions. |\n| `FUSED_MOE_SOLO` | `None` | Unchunked combine\u002Fscale\u002Fshared-add fusion on supported CUDA calls except SM90. Inactive for the DROID checkpoint's chunked MoE. |\n| `PAIR_DEC` | `False` | Opt-in: with `session.pair_cfg` and both decoder guidance passes, run the decoder passes block by block in lockstep so each MoE layer reads its routed weights once (`forward_pair`). Bitwise equal to separate passes on Thor (BF16 with `FUSED_MOE`\u002F`CUTE_EXPERTS`, NVFP4 with `PAIR_NVFP4`). Not measured on other GPUs. |\n| `MOE_TAIL_NORM` | `False` | Memory-traffic fusion: a chunked MoE layer driven by the block generator returns its routed tail unevaluated. The next block's fused residual-add\u002Fnorm, or the residual add of a block that does not defer, then does the token combine and shared-expert add in the same kernel (`kernels\u002Fmoe_tail_triton.py`; the ordinary roundings). The BF16 tail (with `FUSED_MOE`\u002F`FUSED_MOE_DEC`) is pure Triton and selectable on every CUDA GPU. It is unmeasured off Thor and showed no gain with Thor BF16. The NVFP4 tails (one-chunk and paired combines) are limited to the SM110 NVFP4 backend and are faster with Thor NVFP4. Other NVFP4 backends keep their own combine. |\n| `ROUTER_FUSED` | `True` on SM100\u002FSM103\u002FSM110 | Requires CuTe DSL. H100, SM120 and other unsupported architectures keep ordinary routing. On supported GPUs, after the ordinary FP32 router GEMM, sigmoid, bias, top-8, gates and the expert-dispatch metadata run as one barrier-free CuTe DSL kernel pair (`kernels\u002Frouter_fused.py`) instead of about ten PyTorch ops per MoE layer. Bitwise with the pinned torch: it reproduces `torch.topk` tie order and the gate-sum order, so a torch upgrade needs the `ROUTER_FUSED_AUDIT` replay audit rerun. |\n| `MOD_COMPACT` | `True` | Portable (torch + Triton): the decoder keeps its per-token conditioning as distinct rows (registers plus one row per conditioning token instead of each repeated per patch), runs each block's modulator GEMM on those rows (4x fewer rows for DROID), and the fused modulation-norm kernels read the shift\u002Fscale row of each token by index. Bitwise by construction (each GEMM row depends only on its own input); other consumers get the expanded tensors. Tested bytewise on H100 and Thor. |\n| `action_expert.FUSED_KV_SOURCE` | `True` for supported CUDA inputs | Portable Triton: the action expert's cross-attention KV source `(rms_norm(tap) * tap_norm_scale).to(dtype)` runs its widen, rstd product, cast, weight product and cast as one kernel after the eager mean of squares (`norm_triton.rms_scale`). Tested bytewise on H100 and Thor. `FUSED_AE_NORM` (default on) covers the other action-expert norms. |\n| `ENC_GATE_UP_AUTO`, `DEC_GATE_UP_CONFIG`, `DEC_DOWN_CONFIG` | Fixed tuning enabled\u002Fconfigured | Row-count-based encoder tiles and measured decoder tiles. These apply when the corresponding fused expert path is selected. They do not independently enable it. |\n| `routed_precision=\"nvfp4\"` | Off; BF16 remains default | Native routed-expert NVFP4 on SM100\u002FSM103, SM110 and SM120. Dense layers and the action expert retain checkpoint dtypes. H100 rejects this mode. |\n| `nvfp4_cache` | No disk cache | Reuse validated CPU-packed expert weights instead of repacking at startup. GPU execution retains no BF16 routed-weight masters. |\n| `praxis.kernels.nvfp4.QUANT_WIDE` | `True` within NVFP4 | Fixed 64-row packing tiles and eight warps for the native packing kernel. This is separate from the SM110 experiment with the same short name. |\n| `praxis.quantization.nvfp4.FUSED_NVFP4` | `True` within compatible NVFP4 backends | Fuse rescaling, SwiGLU, amax and output preparation where supported. SM100\u002FSM103 retain their native fusion paths; SM110\u002FSM120 use compatible elementwise stages. |\n| `praxis.quantization.nvfp4.PAIR_NVFP4` | `True` where compatible | Paired CFG dispatch requires the SM110 scale layout. Other backends retain ordinary dispatch. NVFP4 context caching stays disabled. |\n| `CUTE_DENSE_FFN` | `False` | Memory-traffic fusion for tcgen05 GPUs (SM100\u002FSM103\u002FSM110; needs Quack): the dense SwiGLU gate\u002Fup GEMM applies SiLU and the product in its epilogue, so the gate\u002Fup outputs never reach memory; down stays cuBLAS. Rows dispatch through a per-architecture table in `kernels\u002Fcute_dense.py`. Only SM110 has a measured table (bitwise; faster at 256 to 17,480 rows); SM100\u002FSM103 run the ordinary ops until `scripts\u002Ftune_cute_dense.py` builds theirs. SM90 and SM120 are not selected. |\n| `nvfp4_sm110.NATIVE_E2M1` | `False` | Thor-specific (SM110 NVFP4 backend): the quantize kernels pack FP4 codes with the hardware E2M1 conversion, as the native SM100\u002FSM120 packing kernel does, instead of seven threshold compares. Same codes for every float32 input. |\n| `CUTE_EXPERTS`, `SHARED_QUACK`, `ROUTED_QUACK_DOWN` | `False` | Thor-specific CuTe expert GEMMs, guarded for SM110 and loaded with optional dependencies. |\n| `single_arm.TILE_U8_PINNED` | `True` | Portable: when tiles are resized on the CPU for a CUDA device, write the uint8 tiles into a persistent pinned canvas, copy it non-blocking and convert to FP32 on the GPU (exact; same values, dtype and strides). Faster on Thor, partly through less shared-DRAM contention; not measured on discrete GPUs. |\n| `THOR_TILE_RESIZE`, `TILE_ON_DEVICE_ANTIALIAS` | `False` | Explicit Thor GPU-resize experiments. The default crop\u002Fcopy path avoids GPU resizing. |\n| `nvfp4_sm110.EPI_SWIGLU`, `ZERO_PAD_ONLY`, `QUANT_WIDE` | `False` | Thor-specific epilogue, padding-only initialization and quantization-tile experiments. |\n| `praxis.attention.SM110_FLASH_MASK_256`, `praxis.backbone.SM110_INTERVAL_MASK` | `True` \u002F `False` | Thor only (`is_thor`). The first selects 256-row Flash masks on SM110 (`False`: 128-row masks and the Triton fallback). The second selects the interval predicate for Thor Flash masks. FA4 on Thor changes action and latent bits relative to Triton attention. |\n| Per-tower attention overrides | The checkpoint's backend (Flash in the released checkpoints) | Select Triton or opt-in cuDNN independently for encoder and decoder. Switching attention backend can change action and latent bits. |\n| `skip_last_video` (`session.skip_video_decoder` in configs) | Off in `PraxisPipeline.session`; on in the serve configs and the benchmark | Skips the video decoder of the last Euler step, and its unguided pass when action guidance is 1.0. Actions and commands keep their bits, but no predicted video latent is returned. Keep it off when latents are required. |\n| Decoder-step compilation \u002F BF16 norm history | Off \u002F FP32 history | `compile_decoder=True` and `norm_output_dtype=\"bfloat16\"` are explicit decoder experiments. Validate RGB behavior separately. |\n| Historical bimanual CUDA Graph helper | Off | `pipe.enable_cuda_graphs()` captures the unguided bimanual `chunk` path. It is separate from the default action-expert graphs. |\n\nTuning or validating an opt-in fusion on a new GPU: first compare action, command\nand predicted-latent bytes of the full policy with the flag off and on, using\nfixed inputs and the same GPU. Then compare policy latency. For\n`CUTE_DENSE_FFN`, run `python scripts\u002Ftune_cute_dense.py OUT [--ckpt DIR]` on that\nGPU. It checks each candidate configuration bitwise against the eager module, times\nit, and prints the `GATE_UP_TABLES` entry to add to `kernels\u002Fcute_dense.py`.\n\n### Thor and architecture selection\n\nSeveral portable optimizations were adapted from the Thor work: paired CFG\nexecution, fused normalization and rotary normalization, attention gating,\nKV updates, FP32 router inputs, shared-expert activation, VAE cache\u002Fcast\nreuse, lazy clips and action-expert normalization. They now use the shared\ninput-compatibility guards. Their origin does not restrict them to SM110.\nPortable source comments describe the operation; Thor labels identify the\nretained device-specific implementations.\n\nThe following table describes the current dispatch rules. It is not a\nperformance or bitwise-parity result for every listed architecture.\n\n| Path | SM90 (H100) | SM100\u002FSM103 | SM110 (Thor) | SM120 |\n|---|---|---|---|---|\n| Portable BF16 normalization, rotary and elementwise fusions | Automatic when supported | Automatic when supported | Automatic when supported | Automatic when supported |\n| `FUSED_MOE`, `FUSED_MOE_DEC` | Off | Off | Off | Off |\n| `FUSED_MOE_SOLO=None` | Off | Eligible unchunked calls | Eligible unchunked calls | Eligible unchunked calls |\n| Native NVFP4, when explicitly requested | Unsupported | FlashInfer SM100 backend | Quack SM110 backend | FlashInfer SM120 backend |\n| Paired NVFP4 dispatch | Unavailable | Ordinary per-pass dispatch | Paired when compatible | Ordinary per-pass dispatch |\n| Native packing `nvfp4.QUANT_WIDE=True` | Not used | Wider tiles | Separate SM110 packing path | Wider tiles |\n| Retained CuTe BF16 expert variants | Not selected | Not selected | Explicit opt-in; off by default | Not selected |\n| GPU resize experiments | Not selected | Not selected | Explicit opt-in; off by default | Not selected |\n| `CUTE_DENSE_FFN` (opt-in) | Not selected | Selectable; no table, ordinary ops | Measured table | Not selected |\n| `MOE_TAIL_NORM` (opt-in) | BF16 tail | BF16 tail | BF16 and NVFP4 tails | BF16 tail |\n| Requested Flash attention | Flash | Flash with compatible 256-row tiles | Flash with a compatible mask block size divisible by 256; otherwise Triton | Triton fallback |\n\n`praxis.hardware.is_thor` matches capability `(11, 0)` exactly.\nThe SM110 NVFP4 backend retains its own scale layout and grouped GEMMs.\n`PAIR_NVFP4=True` therefore does not enable paired quantized dispatch on\nSM100\u002FSM103 or SM120. All NVFP4 backends disable encoder context caching.\n\nThe two packing switches have different scopes:\n\n- `praxis.kernels.nvfp4.QUANT_WIDE=True` selects the default native packing\n  tiles on the SM100\u002FSM103 and SM120 paths.\n- `praxis.kernels.nvfp4_sm110.QUANT_WIDE=False` leaves the Thor tile experiment\n  off. `ZERO_PAD_ONLY` and `EPI_SWIGLU` in that module also remain off.\n\nFor native NVFP4 on Thor, install both optional extras:\n\n```bash\nuv pip install -e '.[nvfp4,thor]'\n```\n\nThe `thor` extra supplies Quack for the SM110 backend and optional CuTe BF16\nexperiments. Ordinary BF16 inference on H100 and B200 does not load those\noptional kernels. No separate optimization profile is needed.\n`SHARED_QUACK_MIN_ROWS=2048` limits the optional shared-expert CuTe path to\nlarger inputs. Smaller inputs retain the ordinary shared-expert path.\n\nNew measurement tools include `scripts\u002Fbenchmark_inference.py` and\n`python -m praxis.serve.latency`.\n`PRAXIS_NVTX=1` enables detailed ranges from `praxis\u002Fnvtx.py`; they are off by\ndefault. Stage timing synchronizes the GPU and can reduce overlap, so stage\ngains must not be added to predict ordinary policy latency.\n\n### Numerical agreement\n\nBitwise checks compare action tensors, predicted video latents and decoded\ncommands. They are separate from decoded RGB comparisons. Native NVFP4,\nattention-backend changes and optional experiments do not imply bitwise\nagreement with the BF16 reference. Use matching weights, inputs, seeds, packages,\nsettings and GPU, with the precision mode held fixed.\n\nA flag being enabled does not establish a speedup on every architecture.\n\n### VAE decoder behavior\n\nThe VAE uses a fused encoder and decoder by default. The decoder combines\nRMSNorm and SiLU, uses FP16 convolutions with implicit spatial padding, and\nwrites decoded chunks directly into the RGB output buffer. Checkpoint weights\nand the network architecture are unchanged.\n\nThe FP16 decoder also assembles causal convolution inputs and cache history\nin one Triton pass by default. Disable this with\n`pipe.vae.enable_fused_decoder(fuse_cache_input=False)`.\nThis can change decoded RGB pixels. A comparison with fusion disabled used\nthe same single-arm inputs and seeds at context depths zero through three.\nActions, video latents and commands stayed byte-identical. RGB mean absolute\nerror was 0.131 on the 0–255 scale, with a maximum difference of 4.\n\nSelect the decoder when constructing the pipeline:\n\n```python\nfrom praxis.pipeline import PraxisPipeline\n\npipe = PraxisPipeline(\n    checkpoint=\"checkpoints\u002Fpraxis-1-droid\",\n    vae_weights=\"weights\u002FWan2.2_VAE.pth\",\n    text_encoder=\"weights\u002FQwen3.5-2B\",\n    vae_decoder_impl=\"fused\",  # default; alternative: \"reference\"\n)\n```\n\n`PRAXIS_VAE_DECODER_IMPL=fused|reference` selects the mode when no explicit\nargument is supplied. Standalone `Autoencoder` construction accepts the same\nmodes through `decoder_impl`. Fused decoding changes numerical results;\nvalidate it on representative inputs when reference parity matters.\n\nThe fused decoder uses FP16 convolutions and requires no native extension.\nEnable decoder-step compilation with\n`pipe.vae.enable_fused_decoder(compile_decoder=True)`.\n\n### CUDA Graph configuration\n\nAction-expert CUDA Graphs are enabled by default on the current CUDA\n`window_joint` pipeline. CPU execution and historical sampler layouts retain\ntheir existing paths. Disable action graphs with\n`PraxisPipeline(..., action_cuda_graphs=False)` or set\n`model.action_cuda_graphs: false` in an inference, server or sim config.\nFor example, benchmark the default graph path with:\n\n```bash\npython scripts\u002Fbenchmark_inference.py --config configs\u002Fserve_droid.yaml\n```\n\nThis option captures `ActionExpert.forward_trunk_rope`. Tensor inputs are copied\ninto stable buffers on every replay. The sampler still prepares its inputs and\nruns the DiT, text encoder and VAE directly. Guided sampling retains its expert\nside stream. Stream events protect graph buffers between policy calls. Each\ngraph owns its memory pool, and replay returns independent output tensors.\n\nCapture is lazy for each context depth, prompt length, dtype and execution mode.\nThe default cache holds at most eight shapes; further shapes run eagerly, with\none warning and an `eager` count in the pool's `stats()`. Capture warms the\nexpert three times and checks output bytes against eager execution. It raises\non changed bits or an unsupported shape after freezing. To set the cache limit\nor freeze it after application warmup, construct the pipeline with\n`action_cuda_graphs=False`, then use\n`pipe.enable_action_cuda_graphs(max_graphs=16)` and call the returned pool's\n`freeze()`.\nKeep weights and model settings fixed after capture. Concurrent host calls are\nrejected. Graph capture adds startup time and GPU memory use.\nThe first Flash attention call raises Dynamo's process-wide `recompile_limit`\nto at least 64 and `accumulated_recompile_limit` to at least 1024.\nThis retains compiled variants for the policy's context depths and guidance modes.\nSet `praxis.attention.FLASH_RECOMPILE_LIMIT` before the first Flash call to\nchange this minimum. Set it to `None` to retain the caller's limits.\nHigher existing limits are preserved. Other attention backends do not set them.\n\nThe retained `pipe.enable_cuda_graphs()` helper supports only the historical\nbimanual chunk path. It rejects the current single-arm pipeline. It captures text and action-expert stages. DiT and VAE encoding\nand decoding execute directly, outside CUDA Graphs. Warm all intended shapes under\n`torch.inference_mode()`, then call the returned pool's `freeze()` to reject\nnew shapes. Recreate graphs after changing captured model settings or weights.\nThe pool validates replay against the same execution path and returns\nindependent output tensors.\n\n## Optional routed NVFP4 inference\n\nThe same codebase supports native BF16 on H100, B200 and B300. The `nvfp4` extra\nadds opt-in NVFP4 for SM100\u002FSM103 GPUs, including B200 and B300, and SM120 GPUs such\nas RTX 5090. H100 uses BF16. An explicit NVFP4 request on H100 raises before\npacking or transferring weights.\n\nThe SM110 NVFP4 backend is selected only on Thor. Its backend and the\noptional CuTe expert paths retain their hardware guards.\n\nNative BF16 on B200 uses the standard `configs\u002Fserve_droid.yaml` defaults.\nNo separate optimization profile is required.\n\nNVFP4 packs only the routed MoE experts.\nDense layers, shared experts, routers, modulation, the action\nexpert, the VAE and the text encoder keep their checkpoint dtypes. Router\nscores and the routed output accumulation retain the source FP32 operations.\n\nInstall `uv pip install -e '.[nvfp4]'` in the CUDA 13 environment described under Install.\nSet `model.routed_precision: nvfp4` in the config of `scripts\u002Frun_inference.py`\nor of the policy server (`--set model.routed_precision=nvfp4`), or pass\n`routed_precision=\"nvfp4\"` to `PraxisPipeline`. The default remains BF16.\nLoading packs one expert bank at a time on the CPU and retains no BF16 expert\nmasters on the GPU. `model.nvfp4_cache` (or `nvfp4_cache`) optionally stores\nchecked packed weights.\n\nFor example, download the NVFP4-QAT checkpoint and run the server with a\nreusable packed-weight cache:\n\n```bash\nhf download runwayml\u002Fpraxis-1-droid-nvfp4 --local-dir checkpoints\u002Fpraxis-1-droid-nvfp4\npython -m praxis.serve --config configs\u002Fserve_droid.yaml \\\n    --set model.checkpoint=checkpoints\u002Fpraxis-1-droid-nvfp4 \\\n    --set model.routed_precision=nvfp4 \\\n    --set model.nvfp4_cache=outputs\u002Fnvfp4-cache\n```\n\nSM100\u002FSM103 uses FlashInfer's contiguous grouped GEMM with deterministic\nidentity finalization. Praxis retains its own BF16 rescaling, SwiGLU and FP32\nrouted reduction. SM120 uses FlashInfer's SM120 grouped GEMM backend.\nBF16 works without installing the `nvfp4` extra.\n\nWeights and activations are rounded with the recipe of the NVFP4 QAT training\nforward: one global scale per expert matrix (weights) and per expert's rows\nin each dispatch chunk (activations), both `amax \u002F 2688`. The packed cache\nchecks the source tensor bytes, packed shapes and packed checksums before reuse.\n\nFlash attention uses 256-row sparse mask tiles on SM100\u002FSM103 and retains\n128-row tiles on H100. This selection is shared by serving, simulation, and\nrecorded inference.\nFlashAttention-4 block sparsity cannot run on SM120, so attention uses the\nTriton backend of `praxis\u002Flayers.py` on that device. The text encoder pins the\nsupported two-stage FLA recurrent kernel when the three-stage setting is\nunavailable.\n\nThis option changes the action outputs. The bitwise agreement of the native\npath does not apply to quantized inference.\n\n**Accuracy.** This option changes the actions, and has not been run in closed\nloop on an SM120 GPU yet. The released single-arm and bimanual checkpoints are\nbf16 checkpoints, so for them NVFP4 is post-training quantization. The SO-101\ncheckpoint `praxis-1-so101-nvfp4` is the exception: it was trained with NVFP4 QAT of the routed\nexperts (17 MoE layers, 34 matrices), so `routed_precision: nvfp4` serves it\nin its training precision (see [SO-101 rig](#so-101-rig)). Earlier checks\nsimulated the same 4-bit rounding on H100s with two NVFP4 fine-tunes (quantization-aware training), and the results differ:\n- an NVFP4 fine-tune of `praxis-1-droid` on RoboLab (action CFG 1.0, video CFG 4.0,\n  `t_shift` 12.5): 279\u002F600 with NVFP4, against 287\u002F600 for the same weights in\n  bf16, no clear difference;\n- an NVFP4 fine-tune of an earlier single-arm checkpoint on the `hard` simulation suite (action CFG 1.0,\n  video CFG 1.0, `t_shift` 8.0, 2 steps, `max_context_chunks` 3): 138\u002F352 with\n  NVFP4, against 188\u002F352 for that checkpoint in bf16, clearly lower. This compares with\n  the bf16 starting checkpoint, so the extra training is part of the gap.\n\nMeasure the checkpoint you use before you deploy it, for example on the `hard`\nsimulation suite:\n\n```bash\nMUJOCO_GL=egl python scripts\u002Frun_sim_eval.py --suite hard \\\n  --checkpoint CKPT --out outputs\u002Feval\u002Fbf16\nMUJOCO_GL=egl python scripts\u002Frun_sim_eval.py --suite hard \\\n  --checkpoint CKPT --set model.routed_precision=nvfp4 --out outputs\u002Feval\u002Fnvfp4\npython scripts\u002Fcompare_sim_eval.py outputs\u002Feval\u002Fbf16 outputs\u002Feval\u002Fnvfp4\n```\n\n**Memory.** The routed experts shrink from 51.3 GB to 14.4 GB, and the policy\nfrom 54.4 GB to 17.5 GB. With the text encoder (4.6 GB) and the VAE (1.4 GB),\nthe weights take about 23.5 GB before activations, so a 32 GB RTX 5090 should\nfit (the peak is not measured yet) and a 24 GB GPU does not. The pipeline puts\nthe text encoder on the policy's GPU and there is no option yet to keep it\nelsewhere; since each encoded prompt is cached, such an option would cost\nlittle after the first call of each prompt.\n\n**Install and first run.** `uv pip install -e '.[nvfp4]'` resolves torch again,\nso repeat the cuDNN pin afterwards\n(`uv pip install --no-deps nvidia-cudnn-cu13==9.24.0.43`). The first call\nJIT-compiles FlashInfer's grouped GEMM with `nvcc` (CUDA 12.8 or newer, a few\nminutes; the server warm-up absorbs it). The first load packs the 4,352\nexpert matrices on the CPU, which takes minutes (about 18 with 22 threads).\nSet `model.nvfp4_cache` to keep the packed banks (14.4 GB on disk). The cache\nis keyed on the checkpoint, the packing recipe and the TorchAO version; a\ncached load still reads and hashes the bf16 banks.\n\nA non-finite value in a routed row makes the global scale of its expert\nnon-finite for that dispatch chunk, so every row of that expert in the chunk\nis affected, not only the token's own row.\n\n## Custom kernels\n\nThe pipeline uses the attention backend of the checkpoint's `config.json`;\nthe released checkpoints select Flash in both the DiT encoder and decoder.\nBoth towers also support `triton` and `cudnn`. To select cuDNN for the decoder\nwhile keeping Flash in the encoder:\n\n```python\npipe = PraxisPipeline(\n    checkpoint=\"checkpoints\u002Fpraxis-1-droid\",\n    vae_weights=\"weights\u002FWan2.2_VAE.pth\",\n    text_encoder=\"weights\u002FQwen3.5-2B\",\n    encoder_attention_backend=\"flash\",\n    decoder_attention_backend=\"cudnn\",\n)\n```\n\nInstall the optional backend with `uv pip install '.[cudnn]'` or\n`uv pip install '.[flash]'`. The cuDNN extra installs the v1.31.0 tag\nof [NVIDIA\u002FcuDNN Frontend](https:\u002F\u002Fgithub.com\u002FNVIDIA\u002Fcudnn-frontend),\nincluding its CuTeDSL dependencies; building from source requires Git, a C++\ncompiler and a CUDA-enabled environment. CUTLASS tracks public\nupstream source. FlashAttention and the text-encoder kernels use the versions\nspecified in `pyproject.toml`; transitive dependencies follow each upstream\npackage's own constraints.\n\nThe server accepts `--encoder-attention-backend` and\n`--decoder-attention-backend`; inference and server YAML accept the same\nnames with underscores under `model`. Environment defaults are\n`PRAXIS_ENCODER_ATTENTION_BACKEND` and `PRAXIS_DECODER_ATTENTION_BACKEND`.\nExplicit arguments take precedence over environment defaults. Without either,\neach tower keeps the backend in the checkpoint's `config.json`.\n\nFor a server, add `--decoder-attention-backend cudnn`. For inference or a\nbenchmark, override only the decoder in the config:\n\n```bash\npython scripts\u002Fbenchmark_inference.py --set model.decoder_attention_backend=cudnn --timing total --out outputs\u002Fbench_cudnn_decoder\n```\n\nThis selects the DiT decoder attention backend. The VAE decoder mode is a\nseparate option.\n\ncuDNN supports batch-one inference with shared-head interval masks, including\nthe disjoint visible regions of observed-context windows. The adapter preserves\nevery visible key when converting a mask to interval endpoints. Other batch\nsizes or masks that vary by head raise an error. Plans are cached; warm each\nshape before CUDA Graph capture.\n\nTriton and cuDNN can change actions and video latents relative to Flash.\nBitwise agreement between attention backends is not guaranteed. Flash remains\nthe default for both towers.\n\nThe DiT encoder and decoder execute without whole-module `torch.compile` to\npreserve their numerical behavior. FlexAttention is compiled separately;\nThe historical CUDA Graph path captures the text encoder and action expert.\n\nTriton kernels live in `praxis\u002Fkernels\u002F`:\n\n| File | Operations |\n|---|---|\n| `layers_triton.py` | Packed SwiGLU, stable MoE dispatch, top-8 weighted reduction, rounded scaling\u002Fshared-expert addition, and fused modulation. |\n| `norm_triton.py` | Fixed-reduction RMSNorm, residual and decoder-modulation fusion, attention gate merge and action-expert normalization tails. |\n| `rope_triton.py` | Rotary embedding and fused Q\u002FK RMSNorm with eager rounding. |\n| `moe_gemm_triton.py` | Fixed-tile grouped expert GEMMs, optional gather\u002FSwiGLU fusion and shared-expert activation. |\n| `nvfp4.py`, `nvfp4_moe.py`, `nvfp4_fused.py` | Native NVFP4 packing, scales, rescaling and routed output reduction. |\n| `nvfp4_sm110.py`, `nvfp4_pair.py`, `nvfp4_epi*.py` | Guarded Thor NVFP4 backend, paired dispatch and optional epilogues. |\n| `cute_experts.py`, `cute_act.py`, `shared_quack.py`, `routed_quack.py` | Optional Thor CuTe expert GEMMs and activations. |\n| `vae_encoder_triton.py` | Encoder RMSNorm\u002FSiLU and channels-last average pooling. |\n| `vae_decoder_norm_triton.py` | Decoder RMSNorm\u002FSiLU with FP32 arithmetic. |\n| `vae_decoder_triton.py` | Patch expansion and streamed RGB conversion. |\n| `vae_decoder_cache_triton.py` | Causal convolution input and history assembly. |\n\nAttention uses compiled FlexAttention or the selected cuDNN adapter.\nOrdinary expert projections use `torch._grouped_mm`; paired execution and\nexplicit fused variants also use `moe_gemm_triton.py`.\n\nTop-8 non-chunked CUDA MoE inference fuses gate weighting, inverse permutation and expert\nsummation while preserving BF16\u002FFP16 product rounding and the eager FP32\naccumulation order. Routed scaling and the shared-expert addition keep their\noriginal rounding boundaries. Other layouts, autocast and\ngradient-tracked calls retain their existing operation sequences.\n\nTop-8 chunked CUDA MoE inference also fuses dispatch and combination by default.\nIt keeps `dispatch_chunk_size` from the checkpoint. Gates are scaled in FP32.\nExpert outputs use four interleaved FP32 accumulators. The routed sum rounds\nto BF16 or FP16 before the shared-expert addition. The combiner writes each\nchunk directly to the final output. Training, autocast and unsupported\nlayouts retain the existing path. The kernels use fixed 256-column combine\ntiles and disable multiply-add fusion.\nCPU tests are in `tests\u002Ftest_moe_chunked.py`.\n\nNon-chunked CUDA MoE dispatch gathers expert inputs directly from the stable\nexpert sort and prepares gate weights, inverse indices and expert offsets in\ntwo Triton launches. Routed scaling and the shared-expert addition use a fused\nepilogue that rounds the scaled value before adding the shared output. Router\nscores, top-k selection and the stable expert sort retain their PyTorch paths.\n\nThe two kernels of `layers_triton.py` also have a backward pass for\ntraining. The forward kernels are the same for inference and training.\n\n`Autoencoder.encode_eager` is a plain PyTorch fallback for GPUs without\nTriton. Its output is close to the fused path, but it is not bitwise equal.\nThe original implementation uses another kernel of the VAE encoder.\n\n## Install\n\nUse Python 3.12 and a CUDA GPU with at least 80 GB of memory (one H100 is\nsufficient). This is for the bf16 default; for SM120 GPUs with less memory, see\n\"Optional routed NVFP4 inference\". Run all the steps in the root directory of the repository. The\nexample is for CUDA 13.0 and uses [uv](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F) (`pip install uv`):\n\n```bash\nuv venv --python 3.12 .venv && . .venv\u002Fbin\u002Factivate\nuv pip install torch==2.13.0 torchvision==0.28.0 --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu130\nuv pip install packaging ninja wheel\nCAUSAL_CONV1D_FORCE_BUILD=TRUE MAX_JOBS=16 \\\n  uv pip install --no-build-isolation --no-cache causal-conv1d==1.6.1\nuv pip install -e \".[kernels,sim]\"   # the sim extra pulls in the praxis-sim package, see \"Simulation\"\nuv pip install --no-deps nvidia-cudnn-cu13==9.24.0.43\npython -c \"import torch, causal_conv1d_cuda; print('causal-conv1d OK')\"\n```\n\n- `transformers` needs torchvision to load the processor of Qwen3.5.\n- There is no `causal-conv1d` wheel for PyTorch 2.13. Thus uv builds it\n  from source with `nvcc`. `MAX_JOBS` sets the number of parallel compile\n  jobs (about 1 GB of memory each).\n- praxis is checked with cuDNN 9.24. PyTorch 2.13 asks for\n  cuDNN 9.20, so the cuDNN pin must come after each install that resolves\n  torch. The convolutions of the video autoencoder run in cuDNN.\n\nThe extras of `pyproject.toml`:\n\n| Extra | Packages | Use |\n|---|---|---|\n| (none) | torch, torchvision, triton, transformers, safetensors, numpy, pillow, pyyaml | the model |\n| `kernels` | flash-linear-attention, causal-conv1d | the text encoder kernels that praxis is checked with (see below) |\n| `sim` | praxis-sim (mujoco, gymnasium; `packages\u002Fpraxis-sim` of this repository, from PyPI), imageio, imageio-ffmpeg, scipy | the MuJoCo simulation |\n| `video` | imageio, imageio-ffmpeg | mp4 export of `scripts\u002Frun_inference.py` |\n| `serve` | the web server, the image decoders and the cloud host client | the policy server (`praxis\u002Fserve\u002FREADME.md`) |\n| `train` | huggingface_hub, av, pyarrow | the fine-tune (`praxis\u002Ftrain\u002FREADME.md`) |\n| `eval` | huggingface_hub, av, openai | the autoregressive eval (`praxis\u002Feval\u002Fautoregressive\u002FREADME.md`) |\n| `nvfp4` | FlashInfer, TorchAO, ninja | optional SM100\u002FSM103\u002FSM120 routed-expert inference |\n| `thor` | Quack 0.6.5 with CUDA 13 support | SM110 NVFP4 backend and optional CuTe BF16 expert kernels |\n| `dev` | pytest, ruff | the tests |\n\nThe policy server serves the chunked schedule by default (`schedule: chunked`\nin `configs\u002Fserve_*.yaml`). Real-time chunking is opt-in: a client asks for it\nwith `?schedule=rtc` in the session URL (see \"Real-time chunking\" in\n`praxis\u002Fserve\u002FREADME.md`). It needs Positronic 0.4.4 or later. A real-time\nsession precomputes the window encode and the trunk passes of each\nprediction on the samples before it, with the same answer bits\n(`precompute: on`; `?precompute=off` turns it off). The precompute applies\nto real-time sessions only. A default session is chunked: it does not use\nthe precompute and is not faster with it.\n\nThe text encoder runs Qwen3.5 through `transformers`. If you install\n`flash-linear-attention` and `causal-conv1d`, `transformers` uses their\nkernels. praxis is checked with these kernels. Without them the\nlast bits of the text tokens change. Bitwise\nparity needs `transformers` 5.2.0, `flash-linear-attention` 0.5.0 and\n`causal-conv1d` 1.6.1.\n\n## Get the weights\n\nThe praxis checkpoints are on Hugging Face, in the `runwayml` organization:\n\n| Checkpoint | Hugging Face repository | Local directory | What it is |\n|---|---|---|---|\n| Single-arm (DROID) | [`runwayml\u002Fpraxis-1-droid`](https:\u002F\u002Fhuggingface.co\u002Frunwayml\u002Fpraxis-1-droid) | `checkpoints\u002Fpraxis-1-droid` | `praxis-1-droid`, the default of the configs |\n| Bimanual (YAM) | [`runwayml\u002Fpraxis-1-yam`](https:\u002F\u002Fhuggingface.co\u002Frunwayml\u002Fpraxis-1-yam) | `checkpoints\u002Fpraxis-1-yam` | the bimanual checkpoint (see [Bimanual rig](#bimanual-rig)) |\n| Base | [`runwayml\u002Fpraxis-1-base`](https:\u002F\u002Fhuggingface.co\u002Frunwayml\u002Fpraxis-1-base) | `checkpoints\u002Fpraxis-1-base` | the pretrained model without action heads: the start of a fine-tune for a new rig |\n| Single-arm (DROID), NVFP4 QAT | [`runwayml\u002Fpraxis-1-droid-nvfp4`](https:\u002F\u002Fhuggingface.co\u002Frunwayml\u002Fpraxis-1-droid-nvfp4) | `checkpoints\u002Fpraxis-1-droid-nvfp4` | `praxis-1-droid` with quantization-aware training of the routed experts for NVFP4 |\n| Bimanual (YAM), NVFP4 QAT | [`runwayml\u002Fpraxis-1-yam-nvfp4`](https:\u002F\u002Fhuggingface.co\u002Frunwayml\u002Fpraxis-1-yam-nvfp4) | `checkpoints\u002Fpraxis-1-yam-nvfp4` | `praxis-1-yam` with quantization-aware training of the routed experts for NVFP4 |\n| SO-100 \u002F SO-101 | [`runwayml\u002Fpraxis-1-so101`](https:\u002F\u002Fhuggingface.co\u002Frunwayml\u002Fpraxis-1-so101) | `checkpoints\u002Fpraxis-1-so101` | the SO-100 \u002F SO-101 joint-space checkpoint (see [SO-101 rig](#so-101-rig)) |\n| SO-100 \u002F SO-101, NVFP4 QAT | [`runwayml\u002Fpraxis-1-so101-nvfp4`](https:\u002F\u002Fhuggingface.co\u002Frunwayml\u002Fpraxis-1-so101-nvfp4) | `checkpoints\u002Fpraxis-1-so101-nvfp4` | `praxis-1-so101` with quantization-aware training of the routed experts for NVFP4, the default of `configs\u002Fserve_so101.yaml` |\n\nEach checkpoint is a directory with `config.json`,\n`model.safetensors.index.json`, 17 safetensors shards and `SHA256SUMS`\n(54.4 GB). `SHA256SUMS` lists the shards, `config.json` and the index. The\nconfigs read each checkpoint from its local directory.\n\nThe NVFP4 repositories hold bf16 weights in the same format, so they load\nlike the other checkpoints. On SM120 GPUs, `--set model.routed_precision=nvfp4`\npacks their routed experts to NVFP4 at load time (see \"Optional routed NVFP4\ninference\").\n\nYou also need two public models:\n\n- The Wan2.2 VAE: `Wan2.2_VAE.pth` from the Hugging Face model\n  `Wan-AI\u002FWan2.2-TI2V-5B`.\n- The text encoder: the Hugging Face model `Qwen\u002FQwen3.5-2B`.\n\nThe `hf` command comes with `transformers`. Log in once with an account\nthat can read the `runwayml` repositories (`hf auth login`), then download\nthe weights into the paths of the configs:\n\n```bash\nhf download Wan-AI\u002FWan2.2-TI2V-5B Wan2.2_VAE.pth --local-dir weights\nhf download Qwen\u002FQwen3.5-2B --local-dir weights\u002FQwen3.5-2B\nfor C in praxis-1-droid praxis-1-yam praxis-1-base; do   # take only the ones you need\n  hf download runwayml\u002F$C --local-dir checkpoints\u002F$C\n  (cd checkpoints\u002F$C && sha256sum -c --quiet SHA256SUMS && echo \"$C OK\")\ndone\n```\n\nThe NVFP4 and SO-101 checkpoints download the same way\n(`for C in praxis-1-droid-nvfp4 praxis-1-yam-nvfp4 praxis-1-so101 praxis-1-so101-nvfp4; do ...`).\n\nThe recommended sampler settings were measured on `praxis-1-droid`.\n\n`praxis-1-base` is the pretrained model without the action heads of a rig,\nso it does not run on a robot by itself. `praxis\u002Ftrain\u002FREADME.md`,\n\"Fine-tune the base checkpoint\", tells how to make a policy for your own\nsingle-arm rig from it.\n\nThe checkpoint asks for the `flash` attention backend of the trunk\n(`backbone.attention.backend` in `config.json`). praxis is checked\nwith this backend. It needs the `flash-attn-4` package:\n\n```bash\nuv pip install \"flash-attn-4[cu13]==4.0.0b36\"\nuv pip install --no-deps nvidia-cudnn-cu13==9.24.0.43   # the install above resolves torch again\n```\n\nWithout this package, set the backend to `triton`. Then the trunk uses the\nTriton kernel of flex attention. The model is the same, but the last bits of\nthe outputs differ. This command sets the backend when the package is\nmissing:\n\n```bash\npython -c \"import flash_attn.cute\" 2>\u002Fdev\u002Fnull || python - \"$C\u002Fconfig.json\" \u003C\u003C'PYEOF'\nimport json, sys\np = sys.argv[1]\nc = json.load(open(p))\nc[\"backbone\"][\"attention\"][\"backend\"] = \"triton\"\njson.dump(c, open(p, \"w\"), indent=1)\nprint(\"attention backend: triton\")\nPYEOF\n```\n\n## Download, then run\n\nAll the commands below, from a fresh clone after \"Install\" and `hf auth\nlogin`. They read the weights from the local directories of the configs.\n\n```bash\n# Weights (see \"Get the weights\").\nhf download Wan-AI\u002FWan2.2-TI2V-5B Wan2.2_VAE.pth --local-dir weights\nhf download Qwen\u002FQwen3.5-2B --local-dir weights\u002FQwen3.5-2B\nfor C in praxis-1-droid praxis-1-yam praxis-1-base; do\n  hf download runwayml\u002F$C --local-dir checkpoints\u002F$C\n  (cd checkpoints\u002F$C && sha256sum -c --quiet SHA256SUMS && echo \"$C OK\")\ndone\n\n# Inference: one closed-loop episode per checkpoint in the simulation (uv pip install -e \".[sim]\").\nMUJOCO_GL=egl python scripts\u002Frun_sim.py --config configs\u002Fsim_droid.yaml \\\n    --set task.name=block_in_bowl --set task.prompt=null --set viewer.enabled=false\nMUJOCO_GL=egl python scripts\u002Frun_sim_yam.py --config configs\u002Fsim_yam.yaml \\\n    --checkpoint checkpoints\u002Fpraxis-1-yam --tasks block_tower --seeds 1 --out outputs\u002Fsim_yam\n\n# Evaluation: the fixed suites of the single-arm checkpoint (praxis\u002Fsim\u002FEVAL.md).\nMUJOCO_GL=egl python scripts\u002Frun_sim_eval.py --suite droid_guard \\\n    --checkpoint checkpoints\u002Fpraxis-1-droid --out outputs\u002Feval\u002Fdroid_guard\nMUJOCO_GL=egl python scripts\u002Frun_sim_eval.py --suite hard \\\n    --checkpoint checkpoints\u002Fpraxis-1-droid --out outputs\u002Feval\u002Fhard\n\n# Training (uv pip install -e \".[train]\", praxis\u002Ftrain\u002FREADME.md).\n# A new rig: the full fine-tune of the base on 8 GPUs. The statistics and the heads come first.\npython scripts\u002Fcompute_norm_stats.py --config configs\u002Ffinetune_base.yaml\npython scripts\u002Finit_heads.py --config configs\u002Ffinetune_base.yaml\ntorchrun --nproc_per_node 8 scripts\u002Ffinetune.py --config configs\u002Ffinetune_base.yaml\n# The DROID rig, a new task: LoRA on praxis-1-droid on one GPU.\ntorchrun --nproc_per_node 1 scripts\u002Ffinetune.py --config configs\u002Ffinetune_droid_lora.yaml\n```\n\nBoth training configs read DROID from the Hugging Face hub\n(`data.source: cadene\u002Fdroid_1.0.1`). For your own data, or for a long run\n(the hub has a rate limit), set `--set data.source=\u003Ca local LeRobot tree>`.\n\n## Run\n\nThe fastest check is one closed-loop episode in the simulation (see\n\"Simulation\"). It needs one GPU and the `sim` extra:\n\n```bash\nTASK=block_in_bowl   # lift_cube | cube_on_plate | block_in_bowl | block_out_of_bowl | move_block | stack_block | press_button\nCUDA_VISIBLE_DEVICES=0 MUJOCO_GL=egl \\\n  python scripts\u002Frun_sim.py --config configs\u002Fsim_droid.yaml \\\n    --set task.name=$TASK --set task.prompt=null --set viewer.host=0.0.0.0\n```\n\n`task.prompt=null` selects the prompt of the task. `viewer.host=0.0.0.0`\nshows the live view to all machines that can reach the port. See the\nwarning in `praxis\u002Fsim\u002FREADME.md` (\"Live view\").\n\nTo run the policy on recorded episodes:\n\n1. Put your episodes into a directory, one sub-directory per episode:\n\n   ```\n   episodes\u002F\u003Cname>\u002Fmeta.json                 {\"prompt\": \"...\", \"fps\": 15, \"num_frames\": 93, \"views\": [\"exterior\", \"wrist\"]}\n   episodes\u002F\u003Cname>\u002Fframes\u002Fexterior\u002F000.png   one PNG per frame and camera\n   episodes\u002F\u003Cname>\u002Fframes\u002Fwrist\u002F000.png\n   episodes\u002F\u003Cname>\u002Fobserved_pose8.npy        (num_frames, 8) float32 arm poses\n   ```\n\n   A pose row is `[x, y, z, qw, qx, qy, qz, grip]`.\n\n2. Set the paths in `configs\u002Finference_droid.yaml`.\n\n3. Run the script:\n\n   ```bash\n   python scripts\u002Frun_inference.py --config configs\u002Finference_droid.yaml\n   ```\n\n   To change one value without an edit of the file, use `--set`:\n\n   ```bash\n   python scripts\u002Frun_inference.py --config configs\u002Finference_droid.yaml --set sampler.num_steps=4\n   ```\n\nThe script writes one file per policy call to `output.dir`. Each file\nholds the robot commands, the actions, the predicted video latent, the\nmodel inputs and the decoded frames:\n\n- `pred_frames`: one frame per command row. The script decodes the chunk\n  after its context latents, so frame `i` shows the time of command row `i`.\n- `pred_frames_standalone`: the chunk decoded alone (21 frames). Its first\n  frame is a key frame, so it does not line up with the command rows.\n\nWith `output.save_video: true` the script also writes the predicted video as\n`.npy` and `.mp4`. The mp4 needs the `video` extra.\n\n## Profile inference\n\nQuick start, after \"Install\" and \"Get the weights\":\n\n```bash\npython scripts\u002Fbenchmark_inference.py --config configs\u002Fserve_droid.yaml --out outputs\u002Fbench\n```\n\nThe script prints a table of p50, p90 and max per stage and writes\n`outputs\u002Fbench\u002Fsummary.json`. The details:\n\n`scripts\u002Fbenchmark_inference.py` times the policy calls on a local GPU, per\nstage. It needs no server. It loads the pipeline with the settings of a\nconfig (default `configs\u002Fserve_droid.yaml`, the recommended settings) and\nruns sessions on synthetic observations at the shapes of a robot client:\n\n```bash\n# Video guidance off (one pass per sampler step instead of two):\npython scripts\u002Fbenchmark_inference.py --set sampler.cfg_video_scale=1.0 --out outputs\u002Fbench_nocfg\n# With a torch.profiler trace (trace.json) and a kernel table (kernels.txt):\npython scripts\u002Fbenchmark_inference.py --trace --out outputs\u002Fbench_trace\n# With the video decoder of the last Euler step:\npython scripts\u002Fbenchmark_inference.py --set session.skip_video_decoder=off --out outputs\u002Fbench_decode\n# Measure total latency with the default optimizations:\npython scripts\u002Fbenchmark_inference.py --timing total --out outputs\u002Fbench_optimized\n# Disable the default optimizations, the CUDA graphs included:\npython scripts\u002Fbenchmark_inference.py --no-optimizations --timing total --out outputs\u002Fbench_unoptimized\n```\n\n`--no-optimizations` disables only fused RoPE, device-table caching, encoder\ncontext caching, action-expert overlap and VAE encode deduplication. It leaves\nother fusions and action-expert CUDA Graphs as configured. It does not restore\nthe unoptimized code. A before\u002Fafter comparison needs separate source checkouts\nwith the same weights, settings, inputs, seeds and packages.\n\nThe five optimizations described in \"Execution\" are enabled by default.\n`--no-optimizations` disables them for every benchmark session.\nThe flag applies only to the benchmark process. Library defaults and saved\ninference configurations stay enabled.\n`summary.json` records the five option values. The profiler\ntimes direct encoder and decoder calls when expert overlap is enabled.\nStage synchronization can reduce overlap. These timings include profiling overhead.\nUse `--timing total` to measure latency with synchronization only at call\nboundaries. This mode preserves expert overlap and omits per-stage timings.\n`--save-outputs` writes actions, video latents and commands for every call to\n`outputs\u002F` inside the run directory. Use these files for before\u002Fafter bitwise\ncomparisons. Copies and disk writes are outside the call timer, but can\naffect pacing.\n\nEach session sends a first call with one frame (context depth 0, 21 command\nrows) and then calls with a stack of 25 frames (24 rows). As on the policy\nserver, each call skips the video decoder of the last Euler step\n(`session.skip_video_decoder`, default on): the commands keep their bits, and\nwith action guidance off (`cfg_scale` 1.0) the last step runs no unguided\npass either, since that pass only guides the video. The first session\nis a warm-up: it compiles the attention kernels of each context depth, so\nits calls are not counted. The script writes the time of each call and of\nits stages to `calls.jsonl`, and `summary.json` with the median (p50), the\np90 and the max, the GPU, the dtype, the sampler settings and the package\nversions. The stages (`praxis\u002Fprofiling.py`) are:\n\n| Stage | What it holds |\n|---|---|\n| `text_encode` | The text encoder. The pipeline caches each prompt, so this is 0 after the first call. |\n| `vae_encode` | The current-frame canvas on cold calls, or the executed stream with its anchor on context calls. |\n| `backbone` | The video backbone calls: one per sampler pass, two passes per step with video guidance. With `skip_video_decoder` on and action guidance off, the last step runs the guided pass only, without its video decoder. |\n| `expert` | The action expert calls on the taps of the backbone. |\n| `total_staged` | The whole policy call of the same sessions, with the canvas, the pose conversions and the command decode. |\n| `total` | The whole policy call in one more session without the stage timers: one synchronize before and one after the call. This is the call time a server sees. |\n\nEach stage time includes a device synchronize before and after it. The sync\nalso stops the CPU from queuing the next stage while the GPU runs this one,\nso `total_staged` is higher than `total`. The sampler loop has no host\nsynchronize between its backbone and expert calls, so without the stage\ntimers the CPU queues the next kernels while the GPU runs; the stage syncs\ntake that overlap away. Compare `total`, not the sum of the stages.\nThe trace marks each stage as a named range. A trace of 10 calls is about\n0.8 GB. The stages are NVTX ranges too, so under Nsight Systems\n(`nsys profile -t cuda,nvtx`) the timeline shows them.\n\n`python -m praxis.serve.latency --url \u003Csession URL>` measures a running\npolicy server end to end: the request encode, the round trip and the\nserver's own times (see `praxis\u002Fserve\u002FREADME.md`, \"Measure the latency\").\n\n### Measured times\n\nWe ran the script on one NVIDIA H100 80GB HBM3 (Modal), with the image of\n`docker\u002FDockerfile`: PyTorch 2.13.0, CUDA 13.0, cuDNN 9.24, `flash-attn-4`\n4.0.0b36, bfloat16 weights, the `flash` attention backend and no\n`torch.compile` beyond the flex attention kernels. The checkpoint was\n`praxis-1-droid` with the settings of `configs\u002Fserve_droid.yaml`\n(2 steps, flow shift 12.5, 1 context chunk, the video decoder of the last\nstep skipped) and synthetic 416x234 views.\nEach row had a warm-up session of 10 calls, then staged sessions of 10\ncalls (3 with video guidance 4.0, 2 with 1.0) and one plain session of 10\ncalls. `Total` comes from the plain session, the other columns from the\nstaged sessions. Each step runs one expert call, so a call has two. With\nvideo guidance the last step runs its guided pass only, so a call has three\nbackbone passes. Times in ms as p50 \u002F p90 \u002F max:\n\n| Video guidance | Calls | Total | Total (staged) | Backbone | Expert | VAE encode | Text encode |\n|---|---|---|---|---|---|---|---|\n| `cfg_video_scale` 4.0 (default): 2 passes per step, 1 on the last | first of a session (n=1; staged n=3) | 266 \u002F 266 \u002F 266 | 289 \u002F 310 \u002F 316 | 204 \u002F 213 \u002F 216 | 72 \u002F 80 \u002F 82 | 8 \u002F 8 \u002F 9 | 0 |\n| | later (n=9; staged n=27) | 501 \u002F 513 \u002F 530 | 544 \u002F 557 \u002F 612 | 372 \u002F 378 \u002F 381 | 78 \u002F 81 \u002F 83 | 66 \u002F 67 \u002F 69 | 0 |\n| `cfg_video_scale` 1.0: 1 pass per step | first of a session (n=1; staged n=2) | 192 \u002F 192 \u002F 192 | 210 \u002F 212 \u002F 213 | 125 \u002F 126 \u002F 126 | 73 \u002F 74 \u002F 74 | 7 \u002F 7 \u002F 7 | 0 |\n| | later (n=9; staged n=18) | 344 \u002F 345 \u002F 346 | 387 \u002F 390 \u002F 392 | 223 \u002F 223 \u002F 223 | 75 \u002F 78 \u002F 78 | 65 \u002F 65 \u002F 66 | 0 |\n\nIn the same container, with the video decoder of the last step\n(`--set session.skip_video_decoder=off`), the later calls took 714 ms\n(`cfg_video_scale` 4.0) and 422 ms (1.0) at the p50 of `total`. The commands\nwere bit-identical with and without the decoder on all 90 calls.\n\nThese times include the video decode of the last Euler step. The policy\nserver skips that decode by default (`skip_video_decoder`, see\n`praxis\u002Fserve\u002FREADME.md`), so a served call is shorter by one decoder pass.\n\nA run from a fresh clone of this repository, with the steps of \"Install\"\nand \"Get the weights\" on another H100, took 17 minutes from the clone to\nthe numbers: 13 to install (most of it the `causal-conv1d` compile), 3 to\ndownload the weights, 1.5 to load and run. The `flash-attn-4` install\nresolves torch again, so the step above re-pins cuDNN 9.24 after it.\n\n- The first call of a session has no context (one chunk in the window).\n  The later calls hold one context chunk, so the backbone runs on twice the\n  tokens and the VAE encodes the 24 executed frames.\n- The warm-up calls compile the attention kernels: the first call of the\n  process took 35.0 s (32.5 s with guidance off), the first call with\n  context 1.1 s (0.5 s).\n- A later call gives 24 command rows, 1.6 s of motion at 15 Hz. With the\n  default settings a call takes about a third of that time.\n- The inputs are synthetic. The routed experts of the backbone depend on\n  the tokens, so real camera frames can give other times.\n- A robot client adds the image encode, the network and the server around\n  the call. In RoboLab runs against a hosted server of this checkpoint\n  with these sampler settings (another server implementation, not `praxis\u002Fserve`, on\n  one H100 or with the two guidance passes on two H100s), the client saw a\n  median of 1.1 to 1.4 s per call. Measure your own path\n  with `praxis.serve.latency`.\n\n## Use the pipeline in code\n\n```python\nfrom praxis.pipeline import PraxisPipeline\n\npipe = PraxisPipeline(\n    checkpoint=\"checkpoints\u002Fpraxis-1-droid\",\n    vae_weights=\"weights\u002FWan2.2_VAE.pth\",\n    text_encoder=\"weights\u002FQwen3.5-2B\",\n)\nsession = pipe.session(prompt=\"Put the red block in the bowl.\", seed=0)\nresult = session.step(observation)   # one call per executed chunk\nresult.commands                      # list of 21 or 24 command dicts\n```\n\nThe code defaults of `SamplerSettings` and `PraxisPipeline.session` are the\nrecommended settings (see \"Recommended settings\"). To change a sampler\nvalue, give the settings: `sampler=SamplerSettings(num_steps=4)` (from\n`praxis.model`).\n\nAn observation is a dict with these keys. Each value can have a leading time\naxis (a frame stack). The last row is the current time.\n\n| Key | Value |\n|---|---|\n| `image.exterior` | RGB uint8, `(T, H, W, 3)` |\n| `image.wrist` | RGB uint8, `(T, H, W, 3)` |\n| `robot_state.ee_pose` | `(T, 7)`: `x, y, z, qw, qx, qy, qz` |\n| `grip` | `(T, 1)` or `(T,)` gripper value, 0 = open |\n| `task` | task string (optional, it replaces the session prompt) |\n\nFrom the second call on, the observation must hold the frames and poses of\nthe executed chunk as a stack. The stack has 24 rows plus the current row. The session\nencodes them as context. If the stack is too short, the session starts a new\ncontext window.\n\nA command is one dict per row:\n`{\"robot_command\": {\"type\": \"cartesian_pos\", \"pose\": [xyz3, R_flat9], \"mode\": ...}, \"target_grip\": g, \"timestamp\": t}`.\nThe rotation is row-major.\n\n### Action clamp\n\nTraining clips the q99-normalized action targets to [-1, 1]. The sampler\ncan give values outside this range. Before the commands, the decode clips\nthe actions to the training range:\n\n1. It clips the normalized xyz and grip values to [-1, 1]. Thus the xyz of a\n   command stays in the `[q01, q99]` range of the checkpoint stats, relative\n   to the current pose.\n2. It applies the inverse q99 map.\n3. It clips the gripper to [0, 1]. With `smoothing=savgol` on the server,\n   this clip comes after the filter, because the filter can go past the end\n   stops of the gripper. The decode does not clip the xyz after the filter,\n   so a smoothed xyz can go a small distance outside `[q01, q99]`.\n\n`result.action_rows_norm` holds the normalized rows with no clip.\n`result.action_rel` holds the relative actions of the commands, with the\nclips. The checkpoint has the grip stats q01 = 0 and q99 = 1.\nWith these stats and no smoothing, the clips change no bit of the commands\nfor normalized values in [-1, 1]. With `smoothing=savgol`, the filter can go\npast 0 and 1 near a fast grip change. Then the grip clip also changes the\ngrips of normalized values in [-1, 1].\n\n## Settings\n\nThe defaults in this table are the values of `configs\u002Finference_droid.yaml`.\n\n| Setting | Default | Effect |\n|---|---|---|\n| `sampler.num_steps` | 2 | Euler steps per chunk. |\n| `sampler.t_shift` | 12.5 | Shift of the timestep grid. 1.0 is a uniform grid. |\n| `sampler.solver` | `euler` | The `window_joint` layout needs `euler`. |\n| `sampler.action_steps` | null | Extra expert-only steps. The `window_joint` layout needs null. |\n| `sampler.layout` | `window_joint` | One Euler update moves the video and the actions of the whole context window (see \"Model variant of the checkpoint\"). |\n| `sampler.cfg_scale` | 1.0 | Text guidance scale of the actions. 1.0 turns it off. |\n| `sampler.cfg_video_scale` | 4.0 | Text guidance scale of the video. 1.0 turns it off. |\n| `sampler.cfg_batched` | false | No effect: the guided and the unguided pass run one after the other. |\n| `session.max_context_chunks` | 1 | Executed chunks kept as context. |\n| `session.exec_horizon` | 24 | Command rows per call. null gives the full chunk. A value below 24 moves the next observation off the chunk grid, so each call becomes a new context window. |\n| `session.control_mode` | `droid_impedance` | `droid_impedance` adds the impedance gains of the DROID demonstrations to each command (`robot_command[\"mode\"]`). `none` adds no mode. The arm then keeps its own control law. |\n| `session.seed` | 0 | Chunk `k` samples with seed `seed + k`. |\n| `model.vae_norm_block_c` | null | Channel block size of the fused VAE norm kernel per channel count. null means `{160: 64, 320: 64, 640: 256}`. |\n\n### Recommended settings\n\nThese are the current recommended sampling settings of the checkpoint.\n`configs\u002Finference_droid.yaml`,\n`configs\u002Fserve_droid.yaml` and `configs\u002Fsim_droid.yaml` hold them. The\nsettings can change when we have more robot results.\n\n| Setting | Value |\n|---|---|\n| `sampler.num_steps` | 2 |\n| `sampler.cfg_scale` | 1.0 |\n| `samp","Praxis-1 是一个面向机器人机械臂的视频驱动动作策略模型，将输入视频流（含外部与腕部摄像头视角）直接映射为连续控制动作序列。其核心采用视频预训练到机器人控制的端到端范式，支持单臂（DROID）、双臂（YAM）及SO-101等多种硬件构型，并提供NVFP4量化版本以适配高内存效率推理。模型在每次调用中同步预测下一视频片段与对应动作块，实现视觉-动作联合建模。适用于实验室环境下的具身智能研究、机器人仿真控制验证及基于多视角视觉的灵巧操作任务开发。","2026-11-24 04:42:02","CREATED_QUERY"]