Androidonnxfork
commited on
Commit
•
c4e0f83
1
Parent(s):
9ad546d
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- stablediffusionstreamlitquantized/feature_extractor/preprocessor_config.json +28 -0
- stablediffusionstreamlitquantized/model_index.json +37 -0
- stablediffusionstreamlitquantized/onnxquantizedsd.zip +3 -0
- stablediffusionstreamlitquantized/safety_checker/model.onnx +3 -0
- stablediffusionstreamlitquantized/scheduler/scheduler_config.json +14 -0
- stablediffusionstreamlitquantized/text_encoder/model.onnx +3 -0
- stablediffusionstreamlitquantized/tokenizer/merges.txt +0 -0
- stablediffusionstreamlitquantized/tokenizer/special_tokens_map.json +24 -0
- stablediffusionstreamlitquantized/tokenizer/tokenizer_config.json +33 -0
- stablediffusionstreamlitquantized/tokenizer/vocab.json +0 -0
- stablediffusionstreamlitquantized/unet/model.onnx +3 -0
- stablediffusionstreamlitquantized/unet/model.onnx.data +3 -0
- stablediffusionstreamlitquantized/vae_decoder/model.onnx +3 -0
- stablediffusionstreamlitquantized/vae_encoder/model.onnx +3 -0
.gitattributes
CHANGED
@@ -67,3 +67,4 @@ patchedstabledifftoonnx_withou_modelort/sd_env/bin/python3.10 filter=lfs diff=lf
|
|
67 |
patchedstabledifftoonnx_withou_modelort/stable-diffusion-streamlit/doc/gif/use1.gif filter=lfs diff=lfs merge=lfs -text
|
68 |
patchedstabledifftoonnx_withou_modelort/stable-diffusion-streamlit/doc/gif/use2.gif filter=lfs diff=lfs merge=lfs -text
|
69 |
patchedstabledifftoonnx_withou_modelort/stable-diffusion-streamlit/doc/gif/use3.gif filter=lfs diff=lfs merge=lfs -text
|
|
|
|
67 |
patchedstabledifftoonnx_withou_modelort/stable-diffusion-streamlit/doc/gif/use1.gif filter=lfs diff=lfs merge=lfs -text
|
68 |
patchedstabledifftoonnx_withou_modelort/stable-diffusion-streamlit/doc/gif/use2.gif filter=lfs diff=lfs merge=lfs -text
|
69 |
patchedstabledifftoonnx_withou_modelort/stable-diffusion-streamlit/doc/gif/use3.gif filter=lfs diff=lfs merge=lfs -text
|
70 |
+
stablediffusionstreamlitquantized/unet/model.onnx.data filter=lfs diff=lfs merge=lfs -text
|
stablediffusionstreamlitquantized/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": "CLIPFeatureExtractor",
|
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 |
+
}
|
stablediffusionstreamlitquantized/model_index.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "StableDiffusionOnnxPipeline",
|
3 |
+
"_diffusers_version": "0.18.2",
|
4 |
+
"feature_extractor": [
|
5 |
+
"transformers",
|
6 |
+
"CLIPFeatureExtractor"
|
7 |
+
],
|
8 |
+
"requires_safety_checker": true,
|
9 |
+
"safety_checker": [
|
10 |
+
"diffusers",
|
11 |
+
"OnnxRuntimeModel"
|
12 |
+
],
|
13 |
+
"scheduler": [
|
14 |
+
"diffusers",
|
15 |
+
"PNDMScheduler"
|
16 |
+
],
|
17 |
+
"text_encoder": [
|
18 |
+
"diffusers",
|
19 |
+
"OnnxRuntimeModel"
|
20 |
+
],
|
21 |
+
"tokenizer": [
|
22 |
+
"transformers",
|
23 |
+
"CLIPTokenizer"
|
24 |
+
],
|
25 |
+
"unet": [
|
26 |
+
"diffusers",
|
27 |
+
"OnnxRuntimeModel"
|
28 |
+
],
|
29 |
+
"vae_decoder": [
|
30 |
+
"diffusers",
|
31 |
+
"OnnxRuntimeModel"
|
32 |
+
],
|
33 |
+
"vae_encoder": [
|
34 |
+
"diffusers",
|
35 |
+
"OnnxRuntimeModel"
|
36 |
+
]
|
37 |
+
}
|
stablediffusionstreamlitquantized/onnxquantizedsd.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d9968f75462c1ed25381d39525974fddd21404d4da0c54550f8290d810c6b496
|
3 |
+
size 894429021
|
stablediffusionstreamlitquantized/safety_checker/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a08b877488b13be8a067b2c5795c0780643f7110cd374aa41a04b33229df20e9
|
3 |
+
size 307272714
|
stablediffusionstreamlitquantized/scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "PNDMScheduler",
|
3 |
+
"_diffusers_version": "0.18.2",
|
4 |
+
"beta_end": 0.012,
|
5 |
+
"beta_schedule": "scaled_linear",
|
6 |
+
"beta_start": 0.00085,
|
7 |
+
"num_train_timesteps": 1000,
|
8 |
+
"prediction_type": "epsilon",
|
9 |
+
"set_alpha_to_one": false,
|
10 |
+
"skip_prk_steps": true,
|
11 |
+
"steps_offset": 1,
|
12 |
+
"timestep_spacing": "leading",
|
13 |
+
"trained_betas": null
|
14 |
+
}
|
stablediffusionstreamlitquantized/text_encoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76c4f4f6057100689111c38a62b1e11146776dc998db9d4f3252ba2e4ae3c011
|
3 |
+
size 124046473
|
stablediffusionstreamlitquantized/tokenizer/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
stablediffusionstreamlitquantized/tokenizer/special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|startoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<|endoftext|>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<|endoftext|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
stablediffusionstreamlitquantized/tokenizer/tokenizer_config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": {
|
4 |
+
"__type": "AddedToken",
|
5 |
+
"content": "<|startoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
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",
|
15 |
+
"content": "<|endoftext|>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"errors": "replace",
|
22 |
+
"model_max_length": 77,
|
23 |
+
"pad_token": "<|endoftext|>",
|
24 |
+
"tokenizer_class": "CLIPTokenizer",
|
25 |
+
"unk_token": {
|
26 |
+
"__type": "AddedToken",
|
27 |
+
"content": "<|endoftext|>",
|
28 |
+
"lstrip": false,
|
29 |
+
"normalized": true,
|
30 |
+
"rstrip": false,
|
31 |
+
"single_word": false
|
32 |
+
}
|
33 |
+
}
|
stablediffusionstreamlitquantized/tokenizer/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
stablediffusionstreamlitquantized/unet/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b64da42ac5971ad3bcadf7886be58c9534ee1fd6bb2d522bd42a3ab1ea5e0237
|
3 |
+
size 2424890
|
stablediffusionstreamlitquantized/unet/model.onnx.data
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e98d722204657bf149c710b8768943ace7ce66e219a02a20fc65d4672777d2c
|
3 |
+
size 860852480
|
stablediffusionstreamlitquantized/vae_decoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:beedb31c5de47e6fb5fcce3aff093e6dd3aac53e125b9124d8db7f2b94c97853
|
3 |
+
size 49717988
|
stablediffusionstreamlitquantized/vae_encoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:237876f08a22cc65d2df42f3d1f7d7f51713d355654908627546e267e27599e8
|
3 |
+
size 34342970
|