Views
No views yet

pip install -r requirements.txttorch==2.5.1diffusers>=0.30.1transformers>=4.46.2xfuser==0.4.1flash_attn==2.8.3configs/dreamx/eval.json for examples):1{
2 "image_path": "./demo/your_image.png",
3 "caption": "Style: Photorealistic. A description of the scene...",
4 "action_seq": ["w", "wj"],
5 "action_speed_list": [4, 6]
6}1# ======================== Model Path ========================
2MODEL_NAME="./Wan2.2-TI2V-5B"
3CONFIG_PATH="./configs/wan2.2/wan_ti2v_5b.yaml"
4TRANSFORMER_PATH="./Dreamx-5b/"
5
6# ====================== Basic Settings ======================
7INPUT_DIR="./configs/dreamx/eval.json"
8OUTPUT_DIR="./outputs/"
9SAMPLE_HEIGHT=704
10SAMPLE_WIDTH=1280
11VIDEO_LENGTH=121 # 121 frames = 5s @ 24fps, 81 frames = 5s @ 16fps
12FPS=24
13GUIDANCE_SCALE=3.0
14NUM_INFERENCE_STEPS=50
15SEED=42
16
17# ====================== Camera Control ======================
18CAM_METHOD="prope"
19ADD_CONTROL_ADAPTER="--add_control_adapter"
20
21# ======================== Multi-GPU ========================
22WEIGHT_DTYPE="bfloat16"
23ULYSSES_DEGREE=8
24RING_DEGREE=1
25CUDA_DEVICES="0,1,2,3,4,5,6,7"sh inference_dreamx_5b.sh| Action | Description |
|---|---|
w | Move forward |
s | Move backward |
a | Move left |
d | Move right |
j | Tilt down |
k | Tilt up |
l | Pan right |
h | Pan left |
wj = move forward + tilt down, dj = move right + tilt down).| Attribute | Value |
|---|---|
| Architecture | Transformer-based DiT (Diffusion Transformer) |
| Parameters | ~5B |
| Base Model | Wan2.2-5B-TI2V |
| Camera Control | PRoPE (Projective Position Encoding) |
| VAE | AutoencoderKLWan3_8 (temporal compression 4×, spatial compression 16×) |
| Text Encoder | UMT5-XXL |
| Scheduler | Flow Matching Euler Discrete |
| Precision | BFloat16 |
| Max Resolution | 704 × 1280 |
| Frame Count | 121 (5s@24fps) / 81 (5s@16fps), up to 7.5s@16fps |
| Multi-GPU | Ulysses + Ring parallelism via xfuser |
