• Stefy Lanza (nextime / spora )'s avatar
    Fix: Wrap LoRA loading and offloading in defer_i2v_loading check · 0a1f210c
    Stefy Lanza (nextime / spora ) authored
    When defer_i2v_loading=True (I2V mode without provided image), the code
    sets pipe=None but then tried to call pipe.load_lora_weights() and
    pipe.enable_model_cpu_offload() on None, causing AttributeError.
    
    This fix wraps the LoRA loading and offloading configuration blocks
    inside an 'if not defer_i2v_loading:' condition so they are skipped
    when the I2V model loading is deferred until after image generation.
    0a1f210c
Name
Last commit
Last update
EXAMPLES.md Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
SKILL.md Loading commit data...
requirements.txt Loading commit data...
videogen Loading commit data...
videogen_mcp_server.py Loading commit data...
videogen_models.json Loading commit data...