|
Download RUNTIME.md from hanxuan2003/ForceBench-Temporal-Prompt: direct link, hf CLI and curl.
- Browser
- Download file 4.3 kB
-
https://huggingface.co/hanxuan2003/ForceBench-Temporal-Prompt/resolve/main/RUNTIME.md
- Command line
-
hf download hf://hanxuan2003/ForceBench-Temporal-Prompt/RUNTIME.md
-
curl -L -o RUNTIME.md https://huggingface.co/hanxuan2003/ForceBench-Temporal-Prompt/resolve/main/RUNTIME.md
4.3 kB
| # Runtime compatibility and observation contract | |
| Downloading the files does not install a model implementation, tokenizer, simulator or robot interface. A fresh public installation and restoration/inference of every checkpoint in this repository have not been validated. No turnkey inference command is claimed. | |
| ## Source and loading status | |
| The public source was inspected at ForceBench commit `31acf7353d2f723985e6576a5708f67a81707d61`. Its `baselines/temporal` package is the relevant method family. | |
| The public temporal server and recipe exist, but the packaged factory is based on a later September14 training snapshot. Documented model-source similarity does not certify identical task configs, data transforms, assets or launchers for every saved run. The exact historical config registry is not interchangeable with the current portable factory. | |
| The historical loading API is `openpi.policies.policy_config.create_trained_policy(config, checkpoint_dir)`. It requires the correct config from the corresponding frozen runtime and this checkpoint’s asset ID/normalization; a generic upstream `pi05` config is insufficient. The API name alone is not a runnable setup recipe. | |
| Use separate Linux/Python model environments for modified `openpi` families. Historical reference logs identify Python 3.11, JAX 0.5.3 and Orbax Checkpoint 0.11.13; these are historical observations, not an independently verified clean-install lock for all files here. The original PaliGemma tokenizer is a separate dependency, historically fetched from `gs://big_vision/paligemma_tokenizer.model`. | |
| ## Observation and action contract | |
| | Field | Expected meaning | | |
| |---|---| | |
| | `observation/state` | Seven-dimensional robot state in the original training frame and units | | |
| | `observation/image` | External RGB camera image; trained at 224 × 224 | | |
| | `observation/wrist_image` | Wrist RGB image with the original preprocessing | | |
| | `eef_wrench` | Current six-axis wrist wrench `[Fx,Fy,Fz,Tx,Ty,Tz]`, shape `[6]`, in the original training frame/units | | |
| | `prompt` | Task instruction string | | |
| A causal 16-frame wrench window contributes current wrench, window mean and population standard deviation to the tokenized robot state. | |
| A causal 16-frame wrist-wrench window is sampled at **15 Hz control rate**, ending with the current wrench. Historical interfaces carry `force_history[16,6]` and a Boolean `force_history_is_pad[16]` mask. The original runtime must compute current wrench, window mean and population standard deviation with its preserved padding semantics. Updating history only when a new 50-step policy chunk is requested, or repeating the current wrench 16 times, changes the input. | |
| The paper action contract predicts and executes 50 actions per query, each 7-dimensional, with start offset 0. Preserve TCP position, orientation, gripper conventions, angle wrapping and the per-task normalization. Force history, where used, advances every control step, not only every policy query. | |
| To close the compatibility gap, pin the full matching runtime/config, restore an actual downloaded checkpoint without changing its bytes or normalization, and record a real-observation inference receipt with finite `[50,7]` actions. That would verify software compatibility; reproducing task success rates requires a separate evaluation. | |
| ## Checkpoint completeness | |
| Copy/download the entire selected directory. Orbax OCDBT metadata references multiple shard files; individual large files are not independent models. Keep every `params/` entry, the original `assets/` subdirectories and the root `_CHECKPOINT_METADATA` wherever it exists in the selected original export. Do not flatten normalization paths, discard small OCDBT metadata or rename `9999_fixed` to `9999`. | |
| The normalization and checkpoint-metadata hashes in `PROVENANCE.json` cover only those named files. Use the full published file checksums for weight transfer integrity; a matching total byte count alone does not prove checkpoint identity. | |
| The selected Faucet Direction `9999_fixed` repair export has no root `_CHECKPOINT_METADATA`. This is an explicit preserved exception, not a reason to substitute `9999` or manufacture metadata. All available parameter metadata and shards remain required; exact public-loader compatibility is still unverified. | |