Skip to content

Commit 2b17867

Browse files
fix fp type in t2i adapter docs (huggingface#4350)
1 parent 4a4cdd6 commit 2b17867

File tree

1 file changed

+1
-1
lines changed
  • docs/source/en/api/pipelines/stable_diffusion

1 file changed

+1
-1
lines changed

docs/source/en/api/pipelines/stable_diffusion/adapter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Next, create the adapter pipeline
6969
import torch
7070
from diffusers import StableDiffusionAdapterPipeline, T2IAdapter
7171

72-
adapter = T2IAdapter.from_pretrained("TencentARC/t2iadapter_color_sd14v1")
72+
adapter = T2IAdapter.from_pretrained("TencentARC/t2iadapter_color_sd14v1", torch_dtype=torch.float16)
7373
pipe = StableDiffusionAdapterPipeline.from_pretrained(
7474
"CompVis/stable-diffusion-v1-4",
7575
adapter=adapter,

0 commit comments

Comments
 (0)