Skip to content

Commit

Permalink
Update docs/source/tutorials/stable_diffusion.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Benayoun <[email protected]>
  • Loading branch information
JingyaHuang and michaelbenayoun authored Jun 27, 2024
1 parent cf64985 commit 88a3f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/tutorials/stable_diffusion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ ControlNet conditions the stable diffusion model with an additional input image.

We can either compile one or multiple ControlNet via the Optimum CLI or programatically via the `NeuronStableDiffusionControlNetPipeline` class by passing the `controlnet_ids`.

* Export via CLI
* Export via the Optimum CLI

```bash
optimum-cli export neuron -m runwayml/stable-diffusion-v1-5 --task stable-diffusion --batch_size 1 --height 512 --width 512 --controlnet_ids lllyasviel/sd-controlnet-canny --num_images_per_prompt 1 sd_neuron_controlnet/
Expand Down

0 comments on commit 88a3f2c

Please sign in to comment.