Skip to content

Commit

Permalink
Controlnet logo to gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsie011 committed Nov 21, 2023
1 parent 0253324 commit a042458
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/logo-controlnet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
torch_dtype=torch.float16,
)
pipe.enable_model_cpu_offload()
pipe = pipe.to("cuda")
```

## Predict Function
Expand Down

0 comments on commit a042458

Please sign in to comment.