Skip to content

Commit 8c723de

Browse files
committed
add ppdiffusers deploy speed (#624)
1 parent 3a25127 commit 8c723de

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

ppdiffusers/deploy/README.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# PPDiffusers推理部署
2+
3+
PPDiffusers基于Paddle Inference,提供了以下重点扩散模型的部署方案:
4+
- ControlNet
5+
- IP-Adapter-SD15
6+
- IP-Adapter-SDXL
7+
- SD15
8+
- SDXL
9+
10+
11+
# V100性能数据
12+
|模型|Paddle Deploy TensorRT / ips|Torch Dynamic / ips|
13+
|-|-|-|
14+
|IP-Adapter-SD15 text2img|18.30|18.18|
15+
|IP-Adapter-SD15 img2img|18.11|17.87|
16+
|IP-Adapter-SD15 inpaint|17.93|17.44|
17+
|IP-Adapter-SDXL text2img|12.01|11.47|
18+
|IP-Adapter-SDXL img2img|12.00|10.95|
19+
|IP-Adapter-SDXL inpaint|11.67|10.79|
20+
|SD15 text2img|19.68|18.27|
21+
|SD15 img2img|19.68|17.90|
22+
|SD15 inpaint|19.44|17.56|
23+
|SDXL text2img|13.91|11.50|
24+
|SDXL img2img|13.86|11.60|
25+
|SDXL inpaint|13.45|11.28|
26+
27+
<!-- |SD15 text2img|11.87|6.68|6.32|
28+
|SD15 img2img|14.47|8.09|7.63|
29+
|SD15 inpaint|14.30|6.42|6.06| -->
30+
31+
> Note:
32+
> 测试环境或配置为Paddle 3.0 beta版本,V100 32G单卡,FP16。
33+
推理参数为Image Width = 512, Image Height = 512, Num Inference Steps = 50。
34+
35+
# A100性能数据
36+
|模型|Paddle Deploy TensorRT / ips|Torch Dynamic / ips|
37+
|-|-|-|
38+
|IP-Adapter-SD15 text2img|38.52||
39+
|IP-Adapter-SD15 img2img|37.91||
40+
|IP-Adapter-SD15 inpaint|37.80||
41+
|IP-Adapter-SDXL text2img|22.88||
42+
|IP-Adapter-SDXL img2img|22.79||
43+
|IP-Adapter-SDXL inpaint|22.30||
44+
|SD15 text2img|47.22||
45+
|SD15 img2img|46.59||
46+
|SD15 inpaint|46.05||
47+
|SDXL text2img|31.98|12.91|
48+
|SDXL img2img|31.80|9.43|
49+
|SDXL inpaint|30.58|11.29|
50+
51+
<!-- |SD15 text2img|26.37|10.49||
52+
|SD15 img2img|30.81|12.70||
53+
|SD15 inpaint|30.55|9.67|| -->
54+
55+
> Note: 测试环境或配置为Paddle 3.0 beta版本,A100 80G单卡,FP16。
56+
推理参数为Image Width = 512, Image Height = 512, Num Inference Steps = 50。
57+
58+
<!-- |SDXL text2img||||
59+
|SDXL img2img||||
60+
|SDXL inpaint|||| -->
61+
62+
<!-- |-|-|-|-|
63+
|ControlNet text2img|3.360597|||
64+
|ControlNet img2img|3.360597|||
65+
|ControlNet inpaint|3.360597||| -->

0 commit comments

Comments
 (0)