• Stefy Lanza (nextime / spora )'s avatar
    Video LoRA: skip adapters incompatible with the video model · 8b30dcc3
    Stefy Lanza (nextime / spora ) authored
    An SD/SDXL image LoRA loaded onto a Wan video transformer matches no keys, so
    set_adapters() raised "not in the list of present adapters: set()" and aborted
    the whole request. Now each adapter is checked against the pipe's PEFT-capable
    components after load; ones that registered nothing (wrong architecture) are
    skipped with a clear message and generation proceeds with whatever is
    compatible (or no LoRA). The request signature is still cached so the futile
    load isn't retried every clip.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    8b30dcc3
video.py 94.3 KB