MiniWAM / robotwin /config.yaml
J1dan's picture
MiniWAM checkpoints, instruction caches and frozen encoders
df15bb1
Raw History Blame Contribute Delete
5.9 kB
pretrained:
vae_path: pretrained/vision/Wan2.1_VAE.pth
text_encoder_path: pretrained/language/models_t5_umt5-xxl-enc-bf16.pth
tokenizer_id: google/umt5-xxl
context_len: 128
model:
visual_encoder:
type: dinov3
future:
temporal_downsample_factor: 4
encode_all_frames: true
compute_dtype: float32
architecture: vitb16
pretraining: lvd1689m
model_id: facebook/dinov3-vitb16-pretrain-lvd1689m
revision: 5931719e67bbdb9737e363e781fb0c67687896bc
resolved_revision: 5931719e67bbdb9737e363e781fb0c67687896bc
frozen: true
input_size: 224
patch_size: 16
feature:
type: patch_tokens
normalization: final_layernorm
l2_normalize: false
include_cls: false
include_registers: false
output_dtype: bfloat16
layers:
mode: final
adapter:
input_dim: 768
hidden_dim: 64
cache:
per_frame: true
storage_dtype: bfloat16
latent_encoder:
in_channels: 16
latent_dim: 64
compression_stages:
- - 64
- - 1
- 3
- 3
- - 1
- 2
- 2
- - 0
- 1
- 1
- - 128
- - 1
- 3
- 3
- - 1
- 2
- 2
- - 0
- 1
- 1
- - 128
- - 3
- 3
- 3
- - 2
- 1
- 1
- - 1
- 1
- 1
use_kl: true
bottleneck:
type: none
target_grid: null
reconstruction:
decoder_enabled: false
lambda_rec: 0.0
hidden_dim: 64
multi_view_latent_encoder:
max_main_slots: 1
max_wrist_slots: 2
camera_rope_slot_stride: 32
mot:
num_heads: 12
attn_head_dim: 64
num_layers: 12
checkpoint_mixed_attn: true
world_dit:
hidden_dim: 768
ffn_dim: 3072
text_dim: 4096
freq_dim: 256
eps: 1.0e-06
use_3d_rope: true
use_gradient_checkpointing: true
action_dit:
hidden_dim: 768
ffn_dim: 3072
text_dim: 4096
freq_dim: 256
eps: 1.0e-06
action_dim: 14
use_gradient_checkpointing: true
context_encoder:
text_dim: 4096
hidden_dim: 768
proprio_dim: 14
world_scheduler:
train_shift: 5.0
num_train_timesteps: 1000
action_scheduler:
train_shift: 5.0
num_train_timesteps: 1000
independent_timesteps: true
stage: 2
architecture: miniwam
stage1_objective: inverse_dynamics
data:
features_root: datasets/dino_features_robotwin2_demo_clean_50x50
vae_path: pretrained/vision/Wan2.1_VAE.pth
text_encoder_path: pretrained/language/models_t5_umt5-xxl-enc-bf16.pth
tokenizer_id: google/umt5-xxl
context_len: 128
action_dim: 14
action_horizon: 24
future_rgb_horizon: 24
num_workers: 4
dataset_name: robotwin2_demo_clean_50x50
proprio_dim: 14
action_type: joint
action_representation: absolute_qpos
action_transform: null
delta_action_mask: null
normalization:
action:
type: zscore_clip
scope: global_exact_training_split
clip: 5.0
epsilon: 1.0e-08
proprio:
type: zscore_clip
scope: global_exact_training_split
clip: 5.0
epsilon: 1.0e-08
split:
tasks: 50
episodes_per_task: 50
episode_ids: 0000000-0000049
source: demo_clean
feature_contract:
dinov3:
architecture: vitb16
boundary_dtype: bfloat16
cache_layout: per_frame_v1
compute_dtype: float32
feature_layers: final
feature_normalization: final_layernorm
feature_type: patch_tokens
include_cls: false
include_registers: false
input_size: 224
l2_normalize: false
model_id: facebook/dinov3-vitb16-pretrain-lvd1689m
patch_size: 16
pretraining: lvd1689m
processor:
crop_size: null
do_center_crop: null
do_normalize: true
do_rescale: true
do_resize: true
image_mean:
- 0.485
- 0.456
- 0.406
image_std:
- 0.229
- 0.224
- 0.225
implementation: DINOv3ViTImageProcessorFast
resample: 2
rescale_factor: 0.00392156862745098
size:
height: 224
width: 224
resolved_revision: 5931719e67bbdb9737e363e781fb0c67687896bc
revision: 5931719e67bbdb9737e363e781fb0c67687896bc
storage_dtype: bfloat16
text:
encoding:
compute_dtype: torch.bfloat16
context_len: 128
encoder_sha256: 7cace0da2b446bbbbc57d031ab6cf163a3d59b366da94e5afe36745b746fd81d
encoding_backend: cuda
encoding_sources:
models/wan_video_text_encoder.py: aedf7f131556a39b99a273deec3a85d67f41b5367cef41f310f33a807ae60a87
prompting.py: bf26161c383fd009153ab1fd725bd3a5d53a86ee890c44d884492c022d257d23
text_encoding.py: 6b79295e68d87f6176486ddf757306a5fb8a2e09b9dbc5b124fb80301a706c4e
prompt_template: 'A video recorded from a robot''s point of view executing
the following instruction: {task}'
schema_version: 2
storage_dtype: torch.bfloat16
tokenizer_id: google/umt5-xxl
tokenizer_backend_sha256: e99f6ad706709653ba3db032f7c12ab0d0bd594f3f7a49ecf0e0fa185a971d26
training:
seed: 42
global_batch_size: 256
per_device_batch_size: 256
learning_rate: 0.0005
weight_decay: 0.0
max_grad_norm: 1.0
lr_scheduler_type: cosine
warmup_ratio: 0.05
mixed_precision: bf16
gradient_accumulation_steps: 1
max_steps: 25epoch
save_interval: 5epoch
log_interval: 10
output_dir: outputs/robotwin_stage2
inference:
num_inference_steps: 20
seed: 42
replan_steps: action_horizon
logging:
use_wandb: false
wandb_api_key: null
wandb_project: miniwam
wandb_entity: null
wandb_run_name: robotwin-stage2
stage: 2
checkpoint:
stage1_path: outputs/robotwin_stage1/latest
policy_init: stage1
loss:
lambda_action: 1.0
lambda_latent: 1.0
kl_beta: 0.0
kl_warmup_steps: 0