refactor: update configuration parameters in bridge.py and lightx2v submodule, including renaming and commenting out unused options

This commit is contained in:
gaclove
2026-01-30 12:57:36 +00:00
parent 3dff98a341
commit 947f5dee1e
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -158,9 +158,10 @@ class LightX2VDefaultConfig:
"seq_parallel": False,
"cfg_parallel": False,
"audio_sr": 16000,
"return_video": True,
#"return_video": True,
"talk_objects": None,
"boundary_step_index": 2,
"rope_type": "torch",
}
@@ -309,7 +310,7 @@ class ModularConfigManager:
"height": "target_height",
"width": "target_width",
"video_length": "target_video_length",
"fps": "fps",
"fps": "target_fps",
"video_duration": "video_duration",
"resize_mode": "resize_mode",
"denoising_step_list": "denoising_step_list",
@@ -332,7 +333,7 @@ class ModularConfigManager:
attention_type = config.get("attention_type", LightX2VDefaultConfig.DEFAULT_ATTENTION_TYPE)
for attn_key in [
"attention_type",
#"attention_type",
"self_attn_1_type",
"cross_attn_1_type",
"cross_attn_2_type",