LGG100 commited on
Commit
cc2846f
·
verified ·
1 Parent(s): 6b79146

README: document serve code

Browse files
Files changed (1) hide show
  1. README.md +14 -1
README.md CHANGED
@@ -14,6 +14,19 @@ Prompt (must match byte-for-byte):
14
 
15
  Base weights are not included: FastWAM needs Wan2.2-TI2V-5B (VAE + T5) and `ActionDiT_linear_interp_Wan22_alphascale_1024hdim.pt`; ImageWAM needs FLUX.2-klein-4B and its autoencoder; π0.5 loads the PaliGemma tokenizer from openpi.
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  ## Serve
18
 
19
  FastWAM (EEF passthrough, client does kinematics):
@@ -34,7 +47,7 @@ python scripts/g1/serve_imagewam_g1.py \
34
  --ckpt runs/$RUN/checkpoints/weights/step_006000.pt \
35
  --dataset-stats runs/$RUN/dataset_stats.json \
36
  --prompt-embeds ../checkpoints/imagewam_g1/g1_simple_pick_eef_prompt_embeds.npz \
37
- --g1-client-path <path-to-g1-client> \
38
  --task-config g1_simple_pick_eef_flux2_klein_4b --port 8000
39
  ```
40
 
 
14
 
15
  Base weights are not included: FastWAM needs Wan2.2-TI2V-5B (VAE + T5) and `ActionDiT_linear_interp_Wan22_alphascale_1024hdim.pt`; ImageWAM needs FLUX.2-klein-4B and its autoencoder; π0.5 loads the PaliGemma tokenizer from openpi.
16
 
17
+ ## Serve code
18
+
19
+ Inference code is included at the same paths as the training repos (no training scripts):
20
+
21
+ | Path | Contents |
22
+ |---|---|
23
+ | `fastwam/` | `serve.py`, `serve_stack_cube_eef.py` (EEF server for all `*_eef` models), `src/fastwam`, `configs/`, `pyproject.toml` |
24
+ | `imagewam/ImageWAM/` | `scripts/g1/serve_imagewam_g1.py`, `scripts/g1/inference_methods.py`, `src/imagewam`, `configs/`, `pyproject.toml` |
25
+ | `pi/openpi-fintune/` | `scripts/serve_policy.py`, `src/openpi`, `packages/openpi-client`, `pyproject.toml`, `uv.lock`, G1 URDF in `scripts/assets/g1/` |
26
+ | `g1-client/g1_client/` | msgpack wire codec shared by client and all three servers |
27
+
28
+ FastWAM finds `../g1-client` and the URDF at `../pi/openpi-fintune/scripts/assets/g1/` by default, so the layout here works as-is. The URDF is only needed with `--state-space joint` / `--action-space joint` (requires `pip install pin`).
29
+
30
  ## Serve
31
 
32
  FastWAM (EEF passthrough, client does kinematics):
 
47
  --ckpt runs/$RUN/checkpoints/weights/step_006000.pt \
48
  --dataset-stats runs/$RUN/dataset_stats.json \
49
  --prompt-embeds ../checkpoints/imagewam_g1/g1_simple_pick_eef_prompt_embeds.npz \
50
+ --g1-client-path ../../g1-client \
51
  --task-config g1_simple_pick_eef_flux2_klein_4b --port 8000
52
  ```
53