1. 26 Feb, 2026 4 commits
    • Stefy Lanza (nextime / spora )'s avatar
      fix: Use Wan2.2-T2V as base for all Wan 2.2 models · 1162d3c0
      Stefy Lanza (nextime / spora ) authored
      The user confirmed that Wan2.2-I2V models should use Wan2.2-T2V
      as the base model, not the I2V variant.
      1162d3c0
    • Stefy Lanza (nextime / spora )'s avatar
      fix: Normalize model ID when matching Wan base models · 77a089f8
      Stefy Lanza (nextime / spora ) authored
      The issue was that model IDs from HuggingFace use dots (wan2.2-i2v-a14b)
      while user config names use underscores (wan2_2_i2v_a14b).
      
      Now we normalize the model ID by replacing underscores with dots before
      matching against the base_model_fallbacks dictionary.
      77a089f8
    • Stefy Lanza (nextime / spora )'s avatar
      fix: Ensure more specific Wan model keys match first · 9a48c010
      Stefy Lanza (nextime / spora ) authored
      The issue was that model IDs like 'wan2_2_i2v_a14b' would match
      'wan2_2' (T2V) before 'wan2_2_i2v' (I2V) because 'wan2_2' comes
      first in the dictionary.
      
      Now the dictionary is ordered with more specific keys first:
      - wan2_2_i2v_a14b (most specific)
      - wan2.2_i2v_a14b
      - wan2_2_i2v
      - wan2.2_i2v
      - wan2_2
      - wan2.2
      etc.
      
      This ensures longer/more specific keys are checked before shorter ones.
      9a48c010
    • Stefy Lanza (nextime / spora )'s avatar
      fix: Detect Wan 2.2 I2V base model correctly for image-to-video models · ec05b598
      Stefy Lanza (nextime / spora ) authored
      Before this fix, using Wan 2.2 I2V models like 'wan2_2_i2v_a14b' would
      incorrectly try to load 'Wan-AI/Wan2.1-T2V-14B-Diffusers' as the base
      model because the fallback logic only matched 'wan' generically.
      
      Now the base_model_fallbacks dictionary includes specific entries for:
      - Wan 2.2 I2V models: wan2_2_i2v, wan2.2_i2v
      - Wan 2.2 T2V models: wan2_2, wan2.2
      - Wan 2.1 I2V models: wan2_1_i2v, wan2.1_i2v
      - Wan 2.1 T2V models: wan2_1, wan2.1
      - Generic Wan fallback: wan
      
      The more specific keys are checked first, so model IDs like
      'wan2_2_i2v_a14b' will correctly match 'wan2_2_i2v' and use
      'Wan-AI/Wan2.2-I2V-14B-Diffusers' as the base model.
      ec05b598
  2. 25 Feb, 2026 36 commits