Androidonnxfork
commited on
Commit
•
73ca3c5
1
Parent(s):
badb6ae
Upload folder using huggingface_hub
Browse files- .gitattributes +9 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/majicmixfull.zip +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/model_index.json +37 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/required_operators.config +15 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/required_operators.with_runtime_opt.config +18 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/scheduler/scheduler_config.json +24 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/text_encoder/model.onnx +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/text_encoder/model.ort +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/text_encoder/model.with_runtime_opt.ort +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/tokenizer/merges.txt +0 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/tokenizer/special_tokens_map.json +24 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/tokenizer/tokenizer_config.json +33 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/tokenizer/vocab.json +0 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/unet/model.onnx +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/unet/model.onnx.data +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/unet/model.ort +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/unet/model.with_runtime_opt.ort +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/vae_decoder/model.onnx +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/vae_decoder/model.ort +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/vae_decoder/model.with_runtime_opt.ort +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/vae_encoder/model.onnx +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/vae_encoder/model.ort +3 -0
- fp16fullonnxsdquantized_in_ort/absolute_reality/vae_encoder/model.with_runtime_opt.ort +3 -0
.gitattributes
CHANGED
@@ -50,3 +50,12 @@ fp16onnxsdquantized_in_ort/realastic-vision-v20/model.onnx.data filter=lfs diff=
|
|
50 |
fp16onnxsdquantized_in_ort/realastic-vision-v20/model.ort filter=lfs diff=lfs merge=lfs -text
|
51 |
fp16onnxsdquantized_in_ort/realastic-vision-v20/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
52 |
fp16fullonnxsdquantized/absolute_reality/unet/model.onnx.data filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
fp16onnxsdquantized_in_ort/realastic-vision-v20/model.ort filter=lfs diff=lfs merge=lfs -text
|
51 |
fp16onnxsdquantized_in_ort/realastic-vision-v20/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
52 |
fp16fullonnxsdquantized/absolute_reality/unet/model.onnx.data filter=lfs diff=lfs merge=lfs -text
|
53 |
+
fp16fullonnxsdquantized_in_ort/absolute_reality/text_encoder/model.ort filter=lfs diff=lfs merge=lfs -text
|
54 |
+
fp16fullonnxsdquantized_in_ort/absolute_reality/text_encoder/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
55 |
+
fp16fullonnxsdquantized_in_ort/absolute_reality/unet/model.onnx.data filter=lfs diff=lfs merge=lfs -text
|
56 |
+
fp16fullonnxsdquantized_in_ort/absolute_reality/unet/model.ort filter=lfs diff=lfs merge=lfs -text
|
57 |
+
fp16fullonnxsdquantized_in_ort/absolute_reality/unet/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
58 |
+
fp16fullonnxsdquantized_in_ort/absolute_reality/vae_decoder/model.ort filter=lfs diff=lfs merge=lfs -text
|
59 |
+
fp16fullonnxsdquantized_in_ort/absolute_reality/vae_decoder/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
60 |
+
fp16fullonnxsdquantized_in_ort/absolute_reality/vae_encoder/model.ort filter=lfs diff=lfs merge=lfs -text
|
61 |
+
fp16fullonnxsdquantized_in_ort/absolute_reality/vae_encoder/model.with_runtime_opt.ort filter=lfs diff=lfs merge=lfs -text
|
fp16fullonnxsdquantized_in_ort/absolute_reality/majicmixfull.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38f7ecee049ec1309760139bfd7c586eb73a0f69ad9af03bc79702402bd163df
|
3 |
+
size 1954655969
|
fp16fullonnxsdquantized_in_ort/absolute_reality/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/absolute_reality/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/absolute_reality/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/tmp7v2eths7.without_runtime_opt/text_encoder/model.ort
|
4 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/tmp7v2eths7.without_runtime_opt/unet/model.ort
|
5 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/tmp7v2eths7.without_runtime_opt/vae_decoder/model.ort
|
6 |
+
# - /content/Stable-Diffusion-ONNX-FP16/stable-diffusion-streamlit/src/stable-diffusion-streamlit/pages/model/onnx/tmp7v2eths7.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/absolute_reality/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/absolute_reality/text_encoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7324ed47f9c94c0dcf66296931af937ea56ed793bfc1de4af9492ddf2824c307
|
3 |
+
size 124315311
|
fp16fullonnxsdquantized_in_ort/absolute_reality/text_encoder/model.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:997587f1a6b916d811849d3fdcafd0ebffcf7b6615ad9dd1e08a0fdabc4245ed
|
3 |
+
size 124370984
|
fp16fullonnxsdquantized_in_ort/absolute_reality/text_encoder/model.with_runtime_opt.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ba33d3c8bd99bfd4618a14278f4f45b60fab9da24d7e6c71c542c48c6c80e27
|
3 |
+
size 124483336
|
fp16fullonnxsdquantized_in_ort/absolute_reality/tokenizer/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
fp16fullonnxsdquantized_in_ort/absolute_reality/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/absolute_reality/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/absolute_reality/tokenizer/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
fp16fullonnxsdquantized_in_ort/absolute_reality/unet/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23709e279231928fea529d9d21ae7c1eaa3e6f25e91ac5035f02afbe83b071b4
|
3 |
+
size 17745983
|
fp16fullonnxsdquantized_in_ort/absolute_reality/unet/model.onnx.data
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f815f08d2c2cda678f34d536b3e2b7e18bc30edb023465fb09bd8309c137365
|
3 |
+
size 860852480
|
fp16fullonnxsdquantized_in_ort/absolute_reality/unet/model.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2212745151ec5505b3827f7e5e11b77599312d53e08ef90a52713868a438edc4
|
3 |
+
size 874458800
|
fp16fullonnxsdquantized_in_ort/absolute_reality/unet/model.with_runtime_opt.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbab7ec662642198481e99c6287fec31417b07f4cf17e85aba50663a4ca09c0f
|
3 |
+
size 874911960
|
fp16fullonnxsdquantized_in_ort/absolute_reality/vae_decoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24cc9c4939c461d77f50e2957fb0655d0b17d1d0748bb2696e5267afdbc574f6
|
3 |
+
size 49818164
|
fp16fullonnxsdquantized_in_ort/absolute_reality/vae_decoder/model.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5c29e0abc57182ecf14f84ff3846e6ee7a8b669c46c66a781af267c3aeabb87
|
3 |
+
size 49976208
|
fp16fullonnxsdquantized_in_ort/absolute_reality/vae_decoder/model.with_runtime_opt.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b6d698f04fde53338ff6c30ad22d0b929d2c5039b3077e063f4213b9a03cb14
|
3 |
+
size 49985568
|
fp16fullonnxsdquantized_in_ort/absolute_reality/vae_encoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30aa275086ba99cd5bda2ae4c20e16d7e5fe919187e590ff71f22028f9918041
|
3 |
+
size 34424514
|
fp16fullonnxsdquantized_in_ort/absolute_reality/vae_encoder/model.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30bb89446705443fb7b517664040360cbf8b47cfece1f7b5bb6594603a65d932
|
3 |
+
size 34560952
|
fp16fullonnxsdquantized_in_ort/absolute_reality/vae_encoder/model.with_runtime_opt.ort
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a805d3ca0da697794eb43e181d30b9236b836b32b97d4c53af8fbbbad05af7ac
|
3 |
+
size 34568504
|