axodoxian commited on
Commit
fbbaed5
1 Parent(s): 33cc555

Applied Microsoft Olive optimization

Browse files
feature_extractor/preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "feature_extractor_type": "CLIPFeatureExtractor",
12
+ "image_mean": [
13
+ 0.48145466,
14
+ 0.4578275,
15
+ 0.40821073
16
+ ],
17
+ "image_processor_type": "CLIPImageProcessor",
18
+ "image_std": [
19
+ 0.26862954,
20
+ 0.26130258,
21
+ 0.27577711
22
+ ],
23
+ "resample": 3,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "shortest_edge": 224
27
+ }
28
+ }
model_index.json CHANGED
@@ -1,14 +1,14 @@
1
  {
2
  "_class_name": "OnnxStableDiffusionPipeline",
3
- "_diffusers_version": "0.14.0",
4
  "feature_extractor": [
5
- null,
6
- null
7
  ],
8
- "requires_safety_checker": false,
9
  "safety_checker": [
10
- null,
11
- null
12
  ],
13
  "scheduler": [
14
  "diffusers",
 
1
  {
2
  "_class_name": "OnnxStableDiffusionPipeline",
3
+ "_diffusers_version": "0.16.1",
4
  "feature_extractor": [
5
+ "transformers",
6
+ "CLIPImageProcessor"
7
  ],
8
+ "requires_safety_checker": true,
9
  "safety_checker": [
10
+ "diffusers",
11
+ "OnnxRuntimeModel"
12
  ],
13
  "scheduler": [
14
  "diffusers",
safety_checker/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8b05ad5b1f6fcf91ffd5267d7fd324132c66c4927874ae4008b2e4be7e34ff5
3
+ size 608558212
scheduler/scheduler_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "PNDMScheduler",
3
- "_diffusers_version": "0.14.0",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
 
1
  {
2
  "_class_name": "PNDMScheduler",
3
+ "_diffusers_version": "0.16.1",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
text_encoder/model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:eb0685b38b3b3493ecd8abf6a3317080165991a2af5f184423640cde55a612f8
3
- size 246574174
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f90eaff7ccc09c36735349c3d91989cacea3196c9c6a54fca0dcb62ae3bbd102
3
+ size 246417740
tokenizer/tokenizer_config.json CHANGED
@@ -8,6 +8,7 @@
8
  "rstrip": false,
9
  "single_word": false
10
  },
 
11
  "do_lower_case": true,
12
  "eos_token": {
13
  "__type": "AddedToken",
@@ -20,7 +21,6 @@
20
  "errors": "replace",
21
  "model_max_length": 77,
22
  "pad_token": "<|endoftext|>",
23
- "special_tokens_map_file": "./special_tokens_map.json",
24
  "tokenizer_class": "CLIPTokenizer",
25
  "unk_token": {
26
  "__type": "AddedToken",
 
8
  "rstrip": false,
9
  "single_word": false
10
  },
11
+ "clean_up_tokenization_spaces": true,
12
  "do_lower_case": true,
13
  "eos_token": {
14
  "__type": "AddedToken",
 
21
  "errors": "replace",
22
  "model_max_length": 77,
23
  "pad_token": "<|endoftext|>",
 
24
  "tokenizer_class": "CLIPTokenizer",
25
  "unk_token": {
26
  "__type": "AddedToken",
unet/model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8150e71f35b1ec2479327ab49187651c979fe61525cb6c8d2450d8bfaef156c8
3
- size 1724522081
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:377a13a4a28677d59da3e5f79835d461df142b2be38e2c2f656e56963736949f
3
+ size 1747867521
vae_decoder/model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d30bd5edc2825c9d9e2edfb32d91429d4b5e918bad1968eed34ff5e786e22fe6
3
- size 198092934
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1443dc4f5d6ce060de03355d53662a1d13ccea7fd8e6b191dfa7ea1ea830e6eb
3
+ size 99094718
vae_encoder/model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8782d9bcaa4548231a8af17eb25f0855faed7997b7c2d68011cdca26a3779f66
3
- size 136775058
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e36151e97640df68b8797c1261f970218a557aa14e0f5d1cc716604cc3373886
3
+ size 68419800