Skip to content

Commit 8ef8ae0

Browse files
authored
Update to build 469
1 parent c3d1429 commit 8ef8ae0

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

shark/examples/shark_inference/stable_diffusion/stable_diffusion_amd.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ KNOWN ISSUES with this special AMD driver:
2121

2222
## Installation
2323

24-
Download the latest Windows SHARK SD binary [455 here](https://storage.googleapis.com/shark-public/windows/shark_sd_20230120_455.exe) in a folder of your choice. If you want nighly builds you can look for them in the github releases page.
24+
Download the latest Windows SHARK SD binary [469 here](https://github.com/nod-ai/SHARK/releases/download/20230124.469/shark_sd_20230124_469.exe) in a folder of your choice. If you want nighly builds you can look for them in the github releases page.
2525

2626
Notes:
2727
* We recommend that you download this EXE in a new folder, whenever you download a new EXE version. If you download it in the same folder as a previous install, you must delete the old `*.vmfb` files. Those contain Vulkan dispatches compiled from MLIR, that can get outdated if you run multiple EXE from the same folder. You can use `--clean_all` flag once to clean all the old files.
28-
* Your browser may warn you about downloading an .exe file
2928
* If you recently updated the driver or this binary (EXE file), we recommend you:
30-
* clear all the local artifacts with `--clean_all` OR
29+
* clear all the local artifacts with `--clear_all` OR
3130
* clear the Vulkan shader cache: For Windows users this can be done by clearing the contents of `C:\Users\%username%\AppData\Local\AMD\VkCache\`. On Linux the same cache is typically located at `~/.cache/AMD/VkCache/`.
3231
* clear the `huggingface` cache. In Windows, this is `C:\Users\%username%\.cache\huggingface`.
3332

@@ -133,19 +132,15 @@ python3.10 shark/examples/shark_inference/stable_diffusion/main.py --precision=f
133132

134133
</details>
135134

136-
The output on a 6900XT would like:
135+
The output on a 7900XTX would like:
137136

138137
```shell
139-
44it [00:08, 5.14it/s]i = 44 t = 120 (191ms)
140-
45it [00:08, 5.15it/s]i = 45 t = 100 (191ms)
141-
46it [00:08, 5.16it/s]i = 46 t = 80 (191ms)
142-
47it [00:09, 5.16it/s]i = 47 t = 60 (193ms)
143-
48it [00:09, 5.15it/s]i = 48 t = 40 (195ms)
144-
49it [00:09, 5.12it/s]i = 49 t = 20 (196ms)
145-
50it [00:09, 5.14it/s]
146-
Average step time: 192.8154182434082ms/it
147-
Total image generation runtime (s): 10.390909433364868
148-
(shark.venv) PS C:\g\shark>
138+
Stats for run 0:
139+
Average step time: 47.19188690185547ms/it
140+
Clip Inference time (ms) = 109.531
141+
VAE Inference time (ms): 78.590
142+
143+
Total image generation time: 2.5788655281066895sec
149144
```
150145

151146
For more options to the Stable Diffusion model read [this](https://github.com/nod-ai/SHARK/blob/main/shark/examples/shark_inference/stable_diffusion/README.md)

0 commit comments

Comments
 (0)