Skip to content

Commit 0fb111c

Browse files
authored
1 parent 18cc657 commit 0fb111c

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

examples/story_diffusion/README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,23 @@ The current implementation only supports text-to-image generation with consisten
1515
- [x] Gradio demo of comic generation
1616
- [ ] Motion predictor with condition images
1717

18+
19+
## 📦 Requirements
20+
21+
22+
<div align="center">
23+
24+
| mindspore | ascend driver | firmware | cann toolkit/kernel |
25+
|:---------:|:-------------:|:-----------:|:-------------------:|
26+
| 2.5.0 | 24.1.RC2 | 7.5.0.2.220 | 8.0.RC3.beta1 |
27+
28+
</div>
29+
30+
1831
## Installation
19-
1. Use python>=3.8 [[install]](https://www.python.org/downloads/)
32+
1. Use python>=3.9 [[install]](https://www.python.org/downloads/)
2033

21-
2. Please install MindSpore 2.3.1 according to the [MindSpore official website](https://www.mindspore.cn/install/) and install [CANN 8.0.RC2.beta1](https://www.hiascend.com/developer/download/community/result?module=cann&cann=8.0.RC2.2.beta1) as recommended by the official installation website.
34+
2. Please install MindSpore 2.5.0 according to the [MindSpore official website](https://www.mindspore.cn/install/) and install [CANN 8.0.RC3.beta1](https://www.hiascend.com/developer/download/community/result?module=cann&cann=8.0.RC3.beta1) as recommended by the official installation website.
2235

2336

2437
3. Install requirements

examples/story_diffusion/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def load_sdxl_pipeline(args):
360360
sd_model_path,
361361
cache_dir=args.cache_dir,
362362
mindspore_dtype=ms.float16,
363-
use_safetensors=False,
363+
use_safetensors=True,
364364
local_files_only=args.local_files_only,
365365
)
366366
# pipe.enable_freeu(s1=0.6, s2=0.4, b1=1.1, b2=1.2)

0 commit comments

Comments
 (0)