Androidonnxfork
commited on
Commit
•
ad135f1
1
Parent(s):
5e3e8f7
Upload folder using huggingface_hub
Browse files- .gitattributes +9 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/majicmixfull.zip +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/model_index.json +37 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/required_operators.config +15 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/required_operators.with_runtime_opt.config +18 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/scheduler/scheduler_config.json +24 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/text_encoder/model.onnx +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/text_encoder/model.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/text_encoder/model.with_runtime_opt.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/tokenizer/merges.txt +0 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/tokenizer/special_tokens_map.json +24 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/tokenizer/tokenizer_config.json +33 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/tokenizer/vocab.json +0 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/unet/model.onnx +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/unet/model.onnx.data +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/unet/model.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/unet/model.with_runtime_opt.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_decoder/model.onnx +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_decoder/model.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_decoder/model.with_runtime_opt.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_encoder/model.onnx +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_encoder/model.ort +3 -0
- fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_encoder/model.with_runtime_opt.ort +3 -0
.gitattributes
CHANGED
@@ -79,3 +79,12 @@ fp16fullonnxsdquantized_in_ort/realastic-vision-v20/vae_decoder/model.with_runti
|
|
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
|
81 |
fp16fullonnxsdquantized/realvisionv4.0/unet/model.onnx.data 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
|
81 |
fp16fullonnxsdquantized/realvisionv4.0/unet/model.onnx.data filter=lfs diff=lfs merge=lfs -text
|
82 |
+
fp16fullonnxsdquantized_in_ort/realvisionv4.0/text_encoder/model.ort filter=lfs diff=lfs merge=lfs -text
|
83 |
+
fp16fullonnxsdquantized_in_ort/realvisionv4.0/text_encoder/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
84 |
+
fp16fullonnxsdquantized_in_ort/realvisionv4.0/unet/model.onnx.data filter=lfs diff=lfs merge=lfs -text
|
85 |
+
fp16fullonnxsdquantized_in_ort/realvisionv4.0/unet/model.ort filter=lfs diff=lfs merge=lfs -text
|
86 |
+
fp16fullonnxsdquantized_in_ort/realvisionv4.0/unet/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
87 |
+
fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_decoder/model.ort filter=lfs diff=lfs merge=lfs -text
|
88 |
+
fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_decoder/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
89 |
+
fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_encoder/model.ort filter=lfs diff=lfs merge=lfs -text
|
90 |
+
fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_encoder/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/majicmixfull.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77cbef67b6a5fee1890234636b6248cc97a23922390303743b20ffc8db167402
|
3 |
+
size 1953754477
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/model_index.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "OnnxStableDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.19.0.dev0",
|
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 |
+
"DPMSolverMultistepScheduler"
|
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/realvisionv4.0/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/realvisionv4.0/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/tmpgfwh9x1n.without_runtime_opt/text_encoder/model.ort
|
4 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/tmpgfwh9x1n.without_runtime_opt/unet/model.ort
|
5 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/tmpgfwh9x1n.without_runtime_opt/vae_decoder/model.ort
|
6 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/tmpgfwh9x1n.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/realvisionv4.0/scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DPMSolverMultistepScheduler",
|
3 |
+
"_diffusers_version": "0.19.0.dev0",
|
4 |
+
"algorithm_type": "dpmsolver++",
|
5 |
+
"beta_end": 0.012,
|
6 |
+
"beta_schedule": "scaled_linear",
|
7 |
+
"beta_start": 0.00085,
|
8 |
+
"clip_sample": false,
|
9 |
+
"dynamic_thresholding_ratio": 0.995,
|
10 |
+
"lambda_min_clipped": -Infinity,
|
11 |
+
"lower_order_final": true,
|
12 |
+
"num_train_timesteps": 1000,
|
13 |
+
"prediction_type": "epsilon",
|
14 |
+
"sample_max_value": 1.0,
|
15 |
+
"set_alpha_to_one": false,
|
16 |
+
"solver_order": 2,
|
17 |
+
"solver_type": "midpoint",
|
18 |
+
"steps_offset": 1,
|
19 |
+
"thresholding": false,
|
20 |
+
"timestep_spacing": "linspace",
|
21 |
+
"trained_betas": null,
|
22 |
+
"use_karras_sigmas": false,
|
23 |
+
"variance_type": null
|
24 |
+
}
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/text_encoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21aa9fc2f54a2d7abeab3b0dae3589889b74abaac4704474b5644f4df924966c
|
3 |
+
size 124315311
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/text_encoder/model.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e3cd58c7e7fc3b077ef303a18a29d55595b1df0439fb7ea6bc4645bc847285d
|
3 |
+
size 124370984
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/text_encoder/model.with_runtime_opt.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff9f4d68ac66be851e6b56a9866e4ea6d26926cd1d47a46e52f1f9cabc4a2a5f
|
3 |
+
size 124483336
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/tokenizer/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/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/realvisionv4.0/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/realvisionv4.0/tokenizer/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/unet/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:604ec5781a0e674a4c46425a90c45e1ce3988ae777e4e522e63c7d1c55f99f28
|
3 |
+
size 17745983
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/unet/model.onnx.data
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63d5a9f62b16d2bd0eea3c822059d6a7ff463f7588bb92b744474243c5aa11b5
|
3 |
+
size 860852480
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/unet/model.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3dba2b97e1a24a816d8a9ed654ffc38f528ca867353b3bea4c9eb1435519495d
|
3 |
+
size 874459584
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/unet/model.with_runtime_opt.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3f1f99ad19d46a4ceaa9d729c0a6802a58d858895d0d251e8abb7289aa303707
|
3 |
+
size 874912744
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_decoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7dbefc9cae5c5ad01b414060093d1269712a7769f7579ac9f24c805d66bd84cb
|
3 |
+
size 49818164
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_decoder/model.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca9baec228e6d0f786f6b3b0953a56742bceb6b0b96f11f54e4ccf4e9258784c
|
3 |
+
size 49976208
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_decoder/model.with_runtime_opt.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:468a37a9ceec06fefb6a60abf365e24840806c6af68a5827291263473c054ad0
|
3 |
+
size 49985560
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_encoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10e87b46723dcc427c7afb7beb5931b860830eca963bd1002e11da52c40ab4b2
|
3 |
+
size 34424514
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_encoder/model.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d22f4fe3e0364e51d0fdfac1fdd45c38f99d070047f89349ed618a41087d731
|
3 |
+
size 34560952
|
fp16fullonnxsdquantized_in_ort/realvisionv4.0/vae_encoder/model.with_runtime_opt.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a89e01c1e2aeb715073b86c58adaafa455bbd56340556fbc0066433fec07992e
|
3 |
+
size 34568504
|