Commit 186980e3 authored by Stefy Lanza (nextime / spora )'s avatar Stefy Lanza (nextime / spora )

Merge branch 'experimental'

parents 4254eddc 410f97e9
......@@ -8654,7 +8654,14 @@ def main(args):
if is_lora:
lora_id = m_info["id"]
base_model_id = m_info.get("base_model")
# For Wan LoRA adapters, don't use stored base_model as it may be incorrect
# Instead, always infer from LoRA ID (check for i2v vs t2v)
lora_id_lower = lora_id.lower()
if "wan" in lora_id_lower:
# Skip reading from config - infer from LoRA ID instead
base_model_id = None
else:
base_model_id = m_info.get("base_model")
# Allow manual override via --base-model
if args.base_model:
......
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