Update README.md
Browse files
README.md
CHANGED
@@ -9,7 +9,7 @@ tags:
|
|
9 |
- art
|
10 |
- tensorRT
|
11 |
---
|
12 |
-
|
13 |
|
14 |
lyraSD is a tensorRT implementation of Stable diffusion model, with stable 1.5 weights. Main features
|
15 |
|
@@ -21,8 +21,19 @@ lyraSD is a tensorRT implementation of Stable diffusion model, with stable 1.5 w
|
|
21 |
|
22 |
lyraSD is a part of TME lyralab Fast Model Plan.
|
23 |
|
|
|
24 |
|
25 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
- **Repository:** [https://huggingface.co/runwayml/stable-diffusion-v1-5]
|
28 |
|
@@ -39,8 +50,6 @@ from PIL import Image
|
|
39 |
i2imodel = LyraSD("img2img", "./sd1.5-engine")
|
40 |
demo_img = Image.open("output/text2img_demo.jpg")
|
41 |
i2imodel.inference(prompt="comic style", image=demo_img)
|
42 |
-
|
43 |
-
|
44 |
```
|
45 |
|
46 |
## environment
|
|
|
9 |
- art
|
10 |
- tensorRT
|
11 |
---
|
12 |
+
## Model Card for lyraSD
|
13 |
|
14 |
lyraSD is a tensorRT implementation of Stable diffusion model, with stable 1.5 weights. Main features
|
15 |
|
|
|
21 |
|
22 |
lyraSD is a part of TME lyralab Fast Model Plan.
|
23 |
|
24 |
+
## Speed
|
25 |
|
26 |
+
### test on A100, img size: 512x512,superresolution=False, mode=text2img
|
27 |
+
|mode|version|speed|
|
28 |
+
|:-:|:-:|:-:|
|
29 |
+
|text2img|TensorRT official|0.41s/img|
|
30 |
+
|text2img|LyraSD|0.36s/img|
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
## Model Sources [optional]
|
37 |
|
38 |
- **Repository:** [https://huggingface.co/runwayml/stable-diffusion-v1-5]
|
39 |
|
|
|
50 |
i2imodel = LyraSD("img2img", "./sd1.5-engine")
|
51 |
demo_img = Image.open("output/text2img_demo.jpg")
|
52 |
i2imodel.inference(prompt="comic style", image=demo_img)
|
|
|
|
|
53 |
```
|
54 |
|
55 |
## environment
|