Skip to content

Using extra_model_paths.yaml can cause checkpoints to be listed twice #312

@kaptainkory

Description

@kaptainkory

LoRA Manager Version

  • Version: nightly [0.8.21]

Environment Information

  • Operating System: Linux Mint
  • Browser & Version: Chrome

Issue Description

  • My checkpoints were showing up as doubled (two icons for every different one). Upon troubleshooting, I discovered the issue comes from using extra_model_paths.yaml with particular settings.

Steps to Reproduce

  1. Enable extra_model_paths.yaml.
  2. Set BOTH "checkpoints" AND "diffusion_models" parameters to the same source folder.
  3. This "duplicates" the models in the lora-manager. (They do not register as true duplicates when checked by hash.)

Expected Behavior

  • Models should not appear doubled by these settings.

Additional Context (Optional)

  • My extra_model_paths.yaml file looks like this, in part:
comfyui:
     base_path: /aiart/
     is_default: true
     checkpoints: chkpts
     diffusion_models: chkpts
     unet: chkpts
  • Oddly, lora-manager doesn't show the models in triplicate (even though I have three parameter "folders" pointing to the same source), but it does duplicate them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions