sdhasher

command module
v0.0.0-...-a7af364 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2023 License: Unlicense Imports: 12 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL