stable-diffusion.cpp/models
Ikko Eltociear Ashimine cb01adee20
docs: fix typo in convert.py (#17)
signficant -> significant
2023-08-21 21:56:21 +08:00
..
.gitignore Initial commit 2023-08-13 16:00:22 +08:00
convert.py docs: fix typo in convert.py (#17) 2023-08-21 21:56:21 +08:00
README.md Initial commit 2023-08-13 16:00:22 +08:00
requirements.txt Initial commit 2023-08-13 16:00:22 +08:00
vocab.json Initial commit 2023-08-13 16:00:22 +08:00

Model Convert Script

Requirements

pip install -r requirements.txt

Usage

usage: convert.py [-h] [--out_type {f32,f16,q4_0,q4_1,q5_0,q5_1,q8_0}] [--out_file OUT_FILE] model_path

Convert Stable Diffuison model to GGML compatible file format

positional arguments:
  model_path            model file path (*.pth, *.pt, *.ckpt, *.safetensors)

options:
  -h, --help            show this help message and exit
  --out_type {f32,f16,q4_0,q4_1,q5_0,q5_1,q8_0}
                        output format (default: based on input)
  --out_file OUT_FILE   path to write to; default: based on input and current working directory