@@ -32,7 +32,7 @@ The abstract of the paper is the following:
32
32
33
33
- *Run AltDiffusion*
34
34
35
- AltDiffusion can be tested very easily with the [`AltDiffusionPipeline`], [`AltDiffusionImg2ImgPipeline`] and the `"BAAI/AltDiffusion"` checkpoint exactly in the same way it is shown in the [Conditional Image Generation Guide](./using-diffusers/conditional_image_generation) and the [Image-to-Image Generation Guide](./using-diffusers/img2img).
35
+ AltDiffusion can be tested very easily with the [`AltDiffusionPipeline`], [`AltDiffusionImg2ImgPipeline`] and the `"BAAI/AltDiffusion-m9 "` checkpoint exactly in the same way it is shown in the [Conditional Image Generation Guide](./using-diffusers/conditional_image_generation) and the [Image-to-Image Generation Guide](./using-diffusers/img2img).
36
36
37
37
- *How to load and use different schedulers.*
38
38
@@ -42,12 +42,12 @@ To use a different scheduler, you can either change it via the [`ConfigMixin.fro
42
42
```python
43
43
>>> from diffusers import AltDiffusionPipeline, EulerDiscreteScheduler
44
44
45
- >>> pipeline = AltDiffusionPipeline.from_pretrained("BAAI/AltDiffusion")
45
+ >>> pipeline = AltDiffusionPipeline.from_pretrained("BAAI/AltDiffusion-m9 ")
46
46
>>> pipeline.scheduler = EulerDiscreteScheduler.from_config(pipeline.scheduler.config)
47
47
48
48
>>> # or
49
- >>> euler_scheduler = EulerDiscreteScheduler.from_pretrained("BAAI/AltDiffusion", subfolder="scheduler")
50
- >>> pipeline = AltDiffusionPipeline.from_pretrained("BAAI/AltDiffusion", scheduler=euler_scheduler)
49
+ >>> euler_scheduler = EulerDiscreteScheduler.from_pretrained("BAAI/AltDiffusion-m9 ", subfolder="scheduler")
50
+ >>> pipeline = AltDiffusionPipeline.from_pretrained("BAAI/AltDiffusion-m9 ", scheduler=euler_scheduler)
51
51
```
52
52
53
53
@@ -61,7 +61,7 @@ If you want to use all possible use cases in a single `DiffusionPipeline` we rec
61
61
... AltDiffusionImg2ImgPipeline,
62
62
... )
63
63
64
- >>> text2img = AltDiffusionPipeline.from_pretrained("BAAI/AltDiffusion")
64
+ >>> text2img = AltDiffusionPipeline.from_pretrained("BAAI/AltDiffusion-m9 ")
65
65
>>> img2img = AltDiffusionImg2ImgPipeline(**text2img.components)
66
66
67
67
>>> # now you can use text2img(...) and img2img(...) just like the call methods of each respective pipeline
0 commit comments