Skip to content

Commit bae97da

Browse files
committed
Sync Ascend platform configs
1 parent 841009f commit bae97da

13 files changed

Lines changed: 43 additions & 18 deletions

configs/platforms/ascend_npu/ltx2_3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"audio_mel_bins":16,
2121
"double_precision_rope": false,
2222
"use_tiling_vae": false,
23-
"dit_original_ckpt": "/data/wushuo1/to5_models/LTX-2.3/ltx-2.3-22b-dev.safetensors",
23+
"dit_original_ckpt": "/data/wushuo1/models/LTX-2.3/ltx-2.3-22b-dev.safetensors",
2424
"caption_proj_before_connector": true,
2525
"cross_attention_adaln": true,
2626
"apply_gated_attention": true,
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"infer_steps": 40,
3+
"target_video_length": 81,
4+
"text_len": 512,
5+
"target_height": 720,
6+
"target_width": 1280,
7+
"self_attn_1_type": "npu_flash_attn",
8+
"cross_attn_1_type": "npu_flash_attn",
9+
"cross_attn_2_type": "npu_flash_attn",
10+
"sample_guide_scale": [
11+
4.0,
12+
3.0
13+
],
14+
"sample_shift": 12.0,
15+
"enable_cfg": true,
16+
"cpu_offload": true,
17+
"offload_granularity": "model",
18+
"t5_cpu_offload": false,
19+
"vae_cpu_offload": false,
20+
"boundary": 0.875,
21+
"modulate_type": "torch",
22+
"rope_type": "torch",
23+
"layer_norm_type": "torch",
24+
"rms_norm_type": "torch"
25+
}

configs/platforms/ascend_npu/wan_t2v_sf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"sample_shift": 5.0,
1212
"enable_cfg": false,
1313
"cpu_offload": false,
14-
"dit_original_ckpt": "/data/wushuo1/to5_models/Self-Forcing/checkpoints/self_forcing_dmd.pt",
14+
"dit_original_ckpt": "/data/wushuo1/models/Self-Forcing/checkpoints/self_forcing_dmd.pt",
1515
"causal_rope_type": "torch",
1616
"modulate_type": "torch",
1717
"rope_type": "torch",

scripts/platforms/ascend_npu/infer_flux2_dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Usage: bash infer_flux2_dev.sh
55

66
lightx2v_path=/data/wushuo1/LightX2V
7-
model_path=/data/wushuo1/to5_models/FLUX.2-dev
7+
model_path=/data/wushuo1/models/FLUX.2-dev
88

99
export PLATFORM=ascend_npu
1010
export ASCEND_RT_VISIBLE_DEVICES=0

scripts/platforms/ascend_npu/longcat_image_t2i.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# LongCat Image T2I Inference Script
44
# Usage: bash longcat_image_t2i.sh
55

6-
lightx2v_path=/workspace
7-
model_path=/workspace/models/LongCat-Image
6+
lightx2v_path=/data/wushuo1/LightX2V
7+
model_path=/data/wushuo1/models/LongCat-Image
88

99
export PLATFORM=ascend_npu
1010
export ASCEND_RT_VISIBLE_DEVICES=0

scripts/platforms/ascend_npu/qwen_image_i2i_2511.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# System management interface: npu-smi info
44

55
# set path firstly
6-
lightx2v_path=
7-
model_path=
6+
lightx2v_path=/data/wushuo1/LightX2V
7+
model_path=/data/wushuo1/models/Qwen-Image-2512
88

99
export PLATFORM=ascend_npu
1010
export ASCEND_RT_VISIBLE_DEVICES=0

scripts/platforms/ascend_npu/qwen_image_t2i_2512.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

33
# set path firstly
4-
lightx2v_path=/data/nvme1/yongyang/ddc/yong/LightX2V
5-
model_path=/data/nvme1/models/Qwen/Qwen-Image-2512
4+
lightx2v_path=/data/wushuo1/LightX2V
5+
model_path=/data/wushuo1/models/Qwen-Image-2512
66

77
export PLATFORM=ascend_npu
88
export ASCEND_RT_VISIBLE_DEVICES=0

scripts/platforms/ascend_npu/run_hy15_t2v_480p.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# set path firstly
44
lightx2v_path=/data/wushuo1/LightX2V
5-
model_path=/data/wushuo1/to5_models/HunyuanVideo-1.5
5+
model_path=/data/wushuo1/models/HunyuanVideo-1.5
66

77
export PLATFORM=ascend_npu
88
export ASCEND_RT_VISIBLE_DEVICES=0

scripts/platforms/ascend_npu/run_ltx2_3_s2v.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# set path and first
44
lightx2v_path=/data/wushuo1/LightX2V
5-
model_path=/data/wushuo1/to5_models/LTX-2
5+
model_path=/data/wushuo1/models/LTX-2
66
AUDIO_PATH=/data/wushuo1/ltx2_s2v_sample.wav
77

88
export PLATFORM=ascend_npu

scripts/platforms/ascend_npu/run_wan21_t2v.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# System management interface: npu-smi info
44

55
# set path firstly
6-
lightx2v_path=
7-
model_path=
6+
lightx2v_path=/data/wushuo1/LightX2V
7+
model_path=/data/wushuo1/models/Wan2.1-T2V-1.3B
88

99
export PLATFORM=ascend_npu
1010
export ASCEND_RT_VISIBLE_DEVICES=0

0 commit comments

Comments
 (0)