sharpenb commited on
Commit
6b96c27
1 Parent(s): acd226b

Upload folder using huggingface_hub (#6)

Browse files

- c4220552a807ee00cb759f2fb9ea0e0524ed1daf06631737d50bd35c39218489 (ce8e4a326747a476f2024051ffe15a07129b30a0)
- fe1deddce92ea77b405062aa1f1bbfe595a2a5cacdfb000a4d6ac6ab0175f18c (383efc27458327eb79cf362bbebebb7ab2dbffe0)

Files changed (5) hide show
  1. README.md +10 -6
  2. config.json +1 -1
  3. model/optimized_model.pkl +2 -2
  4. model/smash_config.json +2 -2
  5. plots.png +0 -0
README.md CHANGED
@@ -19,23 +19,27 @@ metrics:
19
  </div>
20
  <!-- header end -->
21
 
22
- # Simply make AI models cheaper, smaller, faster, and greener!
23
-
24
  [![Twitter](https://img.shields.io/twitter/follow/PrunaAI?style=social)](https://twitter.com/PrunaAI)
25
  [![GitHub](https://img.shields.io/github/followers/PrunaAI?label=Follow%20%40PrunaAI&style=social)](https://github.com/PrunaAI)
26
  [![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-blue)](https://www.linkedin.com/company/93832878/admin/feed/posts/?feedType=following)
 
 
 
27
 
28
  - Give a thumbs up if you like this model!
29
  - Contact us and tell us which model to compress next [here](https://www.pruna.ai/contact).
30
  - Request access to easily compress your *own* AI models [here](https://z0halsaff74.typeform.com/pruna-access?typeform-source=www.pruna.ai).
31
  - Read the documentations to know more [here](https://pruna-ai-pruna.readthedocs-hosted.com/en/latest/)
32
- - Share feedback and suggestions on the Slack of Pruna AI (Coming soon!).
33
 
34
  ## Results
35
 
36
  ![image info](./plots.png)
37
 
38
- These results were obtained on NVIDIA A100-PCIE-40GB with configuration described in config.json. Results may vary in other settings (e.g. other hardware, image size, batch size, ...).
 
 
 
39
 
40
  ## Setup
41
 
@@ -73,9 +77,9 @@ You can run the smashed model with these steps:
73
 
74
  The configuration info are in `config.json`.
75
 
76
- ## License
77
 
78
- We follow the same license as the original model. Please check the license of the original model runwayml-stable-diffusion-v1-5 before using this model.
79
 
80
  ## Want to compress other models?
81
 
 
19
  </div>
20
  <!-- header end -->
21
 
 
 
22
  [![Twitter](https://img.shields.io/twitter/follow/PrunaAI?style=social)](https://twitter.com/PrunaAI)
23
  [![GitHub](https://img.shields.io/github/followers/PrunaAI?label=Follow%20%40PrunaAI&style=social)](https://github.com/PrunaAI)
24
  [![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-blue)](https://www.linkedin.com/company/93832878/admin/feed/posts/?feedType=following)
25
+ [![Discord](https://img.shields.io/badge/Discord-Join%20Us-blue?style=social&logo=discord)](https://discord.gg/CP4VSgck)
26
+
27
+ # Simply make AI models cheaper, smaller, faster, and greener!
28
 
29
  - Give a thumbs up if you like this model!
30
  - Contact us and tell us which model to compress next [here](https://www.pruna.ai/contact).
31
  - Request access to easily compress your *own* AI models [here](https://z0halsaff74.typeform.com/pruna-access?typeform-source=www.pruna.ai).
32
  - Read the documentations to know more [here](https://pruna-ai-pruna.readthedocs-hosted.com/en/latest/)
33
+ - Join Pruna AI community on Discord [here](https://discord.gg/CP4VSgck) to share feedback/suggestions or get help.
34
 
35
  ## Results
36
 
37
  ![image info](./plots.png)
38
 
39
+ **Important remarks:**
40
+ - The quality of the model output might slightly vary compared to the base model. There might be minimal quality loss.
41
+ - These results were obtained on NVIDIA A100-PCIE-40GB with configuration described in config.json and are obtained after a hardware warmup. Efficiency results may vary in other settings (e.g. other hardware, image size, batch size, ...).
42
+ - You can request premium access to more compression methods and tech support for your specific use-cases [here](https://z0halsaff74.typeform.com/pruna-access?typeform-source=www.pruna.ai).
43
 
44
  ## Setup
45
 
 
77
 
78
  The configuration info are in `config.json`.
79
 
80
+ ## Credits & License
81
 
82
+ We follow the same license as the original model. Please check the license of the original model runwayml/stable-diffusion-v1-5 before using this model which provided the base model.
83
 
84
  ## Want to compress other models?
85
 
config.json CHANGED
@@ -1 +1 @@
1
- {"pruners": "None", "pruning_ratio": 0.0, "factorizers": "None", "quantizers": "None", "n_quantization_bits": 32, "output_deviation": 0.005, "compilers": "['diffusers2']", "static_batch": true, "static_shape": false, "controlnet": "None", "unet_dim": 4, "device": "cuda", "save_dir": "/ceph/hdd/staff/charpent/models/.models/optimized_model", "batch_size": 1, "max_batch_size": 1, "image_height": 512, "image_width": 512, "version": "1.5", "task": "txt2img", "model_name": "runwayml/stable-diffusion-v1-5", "weight_name": "None", "save_load_fn": "stable_fast"}
 
1
+ {"pruners": "None", "pruning_ratio": "None", "factorizers": "None", "quantizers": "None", "n_quantization_bits": 32, "output_deviation": 0.0, "compilers": "['step_caching', 'tiling', 'diffusers2']", "static_batch": true, "static_shape": false, "controlnet": "None", "unet_dim": 4, "device": "cuda", "batch_size": 1, "max_batch_size": 1, "image_height": 512, "image_width": 512, "version": "1.5", "task": "txt2img", "weight_name": "None", "model_name": "runwayml/stable-diffusion-v1-5", "save_load_fn": "stable_fast"}
model/optimized_model.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1788eda1cb4fa185ceed619239c39e9d561a399e2e2e3c81e714c86496e08f24
3
- size 2743389116
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:897efda94bcf4d0aa9eb90207fd3a1a6e73e8c2ea4ea8e397d6ff597eccfbb72
3
+ size 2743426087
model/smash_config.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ac30e3ad627076c9785b1719c6577985572ccbaa7e30442fa95b86be71854c84
3
- size 743
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c63d7759cd722bc1e7ae607e706956658c97dd29c211efe4fbe1974cf496088
3
+ size 684
plots.png CHANGED