sharpenb commited on
Commit
18df661
1 Parent(s): 7a5000d

Upload folder using huggingface_hub (#2)

Browse files

- 8b6c114062c78b9d9dbab705f0fccd0f9684efbceab8802453e9c59553e09153 (d74ad2f03c119abf1fbfe0570c96f00d102cf7a5)
- 136ffdb7816d94593f0e33e20d1b3f3c3c4031c4117cecf154ed1f689085a084 (37c62f38da4327f8b4be651a1551959cd776bf70)

README.md CHANGED
@@ -35,7 +35,10 @@ metrics:
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
 
@@ -75,7 +78,7 @@ 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 stabilityai-stable-diffusion-2-1 before using this model.
79
 
80
  ## Want to compress other models?
81
 
 
35
 
36
  ![image info](./plots.png)
37
 
38
+ **Important remarks:**
39
+ - The quality of the model output might slightly vary compared to the base model. There might be minimal quality loss.
40
+ - 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, ...).
41
+ - 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).
42
 
43
  ## Setup
44
 
 
78
 
79
  ## License
80
 
81
+ We follow the same license as the original model. Please check the license of the original model stabilityai/stable-diffusion-2-1 before using this model.
82
 
83
  ## Want to compress other models?
84
 
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": 768, "image_width": 768, "version": "2.1", "task": "txt2img", "model_name": "stabilityai/stable-diffusion-2-1", "weight_name": "None", "save_load_fn": "stable_fast"}
 
1
+ {"pruners": "None", "pruning_ratio": 0.0, "factorizers": "None", "quantizers": "None", "n_quantization_bits": 32, "output_deviation": 0.005, "compilers": "['diffusers2', 'tiling', 'step_caching']", "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": 768, "image_width": 768, "version": "2.1", "task": "txt2img", "model_name": "stabilityai/stable-diffusion-2-1", "weight_name": "None", "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:ba0f7648368311afc231b65e2c1d4607e49e98e0f33aa821364f3872dbfce7ea
3
- size 2582628590
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3a2f023faecee166c4db5e9e72d5cf967434981e6e42c4c539c1b324b50aefc
3
+ size 2582664818
model/smash_config.json CHANGED
@@ -1 +1 @@
1
- {"api_key": "pruna_c4c77860c62a2965f6bc281841ee1d7bd3", "verify_url": "http://johnrachwan.pythonanywhere.com", "smash_config": {"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", "cache_dir": "/ceph/hdd/staff/charpent/.cache/models", "save_dir": "/ceph/hdd/staff/charpent/models/.models/optimized_model", "batch_size": 1, "max_batch_size": 1, "image_height": 768, "image_width": 768, "version": "2.1", "task": "txt2img", "model_name": "stabilityai/stable-diffusion-2-1", "weight_name": "None", "save_load_fn": "stable_fast"}}
 
1
+ {"api_key": "pruna_c4c77860c62a2965f6bc281841ee1d7bd3", "verify_url": "http://johnrachwan.pythonanywhere.com", "smash_config": {"pruners": "None", "pruning_ratio": 0.0, "factorizers": "None", "quantizers": "None", "n_quantization_bits": 32, "output_deviation": 0.005, "compilers": "['diffusers2', 'tiling', 'step_caching']", "static_batch": true, "static_shape": false, "controlnet": "None", "unet_dim": 4, "device": "cuda", "cache_dir": "/ceph/hdd/staff/charpent/.cache/models", "save_dir": "/ceph/hdd/staff/charpent/models/.models/optimized_model", "batch_size": 1, "max_batch_size": 1, "image_height": 768, "image_width": 768, "version": "2.1", "task": "txt2img", "model_name": "stabilityai/stable-diffusion-2-1", "weight_name": "None", "save_load_fn": "stable_fast"}}
plots.png CHANGED