Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving checkpoints selectively to external drive? #771

Closed
fbauer-kunbus opened this issue Jul 18, 2024 · 3 comments
Closed

Moving checkpoints selectively to external drive? #771

fbauer-kunbus opened this issue Jul 18, 2024 · 3 comments
Labels
stale Stale issue or inactive for long period of time

Comments

@fbauer-kunbus
Copy link

Is there a way to move certain rarely used checkpoints to an external drive while keeping the most important ones on the same drive where Stability Matrix is installed? Can it be done with using additional symbolic links on my windows system? Is this something that can be configured from within Stability Matrix? Can someone point to a solution?

@skelsan
Copy link

skelsan commented Jul 26, 2024

You can make a symbolic link using Windows tools.

  1. Create a directory on an external disk where you plan to store rarely used models.
  2. Move your models to this directory.
  3. In Windows, open a command prompt (cmd, not the modern PowerShell) with administrator privileges.
    One easy way to do this: Press Win+R to open the "Run" box. Type "cmd" into the box and then press Ctrl+Shift+Enter to run the command as an administrator. Click "Yes" when the UAC warning appears.
    At the command prompt that opens, you type the following:

mkdir /D "destination" "source"

"destination" - path to the directory with models in the StabilityMatrix.
"source" - path to the directory with models on your external disk.

For example, in my case, disk L is the external disk, disk F is the internal disk where StabilityMatrix is installed, SD15LCM is the directory where rarely used models are stored.

mklink /D "F:\StabilityMatrix\Models\StableDiffusion\SD15LCM" "L:\ModelX\SD15LCM"

Before executing the command, please note that there must not be a directory in the destination directory with the name you gave to the rare models directory, otherwise you will get an error. Also pay attention that the path in the source and destination do not end with a slash sign.

ionite34 added a commit to LykosAI/StabilityMatrix-Dev that referenced this issue Aug 15, 2024
Update changelog

(cherry picked from commit f25fbb0)
Copy link

This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, else this will be closed in 5 days.

@github-actions github-actions bot added the stale Stale issue or inactive for long period of time label Aug 26, 2024
Copy link

This issue was closed because it has been stale for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2024
mohnjiles pushed a commit to LykosAI/StabilityMatrix-Dev that referenced this issue Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue or inactive for long period of time
Projects
None yet
Development

No branches or pull requests

2 participants