Commit d1d55ad0 authored by gushiqiao's avatar gushiqiao Committed by GitHub
Browse files

Remove unused paths

Remove unused paths
parents 464d2424 07ae299d
...@@ -210,8 +210,9 @@ def get_quantization_options(model_path): ...@@ -210,8 +210,9 @@ def get_quantization_options(model_path):
choices.append(int8_type) choices.append(int8_type)
# If no subdirectories but original file exists, add original type # If no subdirectories but original file exists, add original type
if not choices and has_original_file: if has_original_file:
choices.append(original_type) if not choices or "original" not in choices:
choices.append(original_type)
# If no options at all, use default value # If no options at all, use default value
if not choices: if not choices:
......
...@@ -212,8 +212,9 @@ def get_quantization_options(model_path): ...@@ -212,8 +212,9 @@ def get_quantization_options(model_path):
choices.append(int8_type) choices.append(int8_type)
# 如果没有子目录但有原始文件,添加原始类型 # 如果没有子目录但有原始文件,添加原始类型
if not choices and has_original_file: if has_original_file:
choices.append(original_type) if not choices or "original" not in choices:
choices.append(original_type)
# 如果没有任何选项,使用默认值 # 如果没有任何选项,使用默认值
if not choices: if not choices:
......
...@@ -18,7 +18,7 @@ lightx2v_path=/data/video_gen/LightX2V ...@@ -18,7 +18,7 @@ lightx2v_path=/data/video_gen/LightX2V
# Model path configuration # Model path configuration
# Image-to-video model path (for i2v tasks) # Image-to-video model path (for i2v tasks)
# Example: /path/to/Wan2.1-I2V-14B-720P-Lightx2v # Example: /path/to/Wan2.1-I2V-14B-720P-Lightx2v
i2v_model_path=/wan_0726/wan_test/fp8 i2v_model_path=/path/to/Wan2.1-I2V-14B-480P-Lightx2v
# Text-to-video model path (for t2v tasks) # Text-to-video model path (for t2v tasks)
# Example: /path/to/Wan2.1-T2V-1.3B # Example: /path/to/Wan2.1-T2V-1.3B
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment