davidberenstein1957 commited on
Commit
29cdadf
·
verified ·
1 Parent(s): 1f5f9ae

Add files using upload-large-folder tool

Browse files
README.md CHANGED
@@ -4,7 +4,7 @@ tags:
4
  - pruna-ai
5
  ---
6
 
7
- # Model Card for PrunaAI/test-tiny-stable-diffusion-pipe-smashed
8
 
9
  This model was created using the [pruna](https://github.com/PrunaAI/pruna) library. Pruna is a model optimization framework built for developers, enabling you to deliver more efficient models with minimal implementation overhead.
10
 
@@ -16,7 +16,7 @@ First things first, you need to install the pruna library:
16
  pip install pruna
17
  ```
18
 
19
- You can [use the diffusers library to load the model](https://huggingface.co/PrunaAI/test-tiny-stable-diffusion-pipe-smashed?library=diffusers) but this might not include all optimizations by default.
20
 
21
  To ensure that all optimizations are applied, use the pruna library to load the model using the following code:
22
 
@@ -24,7 +24,7 @@ To ensure that all optimizations are applied, use the pruna library to load the
24
  from pruna import PrunaModel
25
 
26
  loaded_model = PrunaModel.from_hub(
27
- "PrunaAI/test-tiny-stable-diffusion-pipe-smashed"
28
  )
29
  ```
30
 
@@ -39,6 +39,7 @@ The compression configuration of the model is stored in the `smash_config.json`
39
  "batcher": null,
40
  "cacher": null,
41
  "compiler": null,
 
42
  "pruner": null,
43
  "quantizer": null,
44
  "batch_size": 1,
@@ -48,6 +49,7 @@ The compression configuration of the model is stored in the `smash_config.json`
48
  "diffusers"
49
  ],
50
  "reapply_after_load": {
 
51
  "pruner": null,
52
  "quantizer": null,
53
  "cacher": null,
 
4
  - pruna-ai
5
  ---
6
 
7
+ # Model Card for PrunaAI/test-load-tiny-stable-diffusion-pipe-smashed
8
 
9
  This model was created using the [pruna](https://github.com/PrunaAI/pruna) library. Pruna is a model optimization framework built for developers, enabling you to deliver more efficient models with minimal implementation overhead.
10
 
 
16
  pip install pruna
17
  ```
18
 
19
+ You can [use the diffusers library to load the model](https://huggingface.co/PrunaAI/test-load-tiny-stable-diffusion-pipe-smashed?library=diffusers) but this might not include all optimizations by default.
20
 
21
  To ensure that all optimizations are applied, use the pruna library to load the model using the following code:
22
 
 
24
  from pruna import PrunaModel
25
 
26
  loaded_model = PrunaModel.from_hub(
27
+ "PrunaAI/test-load-tiny-stable-diffusion-pipe-smashed"
28
  )
29
  ```
30
 
 
39
  "batcher": null,
40
  "cacher": null,
41
  "compiler": null,
42
+ "factorizer": null,
43
  "pruner": null,
44
  "quantizer": null,
45
  "batch_size": 1,
 
49
  "diffusers"
50
  ],
51
  "reapply_after_load": {
52
+ "factorizer": null,
53
  "pruner": null,
54
  "quantizer": null,
55
  "cacher": null,
model_index.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "StableDiffusionPipeline",
3
- "_diffusers_version": "0.34.0.dev0",
4
  "_name_or_path": "hf-internal-testing/tiny-stable-diffusion-pipe",
5
  "feature_extractor": [
6
  "transformers",
 
1
  {
2
  "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.33.1",
4
  "_name_or_path": "hf-internal-testing/tiny-stable-diffusion-pipe",
5
  "feature_extractor": [
6
  "transformers",
safety_checker/config.json CHANGED
@@ -27,9 +27,8 @@
27
  "vocab_size": 99
28
  },
29
  "torch_dtype": "float32",
30
- "transformers_version": "4.51.3",
31
  "vision_config": {
32
- "_attn_implementation_autoset": true,
33
  "attention_dropout": 0.1,
34
  "dropout": 0.1,
35
  "gradient_checkpointing": false,
 
27
  "vocab_size": 99
28
  },
29
  "torch_dtype": "float32",
30
+ "transformers_version": "4.52.4",
31
  "vision_config": {
 
32
  "attention_dropout": 0.1,
33
  "dropout": 0.1,
34
  "gradient_checkpointing": false,
scheduler/scheduler_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "DDIMScheduler",
3
- "_diffusers_version": "0.34.0.dev0",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
 
1
  {
2
  "_class_name": "DDIMScheduler",
3
+ "_diffusers_version": "0.33.1",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
smash_config.json CHANGED
@@ -2,6 +2,7 @@
2
  "batcher": null,
3
  "cacher": null,
4
  "compiler": null,
 
5
  "pruner": null,
6
  "quantizer": null,
7
  "batch_size": 1,
@@ -11,6 +12,7 @@
11
  "diffusers"
12
  ],
13
  "reapply_after_load": {
 
14
  "pruner": null,
15
  "quantizer": null,
16
  "cacher": null,
 
2
  "batcher": null,
3
  "cacher": null,
4
  "compiler": null,
5
+ "factorizer": null,
6
  "pruner": null,
7
  "quantizer": null,
8
  "batch_size": 1,
 
12
  "diffusers"
13
  ],
14
  "reapply_after_load": {
15
+ "factorizer": null,
16
  "pruner": null,
17
  "quantizer": null,
18
  "cacher": null,
text_encoder/config.json CHANGED
@@ -19,6 +19,6 @@
19
  "pad_token_id": 1,
20
  "projection_dim": 512,
21
  "torch_dtype": "float32",
22
- "transformers_version": "4.51.3",
23
  "vocab_size": 1000
24
  }
 
19
  "pad_token_id": 1,
20
  "projection_dim": 512,
21
  "torch_dtype": "float32",
22
+ "transformers_version": "4.52.4",
23
  "vocab_size": 1000
24
  }
unet/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
- "_diffusers_version": "0.34.0.dev0",
4
  "_name_or_path": "/Users/davidberenstein/.cache/huggingface/hub/models--hf-internal-testing--tiny-stable-diffusion-pipe/snapshots/3ee6c9f225f088ad5d35b624b6514b091e6a4849/unet",
5
  "act_fn": "silu",
6
  "addition_embed_type": null,
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.33.1",
4
  "_name_or_path": "/Users/davidberenstein/.cache/huggingface/hub/models--hf-internal-testing--tiny-stable-diffusion-pipe/snapshots/3ee6c9f225f088ad5d35b624b6514b091e6a4849/unet",
5
  "act_fn": "silu",
6
  "addition_embed_type": null,
vae/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "AutoencoderKL",
3
- "_diffusers_version": "0.34.0.dev0",
4
  "_name_or_path": "/Users/davidberenstein/.cache/huggingface/hub/models--hf-internal-testing--tiny-stable-diffusion-pipe/snapshots/3ee6c9f225f088ad5d35b624b6514b091e6a4849/vae",
5
  "act_fn": "silu",
6
  "block_out_channels": [
 
1
  {
2
  "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.33.1",
4
  "_name_or_path": "/Users/davidberenstein/.cache/huggingface/hub/models--hf-internal-testing--tiny-stable-diffusion-pipe/snapshots/3ee6c9f225f088ad5d35b624b6514b091e6a4849/vae",
5
  "act_fn": "silu",
6
  "block_out_channels": [