Androidonnxfork
commited on
Commit
•
b4fd82e
1
Parent(s):
2316630
Upload folder using huggingface_hub
Browse files- .gitattributes +9 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/majicmixfull.zip +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/model_index.json +37 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/required_operators.config +15 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/required_operators.with_runtime_opt.config +18 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/scheduler/scheduler_config.json +19 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/text_encoder/model.onnx +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/text_encoder/model.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/text_encoder/model.with_runtime_opt.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/tokenizer/merges.txt +0 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/tokenizer/special_tokens_map.json +24 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/tokenizer/tokenizer_config.json +33 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/tokenizer/vocab.json +0 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/unet/model.onnx +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/unet/model.onnx.data +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/unet/model.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/unet/model.with_runtime_opt.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_decoder/model.onnx +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_decoder/model.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_decoder/model.with_runtime_opt.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_encoder/model.onnx +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_encoder/model.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_encoder/model.with_runtime_opt.ort +3 -0
.gitattributes
CHANGED
@@ -69,3 +69,12 @@ patchedstabledifftoonnx_withou_modelort/stable-diffusion-streamlit/doc/gif/use2.
|
|
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
|
71 |
fp16fullonnxsdquantized/realastic-vision-v20/unet/model.onnx.data 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
|
71 |
fp16fullonnxsdquantized/realastic-vision-v20/unet/model.onnx.data filter=lfs diff=lfs merge=lfs -text
|
72 |
+
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/text_encoder/model.ort filter=lfs diff=lfs merge=lfs -text
|
73 |
+
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/text_encoder/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
74 |
+
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/unet/model.onnx.data filter=lfs diff=lfs merge=lfs -text
|
75 |
+
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/unet/model.ort filter=lfs diff=lfs merge=lfs -text
|
76 |
+
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/unet/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
77 |
+
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_decoder/model.ort filter=lfs diff=lfs merge=lfs -text
|
78 |
+
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_decoder/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
79 |
+
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_encoder/model.ort filter=lfs diff=lfs merge=lfs -text
|
80 |
+
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_encoder/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/majicmixfull.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:217eacf7bf9b9ddad8cc6f9a50f65c017ef17244f3df2c2dd91a887ae48f906f
|
3 |
+
size 1956411539
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/model_index.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "OnnxStableDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.18.2",
|
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",
|
15 |
+
"DDIMScheduler"
|
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 |
+
}
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/required_operators.config
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Generated from model/s:
|
2 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/text_encoder/model.ort
|
3 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/unet/model.ort
|
4 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/vae_decoder/model.ort
|
5 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/vae_encoder/model.ort
|
6 |
+
ai.onnx;1;LayerNormalization,RandomNormalLike
|
7 |
+
ai.onnx;6;InstanceNormalization
|
8 |
+
ai.onnx;7;Cos,Sin
|
9 |
+
ai.onnx;9;ConstantOfShape,Where
|
10 |
+
ai.onnx;10;ConvInteger
|
11 |
+
ai.onnx;11;DynamicQuantizeLinear,Range
|
12 |
+
ai.onnx;13;ArgMax,Cast,Clip,Concat,DequantizeLinear,Equal,Exp,Expand,Flatten,Gather,Less,MatMul,Pad,Resize,ScatterND,Slice,Softmax,Sqrt,Squeeze,Transpose,Unsqueeze
|
13 |
+
ai.onnx;14;Add,Div,Mul,Reshape
|
14 |
+
ai.onnx;15;Shape
|
15 |
+
com.microsoft;1;DynamicQuantizeMatMul,FusedMatMul,Gelu,MatMulIntegerToFloat,QuickGelu
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/required_operators.with_runtime_opt.config
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Generated from model/s:
|
2 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/text_encoder/model.with_runtime_opt.ort
|
3 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/tmptfqc2mj7.without_runtime_opt/text_encoder/model.ort
|
4 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/tmptfqc2mj7.without_runtime_opt/unet/model.ort
|
5 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/tmptfqc2mj7.without_runtime_opt/vae_decoder/model.ort
|
6 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/tmptfqc2mj7.without_runtime_opt/vae_encoder/model.ort
|
7 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/unet/model.with_runtime_opt.ort
|
8 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/vae_decoder/model.with_runtime_opt.ort
|
9 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/vae_encoder/model.with_runtime_opt.ort
|
10 |
+
ai.onnx;1;RandomNormalLike
|
11 |
+
ai.onnx;6;InstanceNormalization
|
12 |
+
ai.onnx;7;Cos,Sin
|
13 |
+
ai.onnx;9;ConstantOfShape,Where
|
14 |
+
ai.onnx;10;ConvInteger,MatMulInteger
|
15 |
+
ai.onnx;11;DynamicQuantizeLinear,Range
|
16 |
+
ai.onnx;13;ArgMax,Cast,Clip,Concat,DequantizeLinear,Equal,Erf,Exp,Expand,Flatten,Gather,Less,MatMul,Pad,ReduceMean,Resize,ScatterND,Sigmoid,Slice,Softmax,Sqrt,Squeeze,Transpose,Unsqueeze
|
17 |
+
ai.onnx;14;Add,Div,Mul,Reshape,Sub
|
18 |
+
ai.onnx;15;Pow,Shape
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDIMScheduler",
|
3 |
+
"_diffusers_version": "0.18.2",
|
4 |
+
"beta_end": 0.012,
|
5 |
+
"beta_schedule": "scaled_linear",
|
6 |
+
"beta_start": 0.00085,
|
7 |
+
"clip_sample": false,
|
8 |
+
"clip_sample_range": 1.0,
|
9 |
+
"dynamic_thresholding_ratio": 0.995,
|
10 |
+
"num_train_timesteps": 1000,
|
11 |
+
"prediction_type": "epsilon",
|
12 |
+
"rescale_betas_zero_snr": false,
|
13 |
+
"sample_max_value": 1.0,
|
14 |
+
"set_alpha_to_one": false,
|
15 |
+
"steps_offset": 1,
|
16 |
+
"thresholding": false,
|
17 |
+
"timestep_spacing": "leading",
|
18 |
+
"trained_betas": null
|
19 |
+
}
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/text_encoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e590c8074953813ceee522c53fd20d0210249c8c83b6a899bc08bb916ade9848
|
3 |
+
size 124315311
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/text_encoder/model.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e81a168e1aa45501682adf0d9369f982272e8c438e591d7340c96191d2b85bd
|
3 |
+
size 124370984
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/text_encoder/model.with_runtime_opt.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:083321b80fbe4d4984dccc9b48663cd451d2b236c2a668c152ac931e0a866fb6
|
3 |
+
size 124483336
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/tokenizer/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/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 |
+
}
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/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 |
+
}
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/tokenizer/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/unet/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e6d4401028dd6fdc6b589d762c5feb629aae486049ebebcd299cd1feb129855
|
3 |
+
size 17745983
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/unet/model.onnx.data
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8ce076500f99340db2a4d9abc8af305c146fdba950195ddd2d8858fbabcc3fc
|
3 |
+
size 860852480
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/unet/model.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30fa6d7d226a101e174c5f1bae44921428142bdfb065a837a1d1c0e907a5be60
|
3 |
+
size 874459584
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/unet/model.with_runtime_opt.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a29c1c9c029e7574b0fdd9ebb44d81ddef087886e557e032c529d20a221cb6ac
|
3 |
+
size 874912744
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_decoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c1f75b8e3ffaf6746dcef1d3556831e94c2e31b78ca5df57d889f22d438a22ea
|
3 |
+
size 49818164
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_decoder/model.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83e6bad86d86ffab73c5e7d4cb54d03fab36bb2e7cb125c7dc624755bcd2b088
|
3 |
+
size 49976208
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_decoder/model.with_runtime_opt.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80713a0b4ebbcc9da2c4bacea40cd5830476d3c0ec00778335f00f5c18564926
|
3 |
+
size 49985560
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_encoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb97f77494d96b269943406e44b76849cda561a2387c72de6d3312f20ba85e9c
|
3 |
+
size 34424514
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_encoder/model.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa684a53aeb271d208e7c4dd952cf7e240ef89a0df1379263d7689f8f9776de2
|
3 |
+
size 34560952
|
fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_encoder/model.with_runtime_opt.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61f133ade7c13e9aca313b2b55575d20f3e363701b5fefd6ce3ec86894b34cb0
|
3 |
+
size 34568504
|