Skip to content

Unable to change the checkpoints dir to "stable-diffusion", and if I symlink it, everything appears doubled #1493

@nonplayer

Description

@nonplayer

What happened?

Windows 11, SM version 2.15.4

Hello folks! I'm attempting to integrate Stability Matrix as a new model organizer tool for an existing large collection with an already long-established process. I have a rather large number of tools that integrate with my models repo, and that repo uses the more classic "stable-diffusion" path for storing checkpoint models.

I am trying to get Stability Matrix to download to that dir instead of "StableDiffusion" but it seems hard-coded for some reason. I even saw there was a setting for it specifically in the settings json:

    "Checkpoint": {
      "SelectedInstallLocation": "Models\\StableDiffusion"
    }

But Stability Matrix apparently ignores this entirely. In fact if I change it, it just gets reverted automatically next time I try to download anything.

So I attempted the usual trick of creating StableDiffusion as a link to stable-diffusion, which works for the installation of new models, but now Stability Matrix shows every one of my checkpoints as duplicated. I've since reverted to having StableDiffusion be its own non-symlinked dir.

Currently my work-around is a simple wrapper script that automatically moves all the contents of StableDiffusion to stable-diffusion before launching the app, and again after it closes. It's hacky though, and I'd like to avoid that.

So I guess my post here is a request for one of two enhancements:

  • Either an enhancement to allow custom setting the individual model type directories, or
  • An enhancement so it doesn't double-up on the models if a symlink is used.

Thanks for your time!

Steps to reproduce

No response

Relevant logs

Version

2.15.4

What Operating System are you using?

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions