Skip to content

A simple utility to batch update the cache.json contents in AUTOMATIC1111 web UI for Stable Diffusion

License

Notifications You must be signed in to change notification settings

SD-inst/sdhasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This program is mostly for my own semi-public instance that uses a slightly modified code that allows to have frozen settings but still switch models and apply other parameters (such as clip skip) for just one generation.

When I add multiple models to Stable Diffusion and want to make them available with the model swapper they need to be hashed first. It's only possible to do by hand, loading every checkpoint one by one. This program automates populating cache.json so all I need is to restart the web UI after that.

Usage:
  sdhasher [OPTIONS]

Application Options:
  -p=         Path to the models directory
  -i=         Path to source cache.json file
  -o=         Path to resulting cache.json file
  -m=         Max number of hashing tasks

Help Options:
  -h, --help  Show this help message

About

A simple utility to batch update the cache.json contents in AUTOMATIC1111 web UI for Stable Diffusion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages