|
Download README.md from SeonghoonYu/Fastwam_distill: direct link, hf CLI and curl.
- Browser
- Download file 3.44 kB
-
https://huggingface.co/SeonghoonYu/Fastwam_distill/resolve/main/README.md
- Command line
-
hf download hf://SeonghoonYu/Fastwam_distill/README.md
-
curl -L -o README.md https://huggingface.co/SeonghoonYu/Fastwam_distill/resolve/main/README.md
3.44 kB
| tags: | |
| - robotics | |
| - world-action-model | |
| - fastwam | |
| - libero | |
| - distillation | |
| # FastWAM-Joint layer-pruned students (6 and 8 layers), LIBERO | |
| Smaller versions of the FastWAM-Joint world action model | |
| ([Fast-WAM](https://arxiv.org/abs/2603.16666)) for LIBERO. Each student keeps a subset of the 30-layer teacher's | |
| layers and is then fine-tuned (SFT) on LIBERO with the teacher's training recipe. | |
| - **Teacher:** FastWAM-Joint, 30 layers, [`qlihua/fastwam-libero-joint-2cam224-1e-4`](https://huggingface.co/qlihua/fastwam-libero-joint-2cam224-1e-4) | |
| (step 21,700). The video expert is the Wan2.2-TI2V-5B DiT; the action expert is an ActionDiT with hidden size 1024. | |
| The action reads the jointly denoised future video at every layer. | |
| - **Students:** the same teacher layers are kept in both experts and renumbered. | |
| | folder | layers kept (teacher indices) | parameters (MoT) | | |
| | --- | --- | --- | | |
| | `joint_6l_sft/` | 0, 6, 12, 17, 23, 29 | 1.29B | | |
| | `joint_8l_sft/` | 0, 4, 8, 12, 17, 21, 25, 29 | 1.68B | | |
| The frozen Wan2.2 VAE and the umt5-xxl text encoder are not included; the FastWAM code loads them from their | |
| original sources. | |
| ## Training | |
| Both students use the same SFT recipe, which is the teacher's own: | |
| - **Loss:** FastWAM's flow-matching loss on video and action, with the Joint attention mask. | |
| - **Data:** the four LIBERO suites (spatial, object, goal, 10). | |
| - **Optimization:** 21,700 steps (10 epochs), global batch 128 (32 × 4 GPUs), AdamW, lr 1e-4 with a cosine | |
| schedule, weight decay 0.01. | |
| - **Schedule:** action shift 5.0. | |
| - **Initialization:** the kept teacher layers. | |
| There is no distillation loss in these runs. | |
| ## LIBERO results | |
| 50 trials per task, 40 tasks. Evaluated with `EVALUATION.sigma_shift=5.0` and the `dataset_stats.json` in each | |
| folder. Steps are the denoising steps of the joint video + action sampler. | |
| | model | steps | spatial | object | goal | long (10) | mean | | |
| | --- | --- | --- | --- | --- | --- | --- | | |
| | teacher (30 layers) | 10 | 99.0 | 99.0 | 98.6 | 97.0 | 98.40 | | |
| | teacher (30 layers) | 1 | 99.2 | 99.8 | 97.6 | 96.8 | 98.35 | | |
| | 8-layer student | 10 | 85.8 | 98.6 | 94.2 | 79.8 | 89.60 | | |
| | 8-layer student | 1 | 86.6 | 98.0 | 89.2 | 68.6 | 85.60 | | |
| | 6-layer student | 10 | 81.8 | 97.2 | 87.2 | 75.8 | 85.50 | | |
| | 6-layer student | 1 | 84.8 | 98.8 | 87.4 | 73.0 | 86.00 | | |
| ## Files | |
| Each folder contains: | |
| | file | contents | | |
| | --- | --- | | |
| | `step_021700.pt` | final weights; a torch dict `{"mot", "proprio_encoder", "step", "torch_dtype"}` in bf16, which loads with `torch.load(..., weights_only=True)` | | |
| | `config.yaml` | full resolved training config | | |
| | `dataset_stats.json` | action/proprio normalization stats (identical to the teacher's) | | |
| | `libero_eval_steps{10,1}_summary.csv` | LIBERO summaries for the table above | | |
| ## Usage with the FastWAM code | |
| Use the `fastwam_joint` model config with: | |
| - `video_dit_config.num_layers` and `action_dit_config.num_layers` set to 6 or 8 | |
| - `action_scheduler.train_shift=5.0` and `action_scheduler.infer_shift=5.0` | |
| Then load the weights with `model.load_checkpoint(<step_021700.pt>)`, or pass them as `ckpt=` to the LIBERO | |
| evaluation together with `EVALUATION.dataset_stats_path=<dataset_stats.json>` and `EVALUATION.sigma_shift=5.0`. | |
| ## License | |
| No license is specified for these weights. They are derived from the teacher checkpoint above, which states no | |
| license. The FastWAM code is MIT-licensed, and Wan2.2 is Apache-2.0. | |