ewm_checkpoints / README.md
kritokronos's picture
Document five policies, dependencies and lightweight evaluation metadata
a7801e0 verified
|
Raw History Blame Contribute Delete
7.28 kB
---
tags:
- robotics
- pytorch
- imitation-learning
- simulation
- piper
---
# EWM: Five Final 80k Policy Checkpoints
Five final policy checkpoints from the EWM Piper eight-task experiments, with
the original training configuration and normalization for each model, plus one
shared copy of the frozen DINOv3, T5 and LeanVAE dependencies. All
checkpoint files are preserved byte-for-byte. This is a custom EWM/PyTorch
model repository, not a Transformers `AutoModel` checkpoint or an executable
standalone evaluation environment.
## Model directory guide
| Directory | Model | Action horizon | Visual prediction | Visual stride | Source job |
| --- | --- | ---: | --- | ---: | ---: |
| [`action_only_80k`](https://huggingface.co/kritokronos/ewm_checkpoints/tree/main/action_only_80k) | Action-only | 24 | None | N/A | 262022 |
| [`rgb_action_80k`](https://huggingface.co/kritokronos/ewm_checkpoints/tree/main/rgb_action_80k) | RGB-action | 24 | 24 RGB samples | 2 | 262022 |
| [`ewm_symmetric_stride2_80k`](https://huggingface.co/kritokronos/ewm_checkpoints/tree/main/ewm_symmetric_stride2_80k) | Symmetric EWM | 24 | 24 event samples | 2 | 262022 |
| [`ewm_symmetric_stride1_80k`](https://huggingface.co/kritokronos/ewm_checkpoints/tree/main/ewm_symmetric_stride1_80k) | Symmetric EWM | 24 | 24 event samples | 1 | 276490 |
| [`ewm_asymmetric_stride2_80k`](https://huggingface.co/kritokronos/ewm_checkpoints/tree/main/ewm_asymmetric_stride2_80k) | Asymmetric EWM | 40 | 16 event samples | 2 | 243038 |
`80k` means the saved training step is 80,000. `stride1/2` refers to the model's
visual target temporal downsampling (`event_temporal_downsample`), not the
training-window stride or control rate. All five training-window strides are 1.
Symmetric/asymmetric names distinguish the stored action/visual sample counts;
they do not imply equal wall-clock horizons when visual stride differs.
The asymmetric checkpoint has memory and alignment disabled despite the
historical memory-related architecture name in its original configuration.
Each model directory contains:
```text
checkpoint_step_080000.pt
config.yaml
normalization.json
README.md
```
The checkpoint filename is intentionally unchanged because the project's
evaluation loader discovers files named `checkpoint_step_*.pt`. No duplicate
`checkpoint.pt` alias, optimizer states, RNG snapshots, training caches or logs
are uploaded. These are evaluation policies, not complete training-resume states.
## Download
```python
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="kritokronos/ewm_checkpoints",
repo_type="model",
local_dir="ewm_checkpoints",
allow_patterns=[
"ewm_symmetric_stride2_80k/**", # choose a model directory
"pretrained/**", # shared frozen weights and tokenizer
"evaluation/**",
"README.md", "models.json", "upload_manifest.json",
"frozen_dependencies.json", "validation.json", "THIRD_PARTY_NOTICES.md",
],
)
```
Omit `allow_patterns` to download all five. Authenticate with an authorized
account while the repository is private. `models.json` is the directory index;
`upload_manifest.json` contains original-file sizes and SHA256 hashes.
## Included shared models and required code
The policy checkpoints exclude frozen DINOv3 and T5 weights. EWM and RGB-action
also require the frozen LeanVAE-dim16 codec; Action-only does not use LeanVAE.
All three frozen models are included once under `pretrained/`, shared by the five
policies. Configurations, preprocessing/tokenizer files, upstream documentation
and available license notices are included alongside their weights:
```text
pretrained/dinov3-vitl16/ # DINOv3 ViT-L/16 RGB encoder
pretrained/t5-small/ # T5 text encoder and tokenizer
pretrained/leanvae/ # LeanVAE-dim16.ckpt visual codec
```
Exact recorded upstream repositories, revisions and dependency checksums are in
`frozen_dependencies.json`; newly computed hashes are in `upload_manifest.json`.
The dependencies retain their upstream terms. For Action-only, downloads can
omit `pretrained/leanvae/**`.
Use the EWM project loaders, including `normalize_policy_payload` for the older
asymmetric checkpoint. Simulation additionally requires the project's matching
Isaac Sim / Isaac Lab / Piper / EVIS environment and
[EWM simulation assets](https://huggingface.co/datasets/kritokronos/ewm_assets).
The original training exports are available separately as
[ewm_dataset](https://huggingface.co/datasets/kritokronos/ewm_dataset).
## Moving to another machine
Original absolute paths are retained for provenance. In particular, pretrained
model paths are embedded in the checkpoint's serialized `model_config`, not
only in the adjacent YAML. Changing shell environment variables or editing only
`config.yaml` does **not** remap those embedded paths in the current loader.
On a new machine, explicitly map `model_config.dino_path`,
`model_config.text_path`, and the non-null `model_config.event_vae_path` to the
installed dependencies during local loading, or prepare a separate local
adapted checkpoint. Keep the uploaded originals intact. Align the local copy
of `config.yaml` with the same paths, the destination dataset root, and its
normalization file. The evaluation client checks the dataset path against the
training configuration. Do not change architecture, horizons, temporal stride,
weights or normalization values as part of path migration.
This repository documents that migration requirement; it does not claim to
provide an already-tested automatic path-remapping loader.
## Lightweight evaluation metadata and protocol
`evaluation/datasets/piper_<task>/` contains the two completion markers and six
metadata JSON files used by the current live evaluation validator. It deliberately
omits training videos, Parquet files and raw event archives. Use the full dataset
repository for training; this metadata subset is only for simulation evaluation.
`evaluation/piper_eight_final.json` is the current formal evaluation profile:
30 Hz control, continuous inference, minimum eight executed actions per active
plan, four flow steps, measured equivalent latency, compilation enabled with
CUDA Graphs disabled. EWM/RGB forecasts are decoded after each trial and excluded
from equivalent latency. Model-specific horizons and visual stride remain as
saved. Run through the project's `scripts/eval_piper_final.sh` after configuring
the environment and paths. This upload does not introduce new success-rate or
fresh-machine GPU evaluation claims.
## Validation and licensing
See `validation.json` for the actual CPU checkpoint/configuration checks.
Uploaded source files are checked against Hub LFS SHA256 or Git blob hashes.
The five policy normalization files are byte-identical; each model retains its
own copy for compatibility with the evaluation loader.
No checkpoint-specific license was assigned by this upload. Included pretrained
models retain their upstream licenses, including the full DINOv3 license text.
See `THIRD_PARTY_NOTICES.md` for component attribution and license references.
Upstream software and simulation assets also retain their own applicable terms;
this repository does not relabel those components under a blanket license.