[Diffusion] [NPU] Wan2.2-T2V-A14B-Diffusers modelslim quantization support (#17996)
Co-authored-by: ronnie_zheng <zl19940307@163.com>
This commit is contained in:
co-authored by
ronnie_zheng
parent
f8d4eb7022
commit
5297b02c88
@@ -287,7 +287,7 @@ def _get_config_info(
|
||||
for registered_model_hf_id in all_model_hf_paths:
|
||||
registered_model_name = get_model_short_name(registered_model_hf_id.lower())
|
||||
|
||||
if registered_model_name == model_short_name:
|
||||
if registered_model_name in model_short_name:
|
||||
logger.debug(
|
||||
f"Resolved model name '{registered_model_hf_id}' from partial path match."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user