Skip to content

Commit e4a76f2

Browse files
committed
docs: add --onnx option to documentation
1 parent 9fb71c6 commit e4a76f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ By default, the pipeline uses the full model and weights which requires a CUDA
2626
capable GPU with 8GB+ of VRAM. It should take a few seconds to create one image.
2727
On less powerful GPUs you may need to modify some of the options; see the
2828
[Examples](#examples) section for more details. If you lack a suitable GPU you
29-
can set the option `--device cpu` instead.
29+
can set the options `--device cpu` and `--onnx` instead.
3030

3131
### Huggingface token
3232

@@ -155,6 +155,7 @@ original image (default `None`)
155155
`None`)
156156
* `--negative-prompt [NEGATIVE_PROMPT]`: the prompt to not render into an image
157157
(default `None`)
158+
* `--onnx`: use the onnx runtime for inference (default is off)
158159
* `--skip`: skip safety checker (default is the safety checker is on)
159160
* `--strength [STRENGTH]`: diffusion strength to apply to the input image
160161
(default 0.75)

0 commit comments

Comments
 (0)