davidberenstein1957 commited on
Commit
0eb7dc2
·
verified ·
1 Parent(s): d71b989

Add files using upload-large-folder tool

Browse files
README.md CHANGED
@@ -2,6 +2,7 @@
2
  library_name: diffusers
3
  tags:
4
  - pruna-ai
 
5
  ---
6
 
7
  # Model Card for PrunaAI/test-save-tiny-stable-diffusion-pipe-smashed
@@ -23,12 +24,15 @@ To ensure that all optimizations are applied, use the pruna library to load the
23
  ```python
24
  from pruna import PrunaModel
25
 
26
- loaded_model = PrunaModel.from_hub(
27
  "PrunaAI/test-save-tiny-stable-diffusion-pipe-smashed"
28
  )
 
29
  ```
30
 
31
- After loading the model, you can use the inference methods of the original model. Take a look at the [documentation](https://pruna.readthedocs.io/en/latest/index.html) for more usage information.
 
 
32
 
33
  ## Smash Configuration
34
 
@@ -40,10 +44,12 @@ The compression configuration of the model is stored in the `smash_config.json`
40
  "cacher": null,
41
  "compiler": null,
42
  "factorizer": null,
 
43
  "pruner": null,
44
  "quantizer": null,
45
  "batch_size": 1,
46
  "device": "cpu",
 
47
  "save_fns": [],
48
  "load_fns": [
49
  "diffusers"
@@ -52,6 +58,7 @@ The compression configuration of the model is stored in the `smash_config.json`
52
  "factorizer": null,
53
  "pruner": null,
54
  "quantizer": null,
 
55
  "cacher": null,
56
  "compiler": null,
57
  "batcher": null
@@ -65,4 +72,4 @@ The compression configuration of the model is stored in the `smash_config.json`
65
  [![GitHub](https://img.shields.io/github/followers/PrunaAI?label=Follow%20%40PrunaAI&style=social)](https://github.com/PrunaAI)
66
  [![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-blue)](https://www.linkedin.com/company/93832878/admin/feed/posts/?feedType=following)
67
  [![Discord](https://img.shields.io/badge/Discord-Join%20Us-blue?style=social&logo=discord)](https://discord.com/invite/rskEr4BZJx)
68
- [![Reddit](https://img.shields.io/reddit/subreddit-subscribers/PrunaAI?style=social)](https://www.reddit.com/r/PrunaAI/)
 
2
  library_name: diffusers
3
  tags:
4
  - pruna-ai
5
+ - safetensors
6
  ---
7
 
8
  # Model Card for PrunaAI/test-save-tiny-stable-diffusion-pipe-smashed
 
24
  ```python
25
  from pruna import PrunaModel
26
 
27
+ loaded_model = PrunaModel.from_pretrained(
28
  "PrunaAI/test-save-tiny-stable-diffusion-pipe-smashed"
29
  )
30
+ # we can then run inference using the methods supported by the base model
31
  ```
32
 
33
+
34
+ For inference, you can use the inference methods of the original model like shown in [the original model card](https://huggingface.co/hf-internal-testing/tiny-stable-diffusion-pipe?library=diffusers).
35
+ Alternatively, you can visit [the Pruna documentation](https://docs.pruna.ai/en/stable/) for more information.
36
 
37
  ## Smash Configuration
38
 
 
44
  "cacher": null,
45
  "compiler": null,
46
  "factorizer": null,
47
+ "kernel": null,
48
  "pruner": null,
49
  "quantizer": null,
50
  "batch_size": 1,
51
  "device": "cpu",
52
+ "device_map": null,
53
  "save_fns": [],
54
  "load_fns": [
55
  "diffusers"
 
58
  "factorizer": null,
59
  "pruner": null,
60
  "quantizer": null,
61
+ "kernel": null,
62
  "cacher": null,
63
  "compiler": null,
64
  "batcher": null
 
72
  [![GitHub](https://img.shields.io/github/followers/PrunaAI?label=Follow%20%40PrunaAI&style=social)](https://github.com/PrunaAI)
73
  [![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-blue)](https://www.linkedin.com/company/93832878/admin/feed/posts/?feedType=following)
74
  [![Discord](https://img.shields.io/badge/Discord-Join%20Us-blue?style=social&logo=discord)](https://discord.com/invite/rskEr4BZJx)
75
+ [![Reddit](https://img.shields.io/reddit/subreddit-subscribers/PrunaAI?style=social)](https://www.reddit.com/r/PrunaAI/)
safety_checker/config.json CHANGED
@@ -27,7 +27,7 @@
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,
 
27
  "vocab_size": 99
28
  },
29
  "torch_dtype": "float32",
30
+ "transformers_version": "4.52.3",
31
  "vision_config": {
32
  "attention_dropout": 0.1,
33
  "dropout": 0.1,
smash_config.json CHANGED
@@ -3,10 +3,12 @@
3
  "cacher": null,
4
  "compiler": null,
5
  "factorizer": null,
 
6
  "pruner": null,
7
  "quantizer": null,
8
  "batch_size": 1,
9
  "device": "cpu",
 
10
  "save_fns": [],
11
  "load_fns": [
12
  "diffusers"
@@ -15,6 +17,7 @@
15
  "factorizer": null,
16
  "pruner": null,
17
  "quantizer": null,
 
18
  "cacher": null,
19
  "compiler": null,
20
  "batcher": null
 
3
  "cacher": null,
4
  "compiler": null,
5
  "factorizer": null,
6
+ "kernel": null,
7
  "pruner": null,
8
  "quantizer": null,
9
  "batch_size": 1,
10
  "device": "cpu",
11
+ "device_map": null,
12
  "save_fns": [],
13
  "load_fns": [
14
  "diffusers"
 
17
  "factorizer": null,
18
  "pruner": null,
19
  "quantizer": null,
20
+ "kernel": null,
21
  "cacher": null,
22
  "compiler": null,
23
  "batcher": 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.52.4",
23
  "vocab_size": 1000
24
  }
 
19
  "pad_token_id": 1,
20
  "projection_dim": 512,
21
  "torch_dtype": "float32",
22
+ "transformers_version": "4.52.3",
23
  "vocab_size": 1000
24
  }