Index
2026-05-01 ~ 2026-05-04 — Experiment

Robocasa T2V 전체 학습 — 70K demos, Step 20,300

EgoX v2 / exp3  |  Wan2.1-T2V-1.3B LoRA rank 128  |  23 tasks, 4 GPU, core-extra QOS

TL;DR

20,300
Current Step
70,267
Train Demos
~0.03
Typical Loss
25+
Preemptions
4s
Per Step

1 배경 / 목적

2026-04-27 구현된 Wan T2V 파이프라인의 full-scale 학습 실행. 기존 EgoX2 실험들(exp1/exp2: DROID, EgoExo4D)과 독립적으로 robocasa manipulation domain에서의 2-view RGB + PT 공동 생성 학습 신호를 확보하는 것이 목적.

학습 목표: step 500마다 validation GT vs Pred 비디오로 두 뷰 시간적 일관성 + PT셀 sanity 정성 확인. 1k step 내에 loss 1.0↓ 도달 여부 체크.

Smoke test 완료 (2026-04-30): Robocasa_smoke/ — 4-step, latent shape [1,16,21,54,96] 확인, frame 0 clamp 검증, step 4 validation mp4 생성 완료

2 작업 내용

학습 설정

모델: Wan2.1-T2V-1.3B-Diffusers (LoRA rank 128, target: to_q/k/v/out.0) 데이터: robocasa single_stage 전체 24 HDF5 (23 tasks), 70,267 train / 240 val → split: datasets/robocasa_split.json (seed=42, n_val_per_hdf5=10) 해상도: 81×432×768 (F=81, 2×216 height, 2×384 width) latent → [16, 21, 54, 96] 배치: batch_size=1, grad_accum=1, lr=5e-5, warmup=100 steps 검증: every 500 steps, 2 samples (CoffeePressButton demo_116, demo_147) Checkpointing: every 100 steps, keep 10 GPU: 4×B200 (core-extra / core-on-sub QOS) Step당 시간: ~3.8–4.1s 총 steps: ~1,756,700

제출 패턴 (sbmr auto-requeue)

conda activate egoxv2 sbmr 5 "bash scripts/run_robocasa_t2v.sh" \ --gres=gpu:4 -c 56 --mem 800GB --qos=core-extra # PREEMPTED 시 자동으로 최대 5회 requeue. # 각 재시작에서 최신 checkpoint로 resume (checkpointing_steps=100).

SLURM 진행 이력 (May 1–4)

기간Job IDs상태특이사항
May 1 22:36 ~ May 2 04:013491, 3908, 4006COMPLETED × 2, PREEMPTED × 1첫 정상 학습 시작. 3491: 1h24m, 3908: 40min COMPLETED
May 2 12:07 ~ 21:004229–4458CANCELLED × 4, PREEMPTED × 3sub/extra QOS 혼용 시도, 반복 선점
May 2 21:33 ~ May 3 01:254491–4577PREEMPTED × 3, CANCELLED × 14491: 2h17m로 최장 연속 실행
May 3 01:50 ~ May 4 진행 중4594, 5183, 5363, 5430PREEMPTED × 3, RUNNING4594: 12h11m (step ~10-13k), 5183: 2h, 5363: 1h40m, 5430 현재 RUNNING ~7h+

3 결과

학습 진행률 (May 4 09:33 기준)

최신 Checkpoint
step-20300
전체 진행률
1.16%
Epoch 진행
~0.29 ep
Validation 최신
step-20000
Loss 범위 (step 10k~20k)
0.01–0.10
Typical loss
~0.02–0.05

전체 진행률:

Step 0Step 20,300 (현재)Step 1,756,700 (완료)

Loss 로그 샘플 (slurm 출력 기반)

StepLoss (샘플)grad_norm (샘플)lr출처 Job
~10,8000.022, 0.011, 0.0250.007–0.0125e-54594
~13,5000.044, 0.012, 0.0160.008–0.0685e-54594
~19,2000.044, 0.014, 0.0340.006–0.0085e-55363
~19,400~20,3000.035, 0.017, 0.0270.008–0.1545e-55430
주의: 개별 step loss는 배치 내 단일 demo → 분산 큼. 안정적 평균 추이는 tensorboard의 sliding window 확인 필요.

Validation 출력 (step 13,500 기준)

results/Robocasa/validation/step_0013500/ ├── CoffeePressButton_demo_116_gt_vs_pred.mp4 (top=GT, bottom=Pred) └── CoffeePressButton_demo_147_gt_vs_pred.mp4 step_0020000/ 까지 40개 validation checkpoint 생성
정성 평가 보류: GT vs Pred 비디오의 wrist/agentview 일관성, PT셀 XYZ 그라디언트 sanity는 사용자 직접 시청 필요.

Checkpoint 디렉토리 (최근)

results/Robocasa/ ├── checkpoint-19400 (May 4 08:33) ├── checkpoint-19500 (May 4 08:39) ├── ... └── checkpoint-20300 (May 4 09:33) ← 최신 validation/step_0020000/ ← 최신 validation

4 Takeaway

Preemption 대응 평가

May 1–3에 25+ preemption이 발생했음에도 checkpointing_steps=100 (5분~7분 간격) 덕분에 학습 진행이 단절 없이 이어졌다. sbmr의 자동 requeue + conda env 자동 wrap 조합이 실질적인 fault tolerance를 제공함.

가장 긴 단일 연속 실행: job 4594 (12h11m, step ~0 → 13,500). 현재 job 5430이 7h+ RUNNING 중으로 최근 가장 안정적인 구간.

Loss가 step 10k 시점에 이미 0.02–0.05 수준으로 안정 — warmup 100 steps이 지나고 LoRA가 빠르게 task 분포를 학습한 것으로 해석. 그러나 1 epoch = 70,267 step이므로 step 20k는 아직 첫 epoch의 29%에 불과. 충분한 학습 단계를 거쳐야 validation 품질이 의미 있게 평가 가능.

5 Next Steps