yujiepan commited on
Commit
c6f881b
1 Parent(s): 53c3832

Upload folder using huggingface_hub

Browse files
compressed_graph.dot ADDED
The diff for this file is too large to render. See raw diff
 
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
+ }
model_index.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "OVStableDiffusionPipeline",
3
+ "_diffusers_version": "0.23.0",
4
+ "feature_extractor": [
5
+ "transformers",
6
+ "CLIPFeatureExtractor"
7
+ ],
8
+ "requires_safety_checker": true,
9
+ "safety_checker": [
10
+ "stable_diffusion",
11
+ "StableDiffusionSafetyChecker"
12
+ ],
13
+ "scheduler": [
14
+ "diffusers",
15
+ "LCMScheduler"
16
+ ],
17
+ "text_encoder": [
18
+ "optimum",
19
+ "OVModelTextEncoder"
20
+ ],
21
+ "text_encoder_2": [
22
+ null,
23
+ null
24
+ ],
25
+ "tokenizer": [
26
+ "transformers",
27
+ "CLIPTokenizer"
28
+ ],
29
+ "unet": [
30
+ "optimum",
31
+ "OVModelUnet"
32
+ ],
33
+ "vae_decoder": [
34
+ "optimum",
35
+ "OVModelVaeDecoder"
36
+ ],
37
+ "vae_encoder": [
38
+ "optimum",
39
+ "OVModelVaeEncoder"
40
+ ]
41
+ }
nncf_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "input_info": [
3
+ {
4
+ "sample_size": [
5
+ 1,
6
+ 4,
7
+ 64,
8
+ 64
9
+ ]
10
+ },
11
+ {
12
+ "sample_size": [
13
+ 1
14
+ ]
15
+ },
16
+ {
17
+ "sample_size": [
18
+ 1,
19
+ 77,
20
+ 768
21
+ ]
22
+ }
23
+ ],
24
+ "log_dir": "./dreamshaper-8-lcm-openvino-w8a8",
25
+ "compression": [
26
+ {
27
+ "algorithm": "quantization",
28
+ "preset": "mixed",
29
+ "initializer": {
30
+ "range": {
31
+ "num_init_samples": 512,
32
+ "type": "mean_min_max"
33
+ },
34
+ "batchnorm_adaptation": {
35
+ "num_bn_adaptation_samples": 512
36
+ }
37
+ },
38
+ "scope_overrides": {
39
+ "activations": {
40
+ "{re}.*baddbmm_0": {
41
+ "mode": "symmetric"
42
+ }
43
+ }
44
+ },
45
+ "ignored_scopes": [
46
+ "{re}.*__add___[0-2]",
47
+ "{re}.*layer_norm_0",
48
+ "{re}.*Attention.*/bmm_0",
49
+ "{re}.*__truediv__*",
50
+ "{re}.*group_norm_0",
51
+ "{re}.*mul___[0-2]",
52
+ "{re}.*silu_[0-2]"
53
+ ],
54
+ "overflow_fix": "disable",
55
+ "export_to_onnx_standard_ops": false
56
+ }
57
+ ]
58
+ }
original_graph.dot ADDED
The diff for this file is too large to render. See raw diff
 
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "LCMScheduler",
3
+ "_diffusers_version": "0.23.0",
4
+ "algorithm_type": "deis",
5
+ "beta_end": 0.012,
6
+ "beta_schedule": "scaled_linear",
7
+ "beta_start": 0.00085,
8
+ "clip_sample": false,
9
+ "clip_sample_range": 1.0,
10
+ "dynamic_thresholding_ratio": 0.995,
11
+ "lower_order_final": true,
12
+ "num_train_timesteps": 1000,
13
+ "original_inference_steps": 50,
14
+ "prediction_type": "epsilon",
15
+ "rescale_betas_zero_snr": false,
16
+ "sample_max_value": 1.0,
17
+ "set_alpha_to_one": false,
18
+ "skip_prk_steps": true,
19
+ "solver_order": 2,
20
+ "solver_type": "logrho",
21
+ "steps_offset": 1,
22
+ "thresholding": false,
23
+ "timestep_scaling": 10.0,
24
+ "timestep_spacing": "leading",
25
+ "trained_betas": null,
26
+ "use_karras_sigmas": false
27
+ }
text_encoder/openvino_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:670e4809efdfb100afc31be57ab45741cd02b0e8ee81d0913d7617c2bccd8639
3
+ size 246121788
text_encoder/openvino_model.xml ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "49406": {
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "49407": {
13
+ "content": "<|endoftext|>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ }
20
+ },
21
+ "bos_token": "<|startoftext|>",
22
+ "clean_up_tokenization_spaces": true,
23
+ "do_lower_case": true,
24
+ "eos_token": "<|endoftext|>",
25
+ "errors": "replace",
26
+ "model_max_length": 77,
27
+ "pad_token": "<|endoftext|>",
28
+ "tokenizer_class": "CLIPTokenizer",
29
+ "unk_token": "<|endoftext|>"
30
+ }
tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
unet/exec_graph.bin ADDED
File without changes
unet/exec_graph.xml ADDED
The diff for this file is too large to render. See raw diff
 
unet/openvino_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdd0ab661700efbc8b0bc7ad7b740e819222d89ee6cb0e10b0e61e9c8b66a031
3
+ size 860603232
unet/openvino_model.xml ADDED
The diff for this file is too large to render. See raw diff
 
vae_decoder/openvino_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2706612af16492fa2e2127cfe8dd1d2a1b484493305b3efa7ae358500d1f401c
3
+ size 98980624
vae_decoder/openvino_model.xml ADDED
The diff for this file is too large to render. See raw diff
 
vae_encoder/openvino_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f95de24645e45fb7caa5225ae0f3129de076d2d4f027ed0605f9fd249ad6fa0d
3
+ size 68327566
vae_encoder/openvino_model.xml ADDED
The diff for this file is too large to render. See raw diff