Views
No views yet
CogVideoX-2b + LoRA (r=16) · NVIDIA Warp Physics · Single H100 NVL
| Metric | Base CogVideoX-2b | PDW (Ours) | Improvement |
|---|---|---|---|
| Diffusion MSE — test_medium | 2.2676 | 0.3861 | +83.0% |
| Diffusion MSE — test_very_high | 2.2763 | 0.3790 | +83.4% |
| Average | 2.272 | 0.383 | +83.2% |
| Component | Details |
|---|---|
| Base Model | CogVideoX-2b (2B parameter text-to-video diffusion transformer) |
| Adapter | LoRA — rank r=16, alpha=32 |
| Target Modules | to_q, to_k, to_v, to_out.0 (attention projections) |
| Trainable Params | ~3.7M of 2B total (0.185%) |
| Physics Engine | NVIDIA Warp 1.11.1 — GPU-accelerated rigid body simulator |
| Simulation | Semi-implicit Euler, 60 Hz, ground collision with restitution |
| Training Loss | Diffusion MSE on Warp-generated physics-correct frames |
| LR Schedule | 10-step linear warmup (1e-6 → 1e-4) then cosine decay to 1e-6 |
| Hardware | Single NVIDIA H100 NVL (99.9 GB VRAM) — 13.9 GB peak usage |
| Hyperparameter | Value |
|---|---|
| LoRA rank (r) | 16 |
| LoRA alpha | 32 |
| LoRA dropout | 0.05 |
| Peak learning rate | 1e-4 |
| Optimiser | AdamW (β=(0.9, 0.999), ε=1e-8, weight_decay=0.01) |
| Training steps | 200 (5 epochs × 40 steps) |
| Batch size | 1 |
| Diffusion timesteps | DDPMScheduler (1000 steps), random t ∈ [50, 950] |
| Precision | bfloat16 |
| Gradient clipping | 1.0 |
| Scenario | Drop Height | Restitution | Physics Behaviour |
|---|---|---|---|
| ball_drop_low | 2m | 0.70 | Low-energy drop, high bounce |
| ball_drop_high | 5m | 0.60 | Standard gravity, moderate bounce |
| ball_elastic | 3m | 0.85 | Very elastic — multiple high bounces |
| ball_heavy | 4m | 0.30 | Inelastic — dead stop after first bounce |
| Epoch | Avg Loss | Notes |
|---|---|---|
| 1 | 1.512 | Warmup spike — expected |
| 2 | ~0.45 | Fast learning |
| 5 | 0.341 | Converged — 77% drop from epoch 1 |