WaveCut commited on
Commit
f2b7557
·
verified ·
1 Parent(s): 1b712d2

Add files using upload-large-folder tool

Browse files
Files changed (42) hide show
  1. .gitattributes +13 -0
  2. README.md +99 -0
  3. comparison/00_00-cyrillic-poster.webp +3 -0
  4. comparison/01_01-long-text-bakery-ad.webp +3 -0
  5. comparison/02_02-technical-diagram.webp +3 -0
  6. comparison/03_03-four-panel-comic.webp +3 -0
  7. comparison/04_04-public-domain-painter-fusion.webp +3 -0
  8. comparison/05_05-dashboard-ui.webp +0 -0
  9. comparison/06_06-glass-still-life.webp +3 -0
  10. comparison/07_07-botanical-field-guide.webp +3 -0
  11. comparison/08_08-restaurant-menu-board.webp +3 -0
  12. comparison/09_09-isometric-city-map.webp +3 -0
  13. comparison/manifest.json +49 -0
  14. comparison/original_vs_sdnq_qmm_vs_aifarm_current_matrix.webp +3 -0
  15. comparison/original_vs_sdnq_uint4_static_matrix.webp +3 -0
  16. comparison/three_way_manifest.json +10 -0
  17. metrics/aifarm_current_metrics.json +151 -0
  18. metrics/original_metrics.json +170 -0
  19. metrics/prompts.json +82 -0
  20. metrics/quantization_metrics.json +22 -0
  21. metrics/sdnq_uint4_static_metrics.json +171 -0
  22. model_index.json +33 -0
  23. pe/config.json +151 -0
  24. pe/generation_config.json +8 -0
  25. pe/model.safetensors +3 -0
  26. pe/quantization_config.json +113 -0
  27. pe_tokenizer/chat_template.jinja +8 -0
  28. pe_tokenizer/tokenizer.json +3 -0
  29. pe_tokenizer/tokenizer_config.json +1014 -0
  30. quantization_config.json +30 -0
  31. quantization_metrics.json +22 -0
  32. scheduler/scheduler_config.json +18 -0
  33. text_encoder/config.json +231 -0
  34. text_encoder/model.safetensors +3 -0
  35. text_encoder/quantization_config.json +164 -0
  36. tokenizer/tokenizer.json +3 -0
  37. tokenizer/tokenizer_config.json +16 -0
  38. transformer/config.json +225 -0
  39. transformer/diffusion_pytorch_model.safetensors +3 -0
  40. transformer/quantization_config.json +202 -0
  41. vae/config.json +41 -0
  42. vae/diffusion_pytorch_model.safetensors +3 -0
.gitattributes CHANGED
@@ -33,3 +33,16 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ pe_tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ comparison/00_00-cyrillic-poster.webp filter=lfs diff=lfs merge=lfs -text
39
+ comparison/01_01-long-text-bakery-ad.webp filter=lfs diff=lfs merge=lfs -text
40
+ comparison/02_02-technical-diagram.webp filter=lfs diff=lfs merge=lfs -text
41
+ comparison/03_03-four-panel-comic.webp filter=lfs diff=lfs merge=lfs -text
42
+ comparison/04_04-public-domain-painter-fusion.webp filter=lfs diff=lfs merge=lfs -text
43
+ comparison/06_06-glass-still-life.webp filter=lfs diff=lfs merge=lfs -text
44
+ comparison/07_07-botanical-field-guide.webp filter=lfs diff=lfs merge=lfs -text
45
+ comparison/08_08-restaurant-menu-board.webp filter=lfs diff=lfs merge=lfs -text
46
+ comparison/09_09-isometric-city-map.webp filter=lfs diff=lfs merge=lfs -text
47
+ comparison/original_vs_sdnq_uint4_static_matrix.webp filter=lfs diff=lfs merge=lfs -text
48
+ comparison/original_vs_sdnq_qmm_vs_aifarm_current_matrix.webp filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: baidu/ERNIE-Image-Turbo
4
+ pipeline_tag: text-to-image
5
+ library_name: diffusers
6
+ tags:
7
+ - text-to-image
8
+ - diffusers
9
+ - safetensors
10
+ - ernie-image
11
+ - sdnq
12
+ - quantized
13
+ - uint4
14
+ - static
15
+ ---
16
+
17
+ # ERNIE-Image-Turbo SDNQ UINT4 Static
18
+
19
+ This is a 4-bit SDNQ static quantization of [baidu/ERNIE-Image-Turbo](https://huggingface.co/baidu/ERNIE-Image-Turbo).
20
+ It keeps the original Diffusers `ErnieImagePipeline` layout and was produced with `sdnq` using `weights_dtype=uint4`,
21
+ static weight quantization, `dequantize_fp32=false`, and no dynamic threshold.
22
+
23
+ The original model card describes ERNIE-Image-Turbo as an 8B distilled text-to-image model for fast 8-step generation,
24
+ with strong text rendering, structured image generation, and complex prompt following. This quantized release is intended
25
+ to reduce local storage and VRAM needs while preserving those practical behaviors.
26
+
27
+ ## Recipe
28
+
29
+ - Base model: `baidu/ERNIE-Image-Turbo`
30
+ - Quantizer: `sdnq` {'weights_dtype': 'uint4', 'group_size': 0, 'use_svd': False, 'svd_rank': 32, 'svd_steps': 8, 'dynamic_loss_threshold': None, 'use_quantized_matmul': False, 'dequantize_fp32': False}
31
+ - Validation loader: SDNQ quantized matmul enabled for `pe`, `text_encoder`, and `transformer`
32
+ - Output artifact size: `10.05 GB`
33
+ - GPU used for quantization and validation: NVIDIA RTX A6000
34
+ - Validation prompts: 10 fixed prompt/seed pairs covering Cyrillic text, long English text, diagrams, UI, comics, reflections, maps, and painterly styles.
35
+
36
+ ## Measured Results
37
+
38
+ | Model | Load s | Load peak VRAM MiB | Cold inference s | Cold peak VRAM MiB | Hot mean s/img | Hot peak VRAM MiB |
39
+ |---|---:|---:|---:|---:|---:|---:|
40
+ | Original BF16 | 84.64 | 29614 | 19.96 | 34848 | 21.26 | 35126 |
41
+ | SDNQ UINT4 static + quantized matmul | 62.36 | 9776 | 37.53 | 12870 | 39.90 | 12974 |
42
+
43
+ ## Visual Comparison
44
+
45
+ [![Original vs SDNQ UINT4 static comparison matrix](comparison/original_vs_sdnq_uint4_static_matrix.webp)](comparison/original_vs_sdnq_uint4_static_matrix.webp)
46
+
47
+ Individual prompt pairs are stored in `comparison/`, and full metrics are stored in `metrics/`.
48
+
49
+ ## Usage
50
+
51
+ Install current Diffusers and SDNQ, then load the pipeline normally:
52
+
53
+ ```python
54
+ import torch
55
+ import sdnq # registers the SDNQ quantizer
56
+ from diffusers import ErnieImagePipeline
57
+ from sdnq.loader import apply_sdnq_options_to_model
58
+
59
+ pipe = ErnieImagePipeline.from_pretrained(
60
+ "WaveCut/ERNIE-Image-Turbo-SDNQ-uint4-static",
61
+ torch_dtype=torch.bfloat16,
62
+ ).to("cuda")
63
+
64
+ for name in ("pe", "text_encoder", "transformer"):
65
+ component = getattr(pipe, name, None)
66
+ if component is not None and hasattr(component, "quantization_config"):
67
+ setattr(pipe, name, apply_sdnq_options_to_model(component, use_quantized_matmul=True))
68
+
69
+ image = pipe(
70
+ prompt="A clean poster with exact readable text: HELLO ERNIE",
71
+ width=1024,
72
+ height=1024,
73
+ num_inference_steps=8,
74
+ guidance_scale=1.0,
75
+ use_pe=True,
76
+ ).images[0]
77
+ image.save("output.png")
78
+ ```
79
+
80
+ ## Prompt Set
81
+
82
+ | # | Prompt ID | Size | Seed | Focus |
83
+ |---:|---|---:|---:|---|
84
+ | 00 | `00-cyrillic-poster` | 1024x1024 | 41001 | Cyrillic event poster |
85
+ | 01 | `01-long-text-bakery-ad` | 896x1200 | 41002 | Long text product ad |
86
+ | 02 | `02-technical-diagram` | 1200x896 | 41003 | Technical diagram |
87
+ | 03 | `03-four-panel-comic` | 1024x1024 | 41004 | Four-panel comic |
88
+ | 04 | `04-public-domain-painter-fusion` | 1024x1024 | 41005 | Painterly style fusion |
89
+ | 05 | `05-dashboard-ui` | 1376x768 | 41006 | Dense UI dashboard |
90
+ | 06 | `06-glass-still-life` | 1024x1024 | 41007 | Glass and reflections |
91
+ | 07 | `07-botanical-field-guide` | 896x1200 | 41008 | Field guide plate |
92
+ | 08 | `08-restaurant-menu-board` | 1024x1024 | 41009 | Menu board text |
93
+ | 09 | `09-isometric-city-map` | 1200x896 | 41010 | Isometric map |
94
+
95
+ ## Notes
96
+
97
+ - The comparison uses the same prompts, dimensions, seeds, 8 inference steps, guidance scale 1.0, `use_pe=True`, and SDNQ quantized matmul for the quantized model.
98
+ - The model was visually checked against the original comparison matrix for layout preservation, prompt adherence, text rendering, and obvious quantization artifacts.
99
+ - This is an independent quantized artifact; see the original Baidu model card for upstream model details, benchmarks, and license terms.
comparison/00_00-cyrillic-poster.webp ADDED

Git LFS Details

  • SHA256: 9b528c6f6a01cbab134104d20a7fa7b7601fa3fd674f470837adc5085d88ec52
  • Pointer size: 131 Bytes
  • Size of remote file: 158 kB
comparison/01_01-long-text-bakery-ad.webp ADDED

Git LFS Details

  • SHA256: 2c6874b27928da928e8257966cd3ad4bbf2564aa238263a0ac34e656ed10dc61
  • Pointer size: 131 Bytes
  • Size of remote file: 137 kB
comparison/02_02-technical-diagram.webp ADDED

Git LFS Details

  • SHA256: b3e8323a802d2d072ff0818760564fa3ed270efac70242a82f654bde2be94cde
  • Pointer size: 131 Bytes
  • Size of remote file: 132 kB
comparison/03_03-four-panel-comic.webp ADDED

Git LFS Details

  • SHA256: 54640948ad844e0cedd9eb5dfe4a9bd4c97647098b14164ae41c790580180308
  • Pointer size: 131 Bytes
  • Size of remote file: 259 kB
comparison/04_04-public-domain-painter-fusion.webp ADDED

Git LFS Details

  • SHA256: 46d342dc6261daae1d6f3edc6e79e4ba0151d7a97eb5befa2ec8ebc4763d3601
  • Pointer size: 131 Bytes
  • Size of remote file: 290 kB
comparison/05_05-dashboard-ui.webp ADDED
comparison/06_06-glass-still-life.webp ADDED

Git LFS Details

  • SHA256: 6550fe1c98e02f69b3b64011899807a5aebfc9f7acb7a192f5d9a840b88e890f
  • Pointer size: 131 Bytes
  • Size of remote file: 238 kB
comparison/07_07-botanical-field-guide.webp ADDED

Git LFS Details

  • SHA256: b522978e1d13fb840ce790e6b6dd40f9480a0d3486213a1a01b6075d01678713
  • Pointer size: 131 Bytes
  • Size of remote file: 222 kB
comparison/08_08-restaurant-menu-board.webp ADDED

Git LFS Details

  • SHA256: a0a9aee9de835c7cd7763bfa2d0522e72940b1ce7a518398a4e6072af4172209
  • Pointer size: 131 Bytes
  • Size of remote file: 232 kB
comparison/09_09-isometric-city-map.webp ADDED

Git LFS Details

  • SHA256: 487b997e478fdd87b4cea4946ca38457ba793f41c5ab8e6acba634f6269bf917
  • Pointer size: 131 Bytes
  • Size of remote file: 180 kB
comparison/manifest.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "matrix": "comparison/original_vs_sdnq_uint4_static_matrix.webp",
3
+ "pairs": [
4
+ {
5
+ "prompt_id": "00-cyrillic-poster",
6
+ "pair": "comparison/00_00-cyrillic-poster.webp"
7
+ },
8
+ {
9
+ "prompt_id": "01-long-text-bakery-ad",
10
+ "pair": "comparison/01_01-long-text-bakery-ad.webp"
11
+ },
12
+ {
13
+ "prompt_id": "02-technical-diagram",
14
+ "pair": "comparison/02_02-technical-diagram.webp"
15
+ },
16
+ {
17
+ "prompt_id": "03-four-panel-comic",
18
+ "pair": "comparison/03_03-four-panel-comic.webp"
19
+ },
20
+ {
21
+ "prompt_id": "04-public-domain-painter-fusion",
22
+ "pair": "comparison/04_04-public-domain-painter-fusion.webp"
23
+ },
24
+ {
25
+ "prompt_id": "05-dashboard-ui",
26
+ "pair": "comparison/05_05-dashboard-ui.webp"
27
+ },
28
+ {
29
+ "prompt_id": "06-glass-still-life",
30
+ "pair": "comparison/06_06-glass-still-life.webp"
31
+ },
32
+ {
33
+ "prompt_id": "07-botanical-field-guide",
34
+ "pair": "comparison/07_07-botanical-field-guide.webp"
35
+ },
36
+ {
37
+ "prompt_id": "08-restaurant-menu-board",
38
+ "pair": "comparison/08_08-restaurant-menu-board.webp"
39
+ },
40
+ {
41
+ "prompt_id": "09-isometric-city-map",
42
+ "pair": "comparison/09_09-isometric-city-map.webp"
43
+ }
44
+ ],
45
+ "original_label": "original",
46
+ "quant_label": "sdnq_uint4_static_qmm",
47
+ "quant_title": "SDNQ UINT4 static + qmm",
48
+ "format": "WebP quality 97"
49
+ }
comparison/original_vs_sdnq_qmm_vs_aifarm_current_matrix.webp ADDED

Git LFS Details

  • SHA256: 2a70e862e0803a48d6a93e64b1c2314de42ad787c7fa9560813b675d93e43b1b
  • Pointer size: 132 Bytes
  • Size of remote file: 2.08 MB
comparison/original_vs_sdnq_uint4_static_matrix.webp ADDED

Git LFS Details

  • SHA256: a0318dac77342d3bcec136f1e43c49c4e4f8fd6fb4945d4f738f8239f000080e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.99 MB
comparison/three_way_manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "matrix": "comparison/original_vs_sdnq_qmm_vs_aifarm_current_matrix.webp",
3
+ "columns": [
4
+ "Original BF16",
5
+ "ERNIE SDNQ UINT4 qmm",
6
+ "AI Farm FLUX.2 klein"
7
+ ],
8
+ "format": "WebP quality 97",
9
+ "uploaded_to_hf_but_not_linked_from_readme": true
10
+ }
metrics/aifarm_current_metrics.json ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "label": "aifarm_current",
3
+ "model": "WaveCut/FLUX.2-klein-9B-SDNQ-SNOfS-lora05-heretic-te-uint4-static",
4
+ "settings": {
5
+ "num_inference_steps": 8,
6
+ "guidance_scale": 1.0,
7
+ "seed": "passed to draw-api"
8
+ },
9
+ "generations": [
10
+ {
11
+ "name": "generate_00-cyrillic-poster",
12
+ "seconds": 22.099228713996126,
13
+ "elapsed_ms_reported": 21650,
14
+ "job_id": "aifarm-ernie-compare-00-cyrillic-poster-1779059445702",
15
+ "request_id": "ernie-compare-00-cyrillic-poster",
16
+ "model_id": "WaveCut/FLUX.2-klein-9B-SDNQ-SNOfS-lora05-heretic-te-uint4-static",
17
+ "prompt_id": "00-cyrillic-poster",
18
+ "title": "Cyrillic event poster",
19
+ "seed": 41001,
20
+ "width": 1024,
21
+ "height": 1024,
22
+ "image": "images/00_00-cyrillic-poster.jpg"
23
+ },
24
+ {
25
+ "name": "generate_01-long-text-bakery-ad",
26
+ "seconds": 45.140852112992434,
27
+ "elapsed_ms_reported": 30304,
28
+ "job_id": "aifarm-ernie-compare-01-long-text-bakery-ad-1779059467802",
29
+ "request_id": "ernie-compare-01-long-text-bakery-ad",
30
+ "model_id": "WaveCut/FLUX.2-klein-9B-SDNQ-SNOfS-lora05-heretic-te-uint4-static",
31
+ "prompt_id": "01-long-text-bakery-ad",
32
+ "title": "Long text product ad",
33
+ "seed": 41002,
34
+ "width": 896,
35
+ "height": 1200,
36
+ "image": "images/01_01-long-text-bakery-ad.jpg"
37
+ },
38
+ {
39
+ "name": "generate_02-technical-diagram",
40
+ "seconds": 28.08245640298992,
41
+ "elapsed_ms_reported": 27132,
42
+ "job_id": "aifarm-ernie-compare-02-technical-diagram-1779059512943",
43
+ "request_id": "ernie-compare-02-technical-diagram",
44
+ "model_id": "WaveCut/FLUX.2-klein-9B-SDNQ-SNOfS-lora05-heretic-te-uint4-static",
45
+ "prompt_id": "02-technical-diagram",
46
+ "title": "Technical diagram",
47
+ "seed": 41003,
48
+ "width": 1200,
49
+ "height": 896,
50
+ "image": "images/02_02-technical-diagram.jpg"
51
+ },
52
+ {
53
+ "name": "generate_03-four-panel-comic",
54
+ "seconds": 36.10489075900114,
55
+ "elapsed_ms_reported": 21818,
56
+ "job_id": "aifarm-ernie-compare-03-four-panel-comic-1779059541026",
57
+ "request_id": "ernie-compare-03-four-panel-comic",
58
+ "model_id": "WaveCut/FLUX.2-klein-9B-SDNQ-SNOfS-lora05-heretic-te-uint4-static",
59
+ "prompt_id": "03-four-panel-comic",
60
+ "title": "Four-panel comic",
61
+ "seed": 41004,
62
+ "width": 1024,
63
+ "height": 1024,
64
+ "image": "images/03_03-four-panel-comic.jpg"
65
+ },
66
+ {
67
+ "name": "generate_04-public-domain-painter-fusion",
68
+ "seconds": 22.075391891994514,
69
+ "elapsed_ms_reported": 21789,
70
+ "job_id": "aifarm-ernie-compare-04-public-domain-painter-fusion-1779059577131",
71
+ "request_id": "ernie-compare-04-public-domain-painter-fusion",
72
+ "model_id": "WaveCut/FLUX.2-klein-9B-SDNQ-SNOfS-lora05-heretic-te-uint4-static",
73
+ "prompt_id": "04-public-domain-painter-fusion",
74
+ "title": "Painterly style fusion",
75
+ "seed": 41005,
76
+ "width": 1024,
77
+ "height": 1024,
78
+ "image": "images/04_04-public-domain-painter-fusion.jpg"
79
+ },
80
+ {
81
+ "name": "generate_05-dashboard-ui",
82
+ "seconds": 46.1179654699954,
83
+ "elapsed_ms_reported": 30210,
84
+ "job_id": "aifarm-ernie-compare-05-dashboard-ui-1779059599207",
85
+ "request_id": "ernie-compare-05-dashboard-ui",
86
+ "model_id": "WaveCut/FLUX.2-klein-9B-SDNQ-SNOfS-lora05-heretic-te-uint4-static",
87
+ "prompt_id": "05-dashboard-ui",
88
+ "title": "Dense UI dashboard",
89
+ "seed": 41006,
90
+ "width": 1376,
91
+ "height": 768,
92
+ "image": "images/05_05-dashboard-ui.jpg"
93
+ },
94
+ {
95
+ "name": "generate_06-glass-still-life",
96
+ "seconds": 36.09438178999699,
97
+ "elapsed_ms_reported": 21733,
98
+ "job_id": "aifarm-ernie-compare-06-glass-still-life-1779059645325",
99
+ "request_id": "ernie-compare-06-glass-still-life",
100
+ "model_id": "WaveCut/FLUX.2-klein-9B-SDNQ-SNOfS-lora05-heretic-te-uint4-static",
101
+ "prompt_id": "06-glass-still-life",
102
+ "title": "Glass and reflections",
103
+ "seed": 41007,
104
+ "width": 1024,
105
+ "height": 1024,
106
+ "image": "images/06_06-glass-still-life.jpg"
107
+ },
108
+ {
109
+ "name": "generate_07-botanical-field-guide",
110
+ "seconds": 39.10773252599756,
111
+ "elapsed_ms_reported": 23354,
112
+ "job_id": "aifarm-ernie-compare-07-botanical-field-guide-1779059681420",
113
+ "request_id": "ernie-compare-07-botanical-field-guide",
114
+ "model_id": "WaveCut/FLUX.2-klein-9B-SDNQ-SNOfS-lora05-heretic-te-uint4-static",
115
+ "prompt_id": "07-botanical-field-guide",
116
+ "title": "Field guide plate",
117
+ "seed": 41008,
118
+ "width": 896,
119
+ "height": 1200,
120
+ "image": "images/07_07-botanical-field-guide.jpg"
121
+ },
122
+ {
123
+ "name": "generate_08-restaurant-menu-board",
124
+ "seconds": 36.10639868999715,
125
+ "elapsed_ms_reported": 21702,
126
+ "job_id": "aifarm-ernie-compare-08-restaurant-menu-board-1779059720528",
127
+ "request_id": "ernie-compare-08-restaurant-menu-board",
128
+ "model_id": "WaveCut/FLUX.2-klein-9B-SDNQ-SNOfS-lora05-heretic-te-uint4-static",
129
+ "prompt_id": "08-restaurant-menu-board",
130
+ "title": "Menu board text",
131
+ "seed": 41009,
132
+ "width": 1024,
133
+ "height": 1024,
134
+ "image": "images/08_08-restaurant-menu-board.jpg"
135
+ },
136
+ {
137
+ "name": "generate_09-isometric-city-map",
138
+ "seconds": 24.073563486992498,
139
+ "elapsed_ms_reported": 23341,
140
+ "job_id": "aifarm-ernie-compare-09-isometric-city-map-1779059756635",
141
+ "request_id": "ernie-compare-09-isometric-city-map",
142
+ "model_id": "WaveCut/FLUX.2-klein-9B-SDNQ-SNOfS-lora05-heretic-te-uint4-static",
143
+ "prompt_id": "09-isometric-city-map",
144
+ "title": "Isometric map",
145
+ "seed": 41010,
146
+ "width": 1200,
147
+ "height": 896,
148
+ "image": "images/09_09-isometric-city-map.jpg"
149
+ }
150
+ ]
151
+ }
metrics/original_metrics.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "label": "original",
3
+ "model": "baidu/ERNIE-Image-Turbo",
4
+ "settings": {
5
+ "num_inference_steps": 8,
6
+ "guidance_scale": 1.0,
7
+ "use_pe": true
8
+ },
9
+ "load": {
10
+ "name": "load_pipeline",
11
+ "seconds": 84.6412352710031,
12
+ "gpu_start_mib": 4,
13
+ "gpu_end_mib": 29698,
14
+ "gpu_peak_mib": 29614,
15
+ "torch_peak_allocated_mib": 29379,
16
+ "torch_peak_reserved_mib": 29428
17
+ },
18
+ "generations": [
19
+ {
20
+ "name": "generate_00-cyrillic-poster",
21
+ "seconds": 19.96482683205977,
22
+ "gpu_start_mib": 29698,
23
+ "gpu_end_mib": 34848,
24
+ "gpu_peak_mib": 34848,
25
+ "torch_peak_allocated_mib": 31830,
26
+ "torch_peak_reserved_mib": 34516,
27
+ "prompt_id": "00-cyrillic-poster",
28
+ "title": "Cyrillic event poster",
29
+ "seed": 41001,
30
+ "width": 1024,
31
+ "height": 1024,
32
+ "image": "original/images/00_00-cyrillic-poster.png"
33
+ },
34
+ {
35
+ "name": "generate_01-long-text-bakery-ad",
36
+ "seconds": 20.59528775140643,
37
+ "gpu_start_mib": 29760,
38
+ "gpu_end_mib": 35018,
39
+ "gpu_peak_mib": 35018,
40
+ "torch_peak_allocated_mib": 31897,
41
+ "torch_peak_reserved_mib": 34686,
42
+ "prompt_id": "01-long-text-bakery-ad",
43
+ "title": "Long text product ad",
44
+ "seed": 41002,
45
+ "width": 896,
46
+ "height": 1200,
47
+ "image": "original/images/01_01-long-text-bakery-ad.png"
48
+ },
49
+ {
50
+ "name": "generate_02-technical-diagram",
51
+ "seconds": 20.183351018000394,
52
+ "gpu_start_mib": 29760,
53
+ "gpu_end_mib": 35012,
54
+ "gpu_peak_mib": 35012,
55
+ "torch_peak_allocated_mib": 31897,
56
+ "torch_peak_reserved_mib": 34680,
57
+ "prompt_id": "02-technical-diagram",
58
+ "title": "Technical diagram",
59
+ "seed": 41003,
60
+ "width": 1200,
61
+ "height": 896,
62
+ "image": "original/images/02_02-technical-diagram.png"
63
+ },
64
+ {
65
+ "name": "generate_03-four-panel-comic",
66
+ "seconds": 24.42651346232742,
67
+ "gpu_start_mib": 29760,
68
+ "gpu_end_mib": 35004,
69
+ "gpu_peak_mib": 35004,
70
+ "torch_peak_allocated_mib": 31833,
71
+ "torch_peak_reserved_mib": 34672,
72
+ "prompt_id": "03-four-panel-comic",
73
+ "title": "Four-panel comic",
74
+ "seed": 41004,
75
+ "width": 1024,
76
+ "height": 1024,
77
+ "image": "original/images/03_03-four-panel-comic.png"
78
+ },
79
+ {
80
+ "name": "generate_04-public-domain-painter-fusion",
81
+ "seconds": 21.53745141904801,
82
+ "gpu_start_mib": 29760,
83
+ "gpu_end_mib": 34948,
84
+ "gpu_peak_mib": 34948,
85
+ "torch_peak_allocated_mib": 31831,
86
+ "torch_peak_reserved_mib": 34616,
87
+ "prompt_id": "04-public-domain-painter-fusion",
88
+ "title": "Painterly style fusion",
89
+ "seed": 41005,
90
+ "width": 1024,
91
+ "height": 1024,
92
+ "image": "original/images/04_04-public-domain-painter-fusion.png"
93
+ },
94
+ {
95
+ "name": "generate_05-dashboard-ui",
96
+ "seconds": 22.292551767081022,
97
+ "gpu_start_mib": 29760,
98
+ "gpu_end_mib": 35000,
99
+ "gpu_peak_mib": 35000,
100
+ "torch_peak_allocated_mib": 31854,
101
+ "torch_peak_reserved_mib": 34668,
102
+ "prompt_id": "05-dashboard-ui",
103
+ "title": "Dense UI dashboard",
104
+ "seed": 41006,
105
+ "width": 1376,
106
+ "height": 768,
107
+ "image": "original/images/05_05-dashboard-ui.png"
108
+ },
109
+ {
110
+ "name": "generate_06-glass-still-life",
111
+ "seconds": 19.866105827037245,
112
+ "gpu_start_mib": 29760,
113
+ "gpu_end_mib": 34874,
114
+ "gpu_peak_mib": 34874,
115
+ "torch_peak_allocated_mib": 31831,
116
+ "torch_peak_reserved_mib": 34542,
117
+ "prompt_id": "06-glass-still-life",
118
+ "title": "Glass and reflections",
119
+ "seed": 41007,
120
+ "width": 1024,
121
+ "height": 1024,
122
+ "image": "original/images/06_06-glass-still-life.png"
123
+ },
124
+ {
125
+ "name": "generate_07-botanical-field-guide",
126
+ "seconds": 23.37823957297951,
127
+ "gpu_start_mib": 29760,
128
+ "gpu_end_mib": 35126,
129
+ "gpu_peak_mib": 35126,
130
+ "torch_peak_allocated_mib": 31899,
131
+ "torch_peak_reserved_mib": 34794,
132
+ "prompt_id": "07-botanical-field-guide",
133
+ "title": "Field guide plate",
134
+ "seed": 41008,
135
+ "width": 896,
136
+ "height": 1200,
137
+ "image": "original/images/07_07-botanical-field-guide.png"
138
+ },
139
+ {
140
+ "name": "generate_08-restaurant-menu-board",
141
+ "seconds": 18.75183128984645,
142
+ "gpu_start_mib": 29760,
143
+ "gpu_end_mib": 34876,
144
+ "gpu_peak_mib": 34876,
145
+ "torch_peak_allocated_mib": 31830,
146
+ "torch_peak_reserved_mib": 34544,
147
+ "prompt_id": "08-restaurant-menu-board",
148
+ "title": "Menu board text",
149
+ "seed": 41009,
150
+ "width": 1024,
151
+ "height": 1024,
152
+ "image": "original/images/08_08-restaurant-menu-board.png"
153
+ },
154
+ {
155
+ "name": "generate_09-isometric-city-map",
156
+ "seconds": 20.34645133698359,
157
+ "gpu_start_mib": 29760,
158
+ "gpu_end_mib": 35010,
159
+ "gpu_peak_mib": 35010,
160
+ "torch_peak_allocated_mib": 31897,
161
+ "torch_peak_reserved_mib": 34678,
162
+ "prompt_id": "09-isometric-city-map",
163
+ "title": "Isometric map",
164
+ "seed": 41010,
165
+ "width": 1200,
166
+ "height": 896,
167
+ "image": "original/images/09_09-isometric-city-map.png"
168
+ }
169
+ ]
170
+ }
metrics/prompts.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "id": "00-cyrillic-poster",
4
+ "seed": 41001,
5
+ "width": 1024,
6
+ "height": 1024,
7
+ "title": "Cyrillic event poster",
8
+ "prompt": "A clean modern cultural festival poster on matte paper, centered typographic hierarchy, large exact Russian headline text: \"НОЧЬ МУЗЕЕВ 2026\". Below it, smaller exact text: \"Лекции, музыка, световые инсталляции, вход свободный\". Include a map-like floor plan, ticket stubs, QR-code-like square, subtle cyan and red ink over warm white, crisp readable Cyrillic, Swiss poster grid, realistic print texture, no extra words."
9
+ },
10
+ {
11
+ "id": "01-long-text-bakery-ad",
12
+ "seed": 41002,
13
+ "width": 896,
14
+ "height": 1200,
15
+ "title": "Long text product ad",
16
+ "prompt": "A premium vertical magazine advertisement for a fictional bakery called \"Quantum Bakery\". Render a glossy croissant, a small espresso cup, and a paper bag. Include exact readable English text: \"48 LAYERS OF BUTTER, 12 HOURS OF PATIENCE, ONE QUIET MORNING\". Add a secondary line: \"OPEN 07:30-19:00, RUE DES ORCHIDS\". Elegant editorial photography, shallow depth of field, precise typography integrated into the scene, soft shadows, no misspellings."
17
+ },
18
+ {
19
+ "id": "02-technical-diagram",
20
+ "seed": 41003,
21
+ "width": 1200,
22
+ "height": 896,
23
+ "title": "Technical diagram",
24
+ "prompt": "A clear technical cutaway diagram of a lunar greenhouse module, white background, thin black vector lines, arrows, numbered callouts, and readable labels. Include exact labels: \"AIRLOCK\", \"WATER LOOP\", \"ROOT MIST\", \"LED CANOPY\", \"CO2 SENSOR\", and Russian label \"ЗОНА РОСТА\". Show pumps, transparent pipes, plant trays, pressure shell, and an inset timeline with 4 stages. High information density but clean layout, like a NASA engineering poster."
25
+ },
26
+ {
27
+ "id": "03-four-panel-comic",
28
+ "seed": 41004,
29
+ "width": 1024,
30
+ "height": 1024,
31
+ "title": "Four-panel comic",
32
+ "prompt": "A four-panel comic page with consistent characters and panel borders. Panel 1: a young engineer finds a tiny glowing compass on a rainy tram platform. Panel 2: the compass projects a map of the city above her hands. Panel 3: she repairs a broken street clock using the compass light. Panel 4: dawn breaks and the tram sign reads exact Russian text: \"СЛЕДУЮЩАЯ ОСТАНОВКА — ДОМ\". Warm cinematic color, expressive faces, clean speech bubbles, readable lettering, no random extra panels."
33
+ },
34
+ {
35
+ "id": "04-public-domain-painter-fusion",
36
+ "seed": 41005,
37
+ "width": 1024,
38
+ "height": 1024,
39
+ "title": "Painterly style fusion",
40
+ "prompt": "A large oil painting of a stormy botanical library, inspired by public-domain art language: luminous Turner-like atmosphere, Hokusai-style curling waves outside the windows, and Alphonse Mucha ornamental plant borders. A librarian in a dark green coat protects floating herbarium pages. Rich brushwork, layered glazes, coherent anatomy, dramatic light, museum-grade texture, no text."
41
+ },
42
+ {
43
+ "id": "05-dashboard-ui",
44
+ "seed": 41006,
45
+ "width": 1376,
46
+ "height": 768,
47
+ "title": "Dense UI dashboard",
48
+ "prompt": "A realistic screenshot of a professional operations dashboard for a city bike network, dark-on-light utilitarian UI, dense but organized. Include a map, 5 KPI cards, a sortable table, tiny trend charts, and readable labels: \"Fleet Health\", \"Open Repairs\", \"Battery Risk\", \"Station 12\", \"ETA 08:45\". No marketing hero layout, no decorative blobs, crisp interface typography, believable data."
49
+ },
50
+ {
51
+ "id": "06-glass-still-life",
52
+ "seed": 41007,
53
+ "width": 1024,
54
+ "height": 1024,
55
+ "title": "Glass and reflections",
56
+ "prompt": "A photorealistic studio still life with difficult transparent materials: two nested glass bowls, a chrome spoon, water droplets, sliced blood oranges, a folded blue silk scarf, and a small handwritten card that says exactly \"REFRACTION TEST\". Complex caustics, believable reflections, ray-traced look, high dynamic range, sharp focus."
57
+ },
58
+ {
59
+ "id": "07-botanical-field-guide",
60
+ "seed": 41008,
61
+ "width": 896,
62
+ "height": 1200,
63
+ "title": "Field guide plate",
64
+ "prompt": "A vintage botanical field guide plate showing six fictional alpine plants, each with roots, leaves, flowers, scale bars, and small Latin-style labels. Include exact title text: \"PLATE VII — ALPINE LUMEN FLORA\". Fine ink engraving, watercolor washes, aged paper, scientific layout, tiny annotations, no malformed plant parts."
65
+ },
66
+ {
67
+ "id": "08-restaurant-menu-board",
68
+ "seed": 41009,
69
+ "width": 1024,
70
+ "height": 1024,
71
+ "title": "Menu board text",
72
+ "prompt": "A cozy bistro interior with a chalkboard menu behind the counter. The chalkboard must contain readable Russian menu text: \"СУП ДНЯ — ТЫКВЕННЫЙ\", \"ПИРОГ С ЯБЛОКАМИ\", \"ЧАЙ С ОБЛЕПИХОЙ\", \"КОФЕ 180\". Warm tungsten light, realistic people in the background, chalk dust texture, legible Cyrillic, no extra gibberish."
73
+ },
74
+ {
75
+ "id": "09-isometric-city-map",
76
+ "seed": 41010,
77
+ "width": 1200,
78
+ "height": 896,
79
+ "title": "Isometric map",
80
+ "prompt": "An isometric illustrated city map for a compact waterfront district, with tiny buildings, bridges, tram tracks, parks, and a ferry terminal. Include readable place labels: \"North Pier\", \"Library Square\", \"Market Hall\", \"Старый мост\", and \"Line B\". Precise geometry, playful but clean cartographic style, many small details, consistent perspective, no floating text."
81
+ }
82
+ ]
metrics/quantization_metrics.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "quantize_and_save",
3
+ "seconds": 71.19859568402171,
4
+ "gpu_start_mib": 270,
5
+ "gpu_end_mib": 312,
6
+ "gpu_peak_mib": 1276,
7
+ "torch_peak_allocated_mib": 870,
8
+ "torch_peak_reserved_mib": 964,
9
+ "base_model": "baidu/ERNIE-Image-Turbo",
10
+ "output": "artifacts/ERNIE-Image-Turbo-SDNQ-uint4-static",
11
+ "output_size_bytes": 10048077414,
12
+ "recipe": {
13
+ "weights_dtype": "uint4",
14
+ "group_size": 0,
15
+ "use_svd": false,
16
+ "svd_rank": 32,
17
+ "svd_steps": 8,
18
+ "dynamic_loss_threshold": null,
19
+ "use_quantized_matmul": false,
20
+ "dequantize_fp32": false
21
+ }
22
+ }
metrics/sdnq_uint4_static_metrics.json ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "label": "sdnq_uint4_static_qmm",
3
+ "model": "artifacts/ERNIE-Image-Turbo-SDNQ-uint4-static",
4
+ "settings": {
5
+ "num_inference_steps": 8,
6
+ "guidance_scale": 1.0,
7
+ "use_pe": true,
8
+ "use_quantized_matmul": true
9
+ },
10
+ "load": {
11
+ "name": "load_pipeline",
12
+ "seconds": 62.3583417320624,
13
+ "gpu_start_mib": 4,
14
+ "gpu_end_mib": 9840,
15
+ "gpu_peak_mib": 9776,
16
+ "torch_peak_allocated_mib": 9555,
17
+ "torch_peak_reserved_mib": 9572
18
+ },
19
+ "generations": [
20
+ {
21
+ "name": "generate_00-cyrillic-poster",
22
+ "seconds": 37.53265648102388,
23
+ "gpu_start_mib": 9840,
24
+ "gpu_end_mib": 12870,
25
+ "gpu_peak_mib": 12870,
26
+ "torch_peak_allocated_mib": 12005,
27
+ "torch_peak_reserved_mib": 12538,
28
+ "prompt_id": "00-cyrillic-poster",
29
+ "title": "Cyrillic event poster",
30
+ "seed": 41001,
31
+ "width": 1024,
32
+ "height": 1024,
33
+ "image": "sdnq_uint4_static_qmm/images/00_00-cyrillic-poster.png"
34
+ },
35
+ {
36
+ "name": "generate_01-long-text-bakery-ad",
37
+ "seconds": 31.206937978044152,
38
+ "gpu_start_mib": 9906,
39
+ "gpu_end_mib": 12974,
40
+ "gpu_peak_mib": 12974,
41
+ "torch_peak_allocated_mib": 12067,
42
+ "torch_peak_reserved_mib": 12640,
43
+ "prompt_id": "01-long-text-bakery-ad",
44
+ "title": "Long text product ad",
45
+ "seed": 41002,
46
+ "width": 896,
47
+ "height": 1200,
48
+ "image": "sdnq_uint4_static_qmm/images/01_01-long-text-bakery-ad.png"
49
+ },
50
+ {
51
+ "name": "generate_02-technical-diagram",
52
+ "seconds": 27.878881530370563,
53
+ "gpu_start_mib": 9906,
54
+ "gpu_end_mib": 12952,
55
+ "gpu_peak_mib": 12952,
56
+ "torch_peak_allocated_mib": 12066,
57
+ "torch_peak_reserved_mib": 12618,
58
+ "prompt_id": "02-technical-diagram",
59
+ "title": "Technical diagram",
60
+ "seed": 41003,
61
+ "width": 1200,
62
+ "height": 896,
63
+ "image": "sdnq_uint4_static_qmm/images/02_02-technical-diagram.png"
64
+ },
65
+ {
66
+ "name": "generate_03-four-panel-comic",
67
+ "seconds": 50.17965244408697,
68
+ "gpu_start_mib": 9906,
69
+ "gpu_end_mib": 12874,
70
+ "gpu_peak_mib": 12874,
71
+ "torch_peak_allocated_mib": 12010,
72
+ "torch_peak_reserved_mib": 12540,
73
+ "prompt_id": "03-four-panel-comic",
74
+ "title": "Four-panel comic",
75
+ "seed": 41004,
76
+ "width": 1024,
77
+ "height": 1024,
78
+ "image": "sdnq_uint4_static_qmm/images/03_03-four-panel-comic.png"
79
+ },
80
+ {
81
+ "name": "generate_04-public-domain-painter-fusion",
82
+ "seconds": 39.54749615164474,
83
+ "gpu_start_mib": 9906,
84
+ "gpu_end_mib": 12872,
85
+ "gpu_peak_mib": 12872,
86
+ "torch_peak_allocated_mib": 12007,
87
+ "torch_peak_reserved_mib": 12538,
88
+ "prompt_id": "04-public-domain-painter-fusion",
89
+ "title": "Painterly style fusion",
90
+ "seed": 41005,
91
+ "width": 1024,
92
+ "height": 1024,
93
+ "image": "sdnq_uint4_static_qmm/images/04_04-public-domain-painter-fusion.png"
94
+ },
95
+ {
96
+ "name": "generate_05-dashboard-ui",
97
+ "seconds": 52.02436265302822,
98
+ "gpu_start_mib": 9908,
99
+ "gpu_end_mib": 12912,
100
+ "gpu_peak_mib": 12912,
101
+ "torch_peak_allocated_mib": 12029,
102
+ "torch_peak_reserved_mib": 12578,
103
+ "prompt_id": "05-dashboard-ui",
104
+ "title": "Dense UI dashboard",
105
+ "seed": 41006,
106
+ "width": 1376,
107
+ "height": 768,
108
+ "image": "sdnq_uint4_static_qmm/images/05_05-dashboard-ui.png"
109
+ },
110
+ {
111
+ "name": "generate_06-glass-still-life",
112
+ "seconds": 41.64155141590163,
113
+ "gpu_start_mib": 9906,
114
+ "gpu_end_mib": 12872,
115
+ "gpu_peak_mib": 12872,
116
+ "torch_peak_allocated_mib": 12007,
117
+ "torch_peak_reserved_mib": 12538,
118
+ "prompt_id": "06-glass-still-life",
119
+ "title": "Glass and reflections",
120
+ "seed": 41007,
121
+ "width": 1024,
122
+ "height": 1024,
123
+ "image": "sdnq_uint4_static_qmm/images/06_06-glass-still-life.png"
124
+ },
125
+ {
126
+ "name": "generate_07-botanical-field-guide",
127
+ "seconds": 38.91597466357052,
128
+ "gpu_start_mib": 9908,
129
+ "gpu_end_mib": 12952,
130
+ "gpu_peak_mib": 12952,
131
+ "torch_peak_allocated_mib": 12069,
132
+ "torch_peak_reserved_mib": 12618,
133
+ "prompt_id": "07-botanical-field-guide",
134
+ "title": "Field guide plate",
135
+ "seed": 41008,
136
+ "width": 896,
137
+ "height": 1200,
138
+ "image": "sdnq_uint4_static_qmm/images/07_07-botanical-field-guide.png"
139
+ },
140
+ {
141
+ "name": "generate_08-restaurant-menu-board",
142
+ "seconds": 28.993361878208816,
143
+ "gpu_start_mib": 9906,
144
+ "gpu_end_mib": 12872,
145
+ "gpu_peak_mib": 12872,
146
+ "torch_peak_allocated_mib": 12005,
147
+ "torch_peak_reserved_mib": 12538,
148
+ "prompt_id": "08-restaurant-menu-board",
149
+ "title": "Menu board text",
150
+ "seed": 41009,
151
+ "width": 1024,
152
+ "height": 1024,
153
+ "image": "sdnq_uint4_static_qmm/images/08_08-restaurant-menu-board.png"
154
+ },
155
+ {
156
+ "name": "generate_09-isometric-city-map",
157
+ "seconds": 48.68713657883927,
158
+ "gpu_start_mib": 9908,
159
+ "gpu_end_mib": 12952,
160
+ "gpu_peak_mib": 12952,
161
+ "torch_peak_allocated_mib": 12072,
162
+ "torch_peak_reserved_mib": 12618,
163
+ "prompt_id": "09-isometric-city-map",
164
+ "title": "Isometric map",
165
+ "seed": 41010,
166
+ "width": 1200,
167
+ "height": 896,
168
+ "image": "sdnq_uint4_static_qmm/images/09_09-isometric-city-map.png"
169
+ }
170
+ ]
171
+ }
model_index.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "ErnieImagePipeline",
3
+ "_diffusers_version": "0.39.0.dev0",
4
+ "_name_or_path": "baidu/ERNIE-Image-Turbo",
5
+ "pe": [
6
+ "transformers",
7
+ "Ministral3ForCausalLM"
8
+ ],
9
+ "pe_tokenizer": [
10
+ "transformers",
11
+ "TokenizersBackend"
12
+ ],
13
+ "scheduler": [
14
+ "diffusers",
15
+ "FlowMatchEulerDiscreteScheduler"
16
+ ],
17
+ "text_encoder": [
18
+ "transformers",
19
+ "Mistral3Model"
20
+ ],
21
+ "tokenizer": [
22
+ "transformers",
23
+ "TokenizersBackend"
24
+ ],
25
+ "transformer": [
26
+ "diffusers",
27
+ "ErnieImageTransformer2DModel"
28
+ ],
29
+ "vae": [
30
+ "diffusers",
31
+ "AutoencoderKLFlux2"
32
+ ]
33
+ }
pe/config.json ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Ministral3ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 1,
7
+ "dtype": "bfloat16",
8
+ "eos_token_id": 2,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 3072,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 9216,
14
+ "max_position_embeddings": 262144,
15
+ "model_type": "ministral3",
16
+ "num_attention_heads": 32,
17
+ "num_hidden_layers": 26,
18
+ "num_key_value_heads": 8,
19
+ "pad_token_id": 11,
20
+ "quantization_config": {
21
+ "add_skip_keys": false,
22
+ "dequantize_fp32": false,
23
+ "dynamic_loss_threshold": null,
24
+ "group_size": 0,
25
+ "is_integer": true,
26
+ "is_training": false,
27
+ "modules_dtype_dict": {},
28
+ "modules_quant_config": {},
29
+ "modules_to_not_convert": [
30
+ ".img_out",
31
+ ".proj_out",
32
+ ".emb_in",
33
+ ".final_layer",
34
+ "patch_embed",
35
+ ".time_embed",
36
+ "multi_modal_projector",
37
+ ".condition_embedder",
38
+ ".t_embedder",
39
+ "lm_head.weight",
40
+ "wte",
41
+ "model.embed_tokens",
42
+ "lm_head",
43
+ ".txt_out",
44
+ "time_text_embed",
45
+ ".context_embedder",
46
+ ".txt_in",
47
+ ".emb_out",
48
+ ".norm_out",
49
+ ".img_in",
50
+ ".vid_in",
51
+ ".x_embedder",
52
+ "patch_embedding",
53
+ "patch_emb",
54
+ ".vid_out",
55
+ ".y_embedder",
56
+ "model.embed_tokens.weight",
57
+ "lm_head.weight",
58
+ "model.embed_tokens.weight",
59
+ "model.layers.0.input_layernorm.weight",
60
+ "model.layers.0.post_attention_layernorm.weight",
61
+ "model.layers.1.input_layernorm.weight",
62
+ "model.layers.1.post_attention_layernorm.weight",
63
+ "model.layers.2.input_layernorm.weight",
64
+ "model.layers.2.post_attention_layernorm.weight",
65
+ "model.layers.3.input_layernorm.weight",
66
+ "model.layers.3.post_attention_layernorm.weight",
67
+ "model.layers.4.input_layernorm.weight",
68
+ "model.layers.4.post_attention_layernorm.weight",
69
+ "model.layers.5.input_layernorm.weight",
70
+ "model.layers.5.post_attention_layernorm.weight",
71
+ "model.layers.6.input_layernorm.weight",
72
+ "model.layers.6.post_attention_layernorm.weight",
73
+ "model.layers.7.input_layernorm.weight",
74
+ "model.layers.7.post_attention_layernorm.weight",
75
+ "model.layers.8.input_layernorm.weight",
76
+ "model.layers.8.post_attention_layernorm.weight",
77
+ "model.layers.9.input_layernorm.weight",
78
+ "model.layers.9.post_attention_layernorm.weight",
79
+ "model.layers.10.input_layernorm.weight",
80
+ "model.layers.10.post_attention_layernorm.weight",
81
+ "model.layers.11.input_layernorm.weight",
82
+ "model.layers.11.post_attention_layernorm.weight",
83
+ "model.layers.12.input_layernorm.weight",
84
+ "model.layers.12.post_attention_layernorm.weight",
85
+ "model.layers.13.input_layernorm.weight",
86
+ "model.layers.13.post_attention_layernorm.weight",
87
+ "model.layers.14.input_layernorm.weight",
88
+ "model.layers.14.post_attention_layernorm.weight",
89
+ "model.layers.15.input_layernorm.weight",
90
+ "model.layers.15.post_attention_layernorm.weight",
91
+ "model.layers.16.input_layernorm.weight",
92
+ "model.layers.16.post_attention_layernorm.weight",
93
+ "model.layers.17.input_layernorm.weight",
94
+ "model.layers.17.post_attention_layernorm.weight",
95
+ "model.layers.18.input_layernorm.weight",
96
+ "model.layers.18.post_attention_layernorm.weight",
97
+ "model.layers.19.input_layernorm.weight",
98
+ "model.layers.19.post_attention_layernorm.weight",
99
+ "model.layers.20.input_layernorm.weight",
100
+ "model.layers.20.post_attention_layernorm.weight",
101
+ "model.layers.21.input_layernorm.weight",
102
+ "model.layers.21.post_attention_layernorm.weight",
103
+ "model.layers.22.input_layernorm.weight",
104
+ "model.layers.22.post_attention_layernorm.weight",
105
+ "model.layers.23.input_layernorm.weight",
106
+ "model.layers.23.post_attention_layernorm.weight",
107
+ "model.layers.24.input_layernorm.weight",
108
+ "model.layers.24.post_attention_layernorm.weight",
109
+ "model.layers.25.input_layernorm.weight",
110
+ "model.layers.25.post_attention_layernorm.weight",
111
+ "model.norm.weight"
112
+ ],
113
+ "modules_to_not_use_matmul": [],
114
+ "non_blocking": false,
115
+ "quant_conv": false,
116
+ "quant_embedding": false,
117
+ "quant_method": "sdnq",
118
+ "quantization_device": null,
119
+ "quantized_matmul_dtype": null,
120
+ "return_device": null,
121
+ "sdnq_version": "0.1.9",
122
+ "svd_rank": 32,
123
+ "svd_steps": 8,
124
+ "use_dynamic_quantization": false,
125
+ "use_grad_ckpt": true,
126
+ "use_quantized_matmul": false,
127
+ "use_quantized_matmul_conv": false,
128
+ "use_static_quantization": true,
129
+ "use_stochastic_rounding": false,
130
+ "use_svd": false,
131
+ "weights_dtype": "uint4"
132
+ },
133
+ "rms_norm_eps": 1e-05,
134
+ "rope_parameters": {
135
+ "beta_fast": 32.0,
136
+ "beta_slow": 1.0,
137
+ "factor": 16.0,
138
+ "llama_4_scaling_beta": 0.1,
139
+ "mscale": 1.0,
140
+ "mscale_all_dim": 1.0,
141
+ "original_max_position_embeddings": 16384,
142
+ "rope_theta": 1000000.0,
143
+ "rope_type": "yarn",
144
+ "type": "yarn"
145
+ },
146
+ "sliding_window": null,
147
+ "tie_word_embeddings": true,
148
+ "transformers_version": "5.8.0.dev0",
149
+ "use_cache": true,
150
+ "vocab_size": 131072
151
+ }
pe/generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 11,
6
+ "transformers_version": "5.8.0.dev0",
7
+ "use_cache": true
8
+ }
pe/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b11d70dfd43b69ce8d57a51d467726f776d79bfc41a029e2bf5a9e0eae8c8a1
3
+ size 2507932808
pe/quantization_config.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_skip_keys": false,
3
+ "dequantize_fp32": false,
4
+ "dynamic_loss_threshold": null,
5
+ "group_size": 0,
6
+ "is_integer": true,
7
+ "is_training": false,
8
+ "modules_dtype_dict": {},
9
+ "modules_quant_config": {},
10
+ "modules_to_not_convert": [
11
+ ".img_out",
12
+ ".proj_out",
13
+ ".emb_in",
14
+ ".final_layer",
15
+ "patch_embed",
16
+ ".time_embed",
17
+ "multi_modal_projector",
18
+ ".condition_embedder",
19
+ ".t_embedder",
20
+ "lm_head.weight",
21
+ "wte",
22
+ "model.embed_tokens",
23
+ "lm_head",
24
+ ".txt_out",
25
+ "time_text_embed",
26
+ ".context_embedder",
27
+ ".txt_in",
28
+ ".emb_out",
29
+ ".norm_out",
30
+ ".img_in",
31
+ ".vid_in",
32
+ ".x_embedder",
33
+ "patch_embedding",
34
+ "patch_emb",
35
+ ".vid_out",
36
+ ".y_embedder",
37
+ "model.embed_tokens.weight",
38
+ "lm_head.weight",
39
+ "model.embed_tokens.weight",
40
+ "model.layers.0.input_layernorm.weight",
41
+ "model.layers.0.post_attention_layernorm.weight",
42
+ "model.layers.1.input_layernorm.weight",
43
+ "model.layers.1.post_attention_layernorm.weight",
44
+ "model.layers.2.input_layernorm.weight",
45
+ "model.layers.2.post_attention_layernorm.weight",
46
+ "model.layers.3.input_layernorm.weight",
47
+ "model.layers.3.post_attention_layernorm.weight",
48
+ "model.layers.4.input_layernorm.weight",
49
+ "model.layers.4.post_attention_layernorm.weight",
50
+ "model.layers.5.input_layernorm.weight",
51
+ "model.layers.5.post_attention_layernorm.weight",
52
+ "model.layers.6.input_layernorm.weight",
53
+ "model.layers.6.post_attention_layernorm.weight",
54
+ "model.layers.7.input_layernorm.weight",
55
+ "model.layers.7.post_attention_layernorm.weight",
56
+ "model.layers.8.input_layernorm.weight",
57
+ "model.layers.8.post_attention_layernorm.weight",
58
+ "model.layers.9.input_layernorm.weight",
59
+ "model.layers.9.post_attention_layernorm.weight",
60
+ "model.layers.10.input_layernorm.weight",
61
+ "model.layers.10.post_attention_layernorm.weight",
62
+ "model.layers.11.input_layernorm.weight",
63
+ "model.layers.11.post_attention_layernorm.weight",
64
+ "model.layers.12.input_layernorm.weight",
65
+ "model.layers.12.post_attention_layernorm.weight",
66
+ "model.layers.13.input_layernorm.weight",
67
+ "model.layers.13.post_attention_layernorm.weight",
68
+ "model.layers.14.input_layernorm.weight",
69
+ "model.layers.14.post_attention_layernorm.weight",
70
+ "model.layers.15.input_layernorm.weight",
71
+ "model.layers.15.post_attention_layernorm.weight",
72
+ "model.layers.16.input_layernorm.weight",
73
+ "model.layers.16.post_attention_layernorm.weight",
74
+ "model.layers.17.input_layernorm.weight",
75
+ "model.layers.17.post_attention_layernorm.weight",
76
+ "model.layers.18.input_layernorm.weight",
77
+ "model.layers.18.post_attention_layernorm.weight",
78
+ "model.layers.19.input_layernorm.weight",
79
+ "model.layers.19.post_attention_layernorm.weight",
80
+ "model.layers.20.input_layernorm.weight",
81
+ "model.layers.20.post_attention_layernorm.weight",
82
+ "model.layers.21.input_layernorm.weight",
83
+ "model.layers.21.post_attention_layernorm.weight",
84
+ "model.layers.22.input_layernorm.weight",
85
+ "model.layers.22.post_attention_layernorm.weight",
86
+ "model.layers.23.input_layernorm.weight",
87
+ "model.layers.23.post_attention_layernorm.weight",
88
+ "model.layers.24.input_layernorm.weight",
89
+ "model.layers.24.post_attention_layernorm.weight",
90
+ "model.layers.25.input_layernorm.weight",
91
+ "model.layers.25.post_attention_layernorm.weight",
92
+ "model.norm.weight"
93
+ ],
94
+ "modules_to_not_use_matmul": [],
95
+ "non_blocking": false,
96
+ "quant_conv": false,
97
+ "quant_embedding": false,
98
+ "quant_method": "sdnq",
99
+ "quantization_device": null,
100
+ "quantized_matmul_dtype": null,
101
+ "return_device": null,
102
+ "sdnq_version": "0.1.9",
103
+ "svd_rank": 32,
104
+ "svd_steps": 8,
105
+ "use_dynamic_quantization": false,
106
+ "use_grad_ckpt": true,
107
+ "use_quantized_matmul": false,
108
+ "use_quantized_matmul_conv": false,
109
+ "use_static_quantization": true,
110
+ "use_stochastic_rounding": false,
111
+ "use_svd": false,
112
+ "weights_dtype": "uint4"
113
+ }
pe_tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {{- bos_token }}[SYSTEM_PROMPT]你是一个专业的文生图 Prompt 增强助手。你将收到用户的简短图片描述及目标生成分辨率,请据此扩写为一段内容丰富、细节充分的视觉描述,以帮助文生图模型生成高质量的图片。仅输出增强后的描述,不要包含任何解释或前缀。[/SYSTEM_PROMPT]
2
+ {%- for message in messages %}
3
+ {%- if message['role'] == 'user' %}
4
+ {{- '[INST]' + message['content'] + '[/INST]' }}
5
+ {%- elif message['role'] == 'assistant' %}
6
+ {%- generation %}{{ message['content'] }}{{ eos_token }}{% endgeneration %}
7
+ {%- endif %}
8
+ {%- endfor %}
pe_tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:286acad9b0e27fce778ac429763536accf618ccb6ed72963b6f94685e531c5c7
3
+ size 17077402
pe_tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,1014 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "extra_special_tokens": [
6
+ "<unk>",
7
+ "<s>",
8
+ "</s>",
9
+ "[INST]",
10
+ "[/INST]",
11
+ "[AVAILABLE_TOOLS]",
12
+ "[/AVAILABLE_TOOLS]",
13
+ "[TOOL_RESULTS]",
14
+ "[/TOOL_RESULTS]",
15
+ "[TOOL_CALLS]",
16
+ "[IMG]",
17
+ "<pad>",
18
+ "[IMG_BREAK]",
19
+ "[IMG_END]",
20
+ "[PREFIX]",
21
+ "[MIDDLE]",
22
+ "[SUFFIX]",
23
+ "[SYSTEM_PROMPT]",
24
+ "[/SYSTEM_PROMPT]",
25
+ "[TOOL_CONTENT]",
26
+ "<SPECIAL_20>",
27
+ "<SPECIAL_21>",
28
+ "<SPECIAL_22>",
29
+ "<SPECIAL_23>",
30
+ "[AUDIO]",
31
+ "[BEGIN_AUDIO]",
32
+ "<SPECIAL_26>",
33
+ "<SPECIAL_27>",
34
+ "<SPECIAL_28>",
35
+ "<SPECIAL_29>",
36
+ "<SPECIAL_30>",
37
+ "<SPECIAL_31>",
38
+ "[ARGS]",
39
+ "[CALL_ID]",
40
+ "[THINK]",
41
+ "[/THINK]",
42
+ "<SPECIAL_36>",
43
+ "<SPECIAL_37>",
44
+ "<SPECIAL_38>",
45
+ "<SPECIAL_39>",
46
+ "<SPECIAL_40>",
47
+ "<SPECIAL_41>",
48
+ "<SPECIAL_42>",
49
+ "<SPECIAL_43>",
50
+ "<SPECIAL_44>",
51
+ "<SPECIAL_45>",
52
+ "<SPECIAL_46>",
53
+ "<SPECIAL_47>",
54
+ "<SPECIAL_48>",
55
+ "<SPECIAL_49>",
56
+ "<SPECIAL_50>",
57
+ "<SPECIAL_51>",
58
+ "<SPECIAL_52>",
59
+ "<SPECIAL_53>",
60
+ "<SPECIAL_54>",
61
+ "<SPECIAL_55>",
62
+ "<SPECIAL_56>",
63
+ "<SPECIAL_57>",
64
+ "<SPECIAL_58>",
65
+ "<SPECIAL_59>",
66
+ "<SPECIAL_60>",
67
+ "<SPECIAL_61>",
68
+ "<SPECIAL_62>",
69
+ "<SPECIAL_63>",
70
+ "<SPECIAL_64>",
71
+ "<SPECIAL_65>",
72
+ "<SPECIAL_66>",
73
+ "<SPECIAL_67>",
74
+ "<SPECIAL_68>",
75
+ "<SPECIAL_69>",
76
+ "<SPECIAL_70>",
77
+ "<SPECIAL_71>",
78
+ "<SPECIAL_72>",
79
+ "<SPECIAL_73>",
80
+ "<SPECIAL_74>",
81
+ "<SPECIAL_75>",
82
+ "<SPECIAL_76>",
83
+ "<SPECIAL_77>",
84
+ "<SPECIAL_78>",
85
+ "<SPECIAL_79>",
86
+ "<SPECIAL_80>",
87
+ "<SPECIAL_81>",
88
+ "<SPECIAL_82>",
89
+ "<SPECIAL_83>",
90
+ "<SPECIAL_84>",
91
+ "<SPECIAL_85>",
92
+ "<SPECIAL_86>",
93
+ "<SPECIAL_87>",
94
+ "<SPECIAL_88>",
95
+ "<SPECIAL_89>",
96
+ "<SPECIAL_90>",
97
+ "<SPECIAL_91>",
98
+ "<SPECIAL_92>",
99
+ "<SPECIAL_93>",
100
+ "<SPECIAL_94>",
101
+ "<SPECIAL_95>",
102
+ "<SPECIAL_96>",
103
+ "<SPECIAL_97>",
104
+ "<SPECIAL_98>",
105
+ "<SPECIAL_99>",
106
+ "<SPECIAL_100>",
107
+ "<SPECIAL_101>",
108
+ "<SPECIAL_102>",
109
+ "<SPECIAL_103>",
110
+ "<SPECIAL_104>",
111
+ "<SPECIAL_105>",
112
+ "<SPECIAL_106>",
113
+ "<SPECIAL_107>",
114
+ "<SPECIAL_108>",
115
+ "<SPECIAL_109>",
116
+ "<SPECIAL_110>",
117
+ "<SPECIAL_111>",
118
+ "<SPECIAL_112>",
119
+ "<SPECIAL_113>",
120
+ "<SPECIAL_114>",
121
+ "<SPECIAL_115>",
122
+ "<SPECIAL_116>",
123
+ "<SPECIAL_117>",
124
+ "<SPECIAL_118>",
125
+ "<SPECIAL_119>",
126
+ "<SPECIAL_120>",
127
+ "<SPECIAL_121>",
128
+ "<SPECIAL_122>",
129
+ "<SPECIAL_123>",
130
+ "<SPECIAL_124>",
131
+ "<SPECIAL_125>",
132
+ "<SPECIAL_126>",
133
+ "<SPECIAL_127>",
134
+ "<SPECIAL_128>",
135
+ "<SPECIAL_129>",
136
+ "<SPECIAL_130>",
137
+ "<SPECIAL_131>",
138
+ "<SPECIAL_132>",
139
+ "<SPECIAL_133>",
140
+ "<SPECIAL_134>",
141
+ "<SPECIAL_135>",
142
+ "<SPECIAL_136>",
143
+ "<SPECIAL_137>",
144
+ "<SPECIAL_138>",
145
+ "<SPECIAL_139>",
146
+ "<SPECIAL_140>",
147
+ "<SPECIAL_141>",
148
+ "<SPECIAL_142>",
149
+ "<SPECIAL_143>",
150
+ "<SPECIAL_144>",
151
+ "<SPECIAL_145>",
152
+ "<SPECIAL_146>",
153
+ "<SPECIAL_147>",
154
+ "<SPECIAL_148>",
155
+ "<SPECIAL_149>",
156
+ "<SPECIAL_150>",
157
+ "<SPECIAL_151>",
158
+ "<SPECIAL_152>",
159
+ "<SPECIAL_153>",
160
+ "<SPECIAL_154>",
161
+ "<SPECIAL_155>",
162
+ "<SPECIAL_156>",
163
+ "<SPECIAL_157>",
164
+ "<SPECIAL_158>",
165
+ "<SPECIAL_159>",
166
+ "<SPECIAL_160>",
167
+ "<SPECIAL_161>",
168
+ "<SPECIAL_162>",
169
+ "<SPECIAL_163>",
170
+ "<SPECIAL_164>",
171
+ "<SPECIAL_165>",
172
+ "<SPECIAL_166>",
173
+ "<SPECIAL_167>",
174
+ "<SPECIAL_168>",
175
+ "<SPECIAL_169>",
176
+ "<SPECIAL_170>",
177
+ "<SPECIAL_171>",
178
+ "<SPECIAL_172>",
179
+ "<SPECIAL_173>",
180
+ "<SPECIAL_174>",
181
+ "<SPECIAL_175>",
182
+ "<SPECIAL_176>",
183
+ "<SPECIAL_177>",
184
+ "<SPECIAL_178>",
185
+ "<SPECIAL_179>",
186
+ "<SPECIAL_180>",
187
+ "<SPECIAL_181>",
188
+ "<SPECIAL_182>",
189
+ "<SPECIAL_183>",
190
+ "<SPECIAL_184>",
191
+ "<SPECIAL_185>",
192
+ "<SPECIAL_186>",
193
+ "<SPECIAL_187>",
194
+ "<SPECIAL_188>",
195
+ "<SPECIAL_189>",
196
+ "<SPECIAL_190>",
197
+ "<SPECIAL_191>",
198
+ "<SPECIAL_192>",
199
+ "<SPECIAL_193>",
200
+ "<SPECIAL_194>",
201
+ "<SPECIAL_195>",
202
+ "<SPECIAL_196>",
203
+ "<SPECIAL_197>",
204
+ "<SPECIAL_198>",
205
+ "<SPECIAL_199>",
206
+ "<SPECIAL_200>",
207
+ "<SPECIAL_201>",
208
+ "<SPECIAL_202>",
209
+ "<SPECIAL_203>",
210
+ "<SPECIAL_204>",
211
+ "<SPECIAL_205>",
212
+ "<SPECIAL_206>",
213
+ "<SPECIAL_207>",
214
+ "<SPECIAL_208>",
215
+ "<SPECIAL_209>",
216
+ "<SPECIAL_210>",
217
+ "<SPECIAL_211>",
218
+ "<SPECIAL_212>",
219
+ "<SPECIAL_213>",
220
+ "<SPECIAL_214>",
221
+ "<SPECIAL_215>",
222
+ "<SPECIAL_216>",
223
+ "<SPECIAL_217>",
224
+ "<SPECIAL_218>",
225
+ "<SPECIAL_219>",
226
+ "<SPECIAL_220>",
227
+ "<SPECIAL_221>",
228
+ "<SPECIAL_222>",
229
+ "<SPECIAL_223>",
230
+ "<SPECIAL_224>",
231
+ "<SPECIAL_225>",
232
+ "<SPECIAL_226>",
233
+ "<SPECIAL_227>",
234
+ "<SPECIAL_228>",
235
+ "<SPECIAL_229>",
236
+ "<SPECIAL_230>",
237
+ "<SPECIAL_231>",
238
+ "<SPECIAL_232>",
239
+ "<SPECIAL_233>",
240
+ "<SPECIAL_234>",
241
+ "<SPECIAL_235>",
242
+ "<SPECIAL_236>",
243
+ "<SPECIAL_237>",
244
+ "<SPECIAL_238>",
245
+ "<SPECIAL_239>",
246
+ "<SPECIAL_240>",
247
+ "<SPECIAL_241>",
248
+ "<SPECIAL_242>",
249
+ "<SPECIAL_243>",
250
+ "<SPECIAL_244>",
251
+ "<SPECIAL_245>",
252
+ "<SPECIAL_246>",
253
+ "<SPECIAL_247>",
254
+ "<SPECIAL_248>",
255
+ "<SPECIAL_249>",
256
+ "<SPECIAL_250>",
257
+ "<SPECIAL_251>",
258
+ "<SPECIAL_252>",
259
+ "<SPECIAL_253>",
260
+ "<SPECIAL_254>",
261
+ "<SPECIAL_255>",
262
+ "<SPECIAL_256>",
263
+ "<SPECIAL_257>",
264
+ "<SPECIAL_258>",
265
+ "<SPECIAL_259>",
266
+ "<SPECIAL_260>",
267
+ "<SPECIAL_261>",
268
+ "<SPECIAL_262>",
269
+ "<SPECIAL_263>",
270
+ "<SPECIAL_264>",
271
+ "<SPECIAL_265>",
272
+ "<SPECIAL_266>",
273
+ "<SPECIAL_267>",
274
+ "<SPECIAL_268>",
275
+ "<SPECIAL_269>",
276
+ "<SPECIAL_270>",
277
+ "<SPECIAL_271>",
278
+ "<SPECIAL_272>",
279
+ "<SPECIAL_273>",
280
+ "<SPECIAL_274>",
281
+ "<SPECIAL_275>",
282
+ "<SPECIAL_276>",
283
+ "<SPECIAL_277>",
284
+ "<SPECIAL_278>",
285
+ "<SPECIAL_279>",
286
+ "<SPECIAL_280>",
287
+ "<SPECIAL_281>",
288
+ "<SPECIAL_282>",
289
+ "<SPECIAL_283>",
290
+ "<SPECIAL_284>",
291
+ "<SPECIAL_285>",
292
+ "<SPECIAL_286>",
293
+ "<SPECIAL_287>",
294
+ "<SPECIAL_288>",
295
+ "<SPECIAL_289>",
296
+ "<SPECIAL_290>",
297
+ "<SPECIAL_291>",
298
+ "<SPECIAL_292>",
299
+ "<SPECIAL_293>",
300
+ "<SPECIAL_294>",
301
+ "<SPECIAL_295>",
302
+ "<SPECIAL_296>",
303
+ "<SPECIAL_297>",
304
+ "<SPECIAL_298>",
305
+ "<SPECIAL_299>",
306
+ "<SPECIAL_300>",
307
+ "<SPECIAL_301>",
308
+ "<SPECIAL_302>",
309
+ "<SPECIAL_303>",
310
+ "<SPECIAL_304>",
311
+ "<SPECIAL_305>",
312
+ "<SPECIAL_306>",
313
+ "<SPECIAL_307>",
314
+ "<SPECIAL_308>",
315
+ "<SPECIAL_309>",
316
+ "<SPECIAL_310>",
317
+ "<SPECIAL_311>",
318
+ "<SPECIAL_312>",
319
+ "<SPECIAL_313>",
320
+ "<SPECIAL_314>",
321
+ "<SPECIAL_315>",
322
+ "<SPECIAL_316>",
323
+ "<SPECIAL_317>",
324
+ "<SPECIAL_318>",
325
+ "<SPECIAL_319>",
326
+ "<SPECIAL_320>",
327
+ "<SPECIAL_321>",
328
+ "<SPECIAL_322>",
329
+ "<SPECIAL_323>",
330
+ "<SPECIAL_324>",
331
+ "<SPECIAL_325>",
332
+ "<SPECIAL_326>",
333
+ "<SPECIAL_327>",
334
+ "<SPECIAL_328>",
335
+ "<SPECIAL_329>",
336
+ "<SPECIAL_330>",
337
+ "<SPECIAL_331>",
338
+ "<SPECIAL_332>",
339
+ "<SPECIAL_333>",
340
+ "<SPECIAL_334>",
341
+ "<SPECIAL_335>",
342
+ "<SPECIAL_336>",
343
+ "<SPECIAL_337>",
344
+ "<SPECIAL_338>",
345
+ "<SPECIAL_339>",
346
+ "<SPECIAL_340>",
347
+ "<SPECIAL_341>",
348
+ "<SPECIAL_342>",
349
+ "<SPECIAL_343>",
350
+ "<SPECIAL_344>",
351
+ "<SPECIAL_345>",
352
+ "<SPECIAL_346>",
353
+ "<SPECIAL_347>",
354
+ "<SPECIAL_348>",
355
+ "<SPECIAL_349>",
356
+ "<SPECIAL_350>",
357
+ "<SPECIAL_351>",
358
+ "<SPECIAL_352>",
359
+ "<SPECIAL_353>",
360
+ "<SPECIAL_354>",
361
+ "<SPECIAL_355>",
362
+ "<SPECIAL_356>",
363
+ "<SPECIAL_357>",
364
+ "<SPECIAL_358>",
365
+ "<SPECIAL_359>",
366
+ "<SPECIAL_360>",
367
+ "<SPECIAL_361>",
368
+ "<SPECIAL_362>",
369
+ "<SPECIAL_363>",
370
+ "<SPECIAL_364>",
371
+ "<SPECIAL_365>",
372
+ "<SPECIAL_366>",
373
+ "<SPECIAL_367>",
374
+ "<SPECIAL_368>",
375
+ "<SPECIAL_369>",
376
+ "<SPECIAL_370>",
377
+ "<SPECIAL_371>",
378
+ "<SPECIAL_372>",
379
+ "<SPECIAL_373>",
380
+ "<SPECIAL_374>",
381
+ "<SPECIAL_375>",
382
+ "<SPECIAL_376>",
383
+ "<SPECIAL_377>",
384
+ "<SPECIAL_378>",
385
+ "<SPECIAL_379>",
386
+ "<SPECIAL_380>",
387
+ "<SPECIAL_381>",
388
+ "<SPECIAL_382>",
389
+ "<SPECIAL_383>",
390
+ "<SPECIAL_384>",
391
+ "<SPECIAL_385>",
392
+ "<SPECIAL_386>",
393
+ "<SPECIAL_387>",
394
+ "<SPECIAL_388>",
395
+ "<SPECIAL_389>",
396
+ "<SPECIAL_390>",
397
+ "<SPECIAL_391>",
398
+ "<SPECIAL_392>",
399
+ "<SPECIAL_393>",
400
+ "<SPECIAL_394>",
401
+ "<SPECIAL_395>",
402
+ "<SPECIAL_396>",
403
+ "<SPECIAL_397>",
404
+ "<SPECIAL_398>",
405
+ "<SPECIAL_399>",
406
+ "<SPECIAL_400>",
407
+ "<SPECIAL_401>",
408
+ "<SPECIAL_402>",
409
+ "<SPECIAL_403>",
410
+ "<SPECIAL_404>",
411
+ "<SPECIAL_405>",
412
+ "<SPECIAL_406>",
413
+ "<SPECIAL_407>",
414
+ "<SPECIAL_408>",
415
+ "<SPECIAL_409>",
416
+ "<SPECIAL_410>",
417
+ "<SPECIAL_411>",
418
+ "<SPECIAL_412>",
419
+ "<SPECIAL_413>",
420
+ "<SPECIAL_414>",
421
+ "<SPECIAL_415>",
422
+ "<SPECIAL_416>",
423
+ "<SPECIAL_417>",
424
+ "<SPECIAL_418>",
425
+ "<SPECIAL_419>",
426
+ "<SPECIAL_420>",
427
+ "<SPECIAL_421>",
428
+ "<SPECIAL_422>",
429
+ "<SPECIAL_423>",
430
+ "<SPECIAL_424>",
431
+ "<SPECIAL_425>",
432
+ "<SPECIAL_426>",
433
+ "<SPECIAL_427>",
434
+ "<SPECIAL_428>",
435
+ "<SPECIAL_429>",
436
+ "<SPECIAL_430>",
437
+ "<SPECIAL_431>",
438
+ "<SPECIAL_432>",
439
+ "<SPECIAL_433>",
440
+ "<SPECIAL_434>",
441
+ "<SPECIAL_435>",
442
+ "<SPECIAL_436>",
443
+ "<SPECIAL_437>",
444
+ "<SPECIAL_438>",
445
+ "<SPECIAL_439>",
446
+ "<SPECIAL_440>",
447
+ "<SPECIAL_441>",
448
+ "<SPECIAL_442>",
449
+ "<SPECIAL_443>",
450
+ "<SPECIAL_444>",
451
+ "<SPECIAL_445>",
452
+ "<SPECIAL_446>",
453
+ "<SPECIAL_447>",
454
+ "<SPECIAL_448>",
455
+ "<SPECIAL_449>",
456
+ "<SPECIAL_450>",
457
+ "<SPECIAL_451>",
458
+ "<SPECIAL_452>",
459
+ "<SPECIAL_453>",
460
+ "<SPECIAL_454>",
461
+ "<SPECIAL_455>",
462
+ "<SPECIAL_456>",
463
+ "<SPECIAL_457>",
464
+ "<SPECIAL_458>",
465
+ "<SPECIAL_459>",
466
+ "<SPECIAL_460>",
467
+ "<SPECIAL_461>",
468
+ "<SPECIAL_462>",
469
+ "<SPECIAL_463>",
470
+ "<SPECIAL_464>",
471
+ "<SPECIAL_465>",
472
+ "<SPECIAL_466>",
473
+ "<SPECIAL_467>",
474
+ "<SPECIAL_468>",
475
+ "<SPECIAL_469>",
476
+ "<SPECIAL_470>",
477
+ "<SPECIAL_471>",
478
+ "<SPECIAL_472>",
479
+ "<SPECIAL_473>",
480
+ "<SPECIAL_474>",
481
+ "<SPECIAL_475>",
482
+ "<SPECIAL_476>",
483
+ "<SPECIAL_477>",
484
+ "<SPECIAL_478>",
485
+ "<SPECIAL_479>",
486
+ "<SPECIAL_480>",
487
+ "<SPECIAL_481>",
488
+ "<SPECIAL_482>",
489
+ "<SPECIAL_483>",
490
+ "<SPECIAL_484>",
491
+ "<SPECIAL_485>",
492
+ "<SPECIAL_486>",
493
+ "<SPECIAL_487>",
494
+ "<SPECIAL_488>",
495
+ "<SPECIAL_489>",
496
+ "<SPECIAL_490>",
497
+ "<SPECIAL_491>",
498
+ "<SPECIAL_492>",
499
+ "<SPECIAL_493>",
500
+ "<SPECIAL_494>",
501
+ "<SPECIAL_495>",
502
+ "<SPECIAL_496>",
503
+ "<SPECIAL_497>",
504
+ "<SPECIAL_498>",
505
+ "<SPECIAL_499>",
506
+ "<SPECIAL_500>",
507
+ "<SPECIAL_501>",
508
+ "<SPECIAL_502>",
509
+ "<SPECIAL_503>",
510
+ "<SPECIAL_504>",
511
+ "<SPECIAL_505>",
512
+ "<SPECIAL_506>",
513
+ "<SPECIAL_507>",
514
+ "<SPECIAL_508>",
515
+ "<SPECIAL_509>",
516
+ "<SPECIAL_510>",
517
+ "<SPECIAL_511>",
518
+ "<SPECIAL_512>",
519
+ "<SPECIAL_513>",
520
+ "<SPECIAL_514>",
521
+ "<SPECIAL_515>",
522
+ "<SPECIAL_516>",
523
+ "<SPECIAL_517>",
524
+ "<SPECIAL_518>",
525
+ "<SPECIAL_519>",
526
+ "<SPECIAL_520>",
527
+ "<SPECIAL_521>",
528
+ "<SPECIAL_522>",
529
+ "<SPECIAL_523>",
530
+ "<SPECIAL_524>",
531
+ "<SPECIAL_525>",
532
+ "<SPECIAL_526>",
533
+ "<SPECIAL_527>",
534
+ "<SPECIAL_528>",
535
+ "<SPECIAL_529>",
536
+ "<SPECIAL_530>",
537
+ "<SPECIAL_531>",
538
+ "<SPECIAL_532>",
539
+ "<SPECIAL_533>",
540
+ "<SPECIAL_534>",
541
+ "<SPECIAL_535>",
542
+ "<SPECIAL_536>",
543
+ "<SPECIAL_537>",
544
+ "<SPECIAL_538>",
545
+ "<SPECIAL_539>",
546
+ "<SPECIAL_540>",
547
+ "<SPECIAL_541>",
548
+ "<SPECIAL_542>",
549
+ "<SPECIAL_543>",
550
+ "<SPECIAL_544>",
551
+ "<SPECIAL_545>",
552
+ "<SPECIAL_546>",
553
+ "<SPECIAL_547>",
554
+ "<SPECIAL_548>",
555
+ "<SPECIAL_549>",
556
+ "<SPECIAL_550>",
557
+ "<SPECIAL_551>",
558
+ "<SPECIAL_552>",
559
+ "<SPECIAL_553>",
560
+ "<SPECIAL_554>",
561
+ "<SPECIAL_555>",
562
+ "<SPECIAL_556>",
563
+ "<SPECIAL_557>",
564
+ "<SPECIAL_558>",
565
+ "<SPECIAL_559>",
566
+ "<SPECIAL_560>",
567
+ "<SPECIAL_561>",
568
+ "<SPECIAL_562>",
569
+ "<SPECIAL_563>",
570
+ "<SPECIAL_564>",
571
+ "<SPECIAL_565>",
572
+ "<SPECIAL_566>",
573
+ "<SPECIAL_567>",
574
+ "<SPECIAL_568>",
575
+ "<SPECIAL_569>",
576
+ "<SPECIAL_570>",
577
+ "<SPECIAL_571>",
578
+ "<SPECIAL_572>",
579
+ "<SPECIAL_573>",
580
+ "<SPECIAL_574>",
581
+ "<SPECIAL_575>",
582
+ "<SPECIAL_576>",
583
+ "<SPECIAL_577>",
584
+ "<SPECIAL_578>",
585
+ "<SPECIAL_579>",
586
+ "<SPECIAL_580>",
587
+ "<SPECIAL_581>",
588
+ "<SPECIAL_582>",
589
+ "<SPECIAL_583>",
590
+ "<SPECIAL_584>",
591
+ "<SPECIAL_585>",
592
+ "<SPECIAL_586>",
593
+ "<SPECIAL_587>",
594
+ "<SPECIAL_588>",
595
+ "<SPECIAL_589>",
596
+ "<SPECIAL_590>",
597
+ "<SPECIAL_591>",
598
+ "<SPECIAL_592>",
599
+ "<SPECIAL_593>",
600
+ "<SPECIAL_594>",
601
+ "<SPECIAL_595>",
602
+ "<SPECIAL_596>",
603
+ "<SPECIAL_597>",
604
+ "<SPECIAL_598>",
605
+ "<SPECIAL_599>",
606
+ "<SPECIAL_600>",
607
+ "<SPECIAL_601>",
608
+ "<SPECIAL_602>",
609
+ "<SPECIAL_603>",
610
+ "<SPECIAL_604>",
611
+ "<SPECIAL_605>",
612
+ "<SPECIAL_606>",
613
+ "<SPECIAL_607>",
614
+ "<SPECIAL_608>",
615
+ "<SPECIAL_609>",
616
+ "<SPECIAL_610>",
617
+ "<SPECIAL_611>",
618
+ "<SPECIAL_612>",
619
+ "<SPECIAL_613>",
620
+ "<SPECIAL_614>",
621
+ "<SPECIAL_615>",
622
+ "<SPECIAL_616>",
623
+ "<SPECIAL_617>",
624
+ "<SPECIAL_618>",
625
+ "<SPECIAL_619>",
626
+ "<SPECIAL_620>",
627
+ "<SPECIAL_621>",
628
+ "<SPECIAL_622>",
629
+ "<SPECIAL_623>",
630
+ "<SPECIAL_624>",
631
+ "<SPECIAL_625>",
632
+ "<SPECIAL_626>",
633
+ "<SPECIAL_627>",
634
+ "<SPECIAL_628>",
635
+ "<SPECIAL_629>",
636
+ "<SPECIAL_630>",
637
+ "<SPECIAL_631>",
638
+ "<SPECIAL_632>",
639
+ "<SPECIAL_633>",
640
+ "<SPECIAL_634>",
641
+ "<SPECIAL_635>",
642
+ "<SPECIAL_636>",
643
+ "<SPECIAL_637>",
644
+ "<SPECIAL_638>",
645
+ "<SPECIAL_639>",
646
+ "<SPECIAL_640>",
647
+ "<SPECIAL_641>",
648
+ "<SPECIAL_642>",
649
+ "<SPECIAL_643>",
650
+ "<SPECIAL_644>",
651
+ "<SPECIAL_645>",
652
+ "<SPECIAL_646>",
653
+ "<SPECIAL_647>",
654
+ "<SPECIAL_648>",
655
+ "<SPECIAL_649>",
656
+ "<SPECIAL_650>",
657
+ "<SPECIAL_651>",
658
+ "<SPECIAL_652>",
659
+ "<SPECIAL_653>",
660
+ "<SPECIAL_654>",
661
+ "<SPECIAL_655>",
662
+ "<SPECIAL_656>",
663
+ "<SPECIAL_657>",
664
+ "<SPECIAL_658>",
665
+ "<SPECIAL_659>",
666
+ "<SPECIAL_660>",
667
+ "<SPECIAL_661>",
668
+ "<SPECIAL_662>",
669
+ "<SPECIAL_663>",
670
+ "<SPECIAL_664>",
671
+ "<SPECIAL_665>",
672
+ "<SPECIAL_666>",
673
+ "<SPECIAL_667>",
674
+ "<SPECIAL_668>",
675
+ "<SPECIAL_669>",
676
+ "<SPECIAL_670>",
677
+ "<SPECIAL_671>",
678
+ "<SPECIAL_672>",
679
+ "<SPECIAL_673>",
680
+ "<SPECIAL_674>",
681
+ "<SPECIAL_675>",
682
+ "<SPECIAL_676>",
683
+ "<SPECIAL_677>",
684
+ "<SPECIAL_678>",
685
+ "<SPECIAL_679>",
686
+ "<SPECIAL_680>",
687
+ "<SPECIAL_681>",
688
+ "<SPECIAL_682>",
689
+ "<SPECIAL_683>",
690
+ "<SPECIAL_684>",
691
+ "<SPECIAL_685>",
692
+ "<SPECIAL_686>",
693
+ "<SPECIAL_687>",
694
+ "<SPECIAL_688>",
695
+ "<SPECIAL_689>",
696
+ "<SPECIAL_690>",
697
+ "<SPECIAL_691>",
698
+ "<SPECIAL_692>",
699
+ "<SPECIAL_693>",
700
+ "<SPECIAL_694>",
701
+ "<SPECIAL_695>",
702
+ "<SPECIAL_696>",
703
+ "<SPECIAL_697>",
704
+ "<SPECIAL_698>",
705
+ "<SPECIAL_699>",
706
+ "<SPECIAL_700>",
707
+ "<SPECIAL_701>",
708
+ "<SPECIAL_702>",
709
+ "<SPECIAL_703>",
710
+ "<SPECIAL_704>",
711
+ "<SPECIAL_705>",
712
+ "<SPECIAL_706>",
713
+ "<SPECIAL_707>",
714
+ "<SPECIAL_708>",
715
+ "<SPECIAL_709>",
716
+ "<SPECIAL_710>",
717
+ "<SPECIAL_711>",
718
+ "<SPECIAL_712>",
719
+ "<SPECIAL_713>",
720
+ "<SPECIAL_714>",
721
+ "<SPECIAL_715>",
722
+ "<SPECIAL_716>",
723
+ "<SPECIAL_717>",
724
+ "<SPECIAL_718>",
725
+ "<SPECIAL_719>",
726
+ "<SPECIAL_720>",
727
+ "<SPECIAL_721>",
728
+ "<SPECIAL_722>",
729
+ "<SPECIAL_723>",
730
+ "<SPECIAL_724>",
731
+ "<SPECIAL_725>",
732
+ "<SPECIAL_726>",
733
+ "<SPECIAL_727>",
734
+ "<SPECIAL_728>",
735
+ "<SPECIAL_729>",
736
+ "<SPECIAL_730>",
737
+ "<SPECIAL_731>",
738
+ "<SPECIAL_732>",
739
+ "<SPECIAL_733>",
740
+ "<SPECIAL_734>",
741
+ "<SPECIAL_735>",
742
+ "<SPECIAL_736>",
743
+ "<SPECIAL_737>",
744
+ "<SPECIAL_738>",
745
+ "<SPECIAL_739>",
746
+ "<SPECIAL_740>",
747
+ "<SPECIAL_741>",
748
+ "<SPECIAL_742>",
749
+ "<SPECIAL_743>",
750
+ "<SPECIAL_744>",
751
+ "<SPECIAL_745>",
752
+ "<SPECIAL_746>",
753
+ "<SPECIAL_747>",
754
+ "<SPECIAL_748>",
755
+ "<SPECIAL_749>",
756
+ "<SPECIAL_750>",
757
+ "<SPECIAL_751>",
758
+ "<SPECIAL_752>",
759
+ "<SPECIAL_753>",
760
+ "<SPECIAL_754>",
761
+ "<SPECIAL_755>",
762
+ "<SPECIAL_756>",
763
+ "<SPECIAL_757>",
764
+ "<SPECIAL_758>",
765
+ "<SPECIAL_759>",
766
+ "<SPECIAL_760>",
767
+ "<SPECIAL_761>",
768
+ "<SPECIAL_762>",
769
+ "<SPECIAL_763>",
770
+ "<SPECIAL_764>",
771
+ "<SPECIAL_765>",
772
+ "<SPECIAL_766>",
773
+ "<SPECIAL_767>",
774
+ "<SPECIAL_768>",
775
+ "<SPECIAL_769>",
776
+ "<SPECIAL_770>",
777
+ "<SPECIAL_771>",
778
+ "<SPECIAL_772>",
779
+ "<SPECIAL_773>",
780
+ "<SPECIAL_774>",
781
+ "<SPECIAL_775>",
782
+ "<SPECIAL_776>",
783
+ "<SPECIAL_777>",
784
+ "<SPECIAL_778>",
785
+ "<SPECIAL_779>",
786
+ "<SPECIAL_780>",
787
+ "<SPECIAL_781>",
788
+ "<SPECIAL_782>",
789
+ "<SPECIAL_783>",
790
+ "<SPECIAL_784>",
791
+ "<SPECIAL_785>",
792
+ "<SPECIAL_786>",
793
+ "<SPECIAL_787>",
794
+ "<SPECIAL_788>",
795
+ "<SPECIAL_789>",
796
+ "<SPECIAL_790>",
797
+ "<SPECIAL_791>",
798
+ "<SPECIAL_792>",
799
+ "<SPECIAL_793>",
800
+ "<SPECIAL_794>",
801
+ "<SPECIAL_795>",
802
+ "<SPECIAL_796>",
803
+ "<SPECIAL_797>",
804
+ "<SPECIAL_798>",
805
+ "<SPECIAL_799>",
806
+ "<SPECIAL_800>",
807
+ "<SPECIAL_801>",
808
+ "<SPECIAL_802>",
809
+ "<SPECIAL_803>",
810
+ "<SPECIAL_804>",
811
+ "<SPECIAL_805>",
812
+ "<SPECIAL_806>",
813
+ "<SPECIAL_807>",
814
+ "<SPECIAL_808>",
815
+ "<SPECIAL_809>",
816
+ "<SPECIAL_810>",
817
+ "<SPECIAL_811>",
818
+ "<SPECIAL_812>",
819
+ "<SPECIAL_813>",
820
+ "<SPECIAL_814>",
821
+ "<SPECIAL_815>",
822
+ "<SPECIAL_816>",
823
+ "<SPECIAL_817>",
824
+ "<SPECIAL_818>",
825
+ "<SPECIAL_819>",
826
+ "<SPECIAL_820>",
827
+ "<SPECIAL_821>",
828
+ "<SPECIAL_822>",
829
+ "<SPECIAL_823>",
830
+ "<SPECIAL_824>",
831
+ "<SPECIAL_825>",
832
+ "<SPECIAL_826>",
833
+ "<SPECIAL_827>",
834
+ "<SPECIAL_828>",
835
+ "<SPECIAL_829>",
836
+ "<SPECIAL_830>",
837
+ "<SPECIAL_831>",
838
+ "<SPECIAL_832>",
839
+ "<SPECIAL_833>",
840
+ "<SPECIAL_834>",
841
+ "<SPECIAL_835>",
842
+ "<SPECIAL_836>",
843
+ "<SPECIAL_837>",
844
+ "<SPECIAL_838>",
845
+ "<SPECIAL_839>",
846
+ "<SPECIAL_840>",
847
+ "<SPECIAL_841>",
848
+ "<SPECIAL_842>",
849
+ "<SPECIAL_843>",
850
+ "<SPECIAL_844>",
851
+ "<SPECIAL_845>",
852
+ "<SPECIAL_846>",
853
+ "<SPECIAL_847>",
854
+ "<SPECIAL_848>",
855
+ "<SPECIAL_849>",
856
+ "<SPECIAL_850>",
857
+ "<SPECIAL_851>",
858
+ "<SPECIAL_852>",
859
+ "<SPECIAL_853>",
860
+ "<SPECIAL_854>",
861
+ "<SPECIAL_855>",
862
+ "<SPECIAL_856>",
863
+ "<SPECIAL_857>",
864
+ "<SPECIAL_858>",
865
+ "<SPECIAL_859>",
866
+ "<SPECIAL_860>",
867
+ "<SPECIAL_861>",
868
+ "<SPECIAL_862>",
869
+ "<SPECIAL_863>",
870
+ "<SPECIAL_864>",
871
+ "<SPECIAL_865>",
872
+ "<SPECIAL_866>",
873
+ "<SPECIAL_867>",
874
+ "<SPECIAL_868>",
875
+ "<SPECIAL_869>",
876
+ "<SPECIAL_870>",
877
+ "<SPECIAL_871>",
878
+ "<SPECIAL_872>",
879
+ "<SPECIAL_873>",
880
+ "<SPECIAL_874>",
881
+ "<SPECIAL_875>",
882
+ "<SPECIAL_876>",
883
+ "<SPECIAL_877>",
884
+ "<SPECIAL_878>",
885
+ "<SPECIAL_879>",
886
+ "<SPECIAL_880>",
887
+ "<SPECIAL_881>",
888
+ "<SPECIAL_882>",
889
+ "<SPECIAL_883>",
890
+ "<SPECIAL_884>",
891
+ "<SPECIAL_885>",
892
+ "<SPECIAL_886>",
893
+ "<SPECIAL_887>",
894
+ "<SPECIAL_888>",
895
+ "<SPECIAL_889>",
896
+ "<SPECIAL_890>",
897
+ "<SPECIAL_891>",
898
+ "<SPECIAL_892>",
899
+ "<SPECIAL_893>",
900
+ "<SPECIAL_894>",
901
+ "<SPECIAL_895>",
902
+ "<SPECIAL_896>",
903
+ "<SPECIAL_897>",
904
+ "<SPECIAL_898>",
905
+ "<SPECIAL_899>",
906
+ "<SPECIAL_900>",
907
+ "<SPECIAL_901>",
908
+ "<SPECIAL_902>",
909
+ "<SPECIAL_903>",
910
+ "<SPECIAL_904>",
911
+ "<SPECIAL_905>",
912
+ "<SPECIAL_906>",
913
+ "<SPECIAL_907>",
914
+ "<SPECIAL_908>",
915
+ "<SPECIAL_909>",
916
+ "<SPECIAL_910>",
917
+ "<SPECIAL_911>",
918
+ "<SPECIAL_912>",
919
+ "<SPECIAL_913>",
920
+ "<SPECIAL_914>",
921
+ "<SPECIAL_915>",
922
+ "<SPECIAL_916>",
923
+ "<SPECIAL_917>",
924
+ "<SPECIAL_918>",
925
+ "<SPECIAL_919>",
926
+ "<SPECIAL_920>",
927
+ "<SPECIAL_921>",
928
+ "<SPECIAL_922>",
929
+ "<SPECIAL_923>",
930
+ "<SPECIAL_924>",
931
+ "<SPECIAL_925>",
932
+ "<SPECIAL_926>",
933
+ "<SPECIAL_927>",
934
+ "<SPECIAL_928>",
935
+ "<SPECIAL_929>",
936
+ "<SPECIAL_930>",
937
+ "<SPECIAL_931>",
938
+ "<SPECIAL_932>",
939
+ "<SPECIAL_933>",
940
+ "<SPECIAL_934>",
941
+ "<SPECIAL_935>",
942
+ "<SPECIAL_936>",
943
+ "<SPECIAL_937>",
944
+ "<SPECIAL_938>",
945
+ "<SPECIAL_939>",
946
+ "<SPECIAL_940>",
947
+ "<SPECIAL_941>",
948
+ "<SPECIAL_942>",
949
+ "<SPECIAL_943>",
950
+ "<SPECIAL_944>",
951
+ "<SPECIAL_945>",
952
+ "<SPECIAL_946>",
953
+ "<SPECIAL_947>",
954
+ "<SPECIAL_948>",
955
+ "<SPECIAL_949>",
956
+ "<SPECIAL_950>",
957
+ "<SPECIAL_951>",
958
+ "<SPECIAL_952>",
959
+ "<SPECIAL_953>",
960
+ "<SPECIAL_954>",
961
+ "<SPECIAL_955>",
962
+ "<SPECIAL_956>",
963
+ "<SPECIAL_957>",
964
+ "<SPECIAL_958>",
965
+ "<SPECIAL_959>",
966
+ "<SPECIAL_960>",
967
+ "<SPECIAL_961>",
968
+ "<SPECIAL_962>",
969
+ "<SPECIAL_963>",
970
+ "<SPECIAL_964>",
971
+ "<SPECIAL_965>",
972
+ "<SPECIAL_966>",
973
+ "<SPECIAL_967>",
974
+ "<SPECIAL_968>",
975
+ "<SPECIAL_969>",
976
+ "<SPECIAL_970>",
977
+ "<SPECIAL_971>",
978
+ "<SPECIAL_972>",
979
+ "<SPECIAL_973>",
980
+ "<SPECIAL_974>",
981
+ "<SPECIAL_975>",
982
+ "<SPECIAL_976>",
983
+ "<SPECIAL_977>",
984
+ "<SPECIAL_978>",
985
+ "<SPECIAL_979>",
986
+ "<SPECIAL_980>",
987
+ "<SPECIAL_981>",
988
+ "<SPECIAL_982>",
989
+ "<SPECIAL_983>",
990
+ "<SPECIAL_984>",
991
+ "<SPECIAL_985>",
992
+ "<SPECIAL_986>",
993
+ "<SPECIAL_987>",
994
+ "<SPECIAL_988>",
995
+ "<SPECIAL_989>",
996
+ "<SPECIAL_990>",
997
+ "<SPECIAL_991>",
998
+ "<SPECIAL_992>",
999
+ "<SPECIAL_993>",
1000
+ "<SPECIAL_994>",
1001
+ "<SPECIAL_995>",
1002
+ "<SPECIAL_996>",
1003
+ "<SPECIAL_997>",
1004
+ "<SPECIAL_998>",
1005
+ "<SPECIAL_999>"
1006
+ ],
1007
+ "is_local": true,
1008
+ "local_files_only": false,
1009
+ "model_max_length": 2048,
1010
+ "pad_token": "<pad>",
1011
+ "processor_class": "PixtralProcessor",
1012
+ "tokenizer_class": "TokenizersBackend",
1013
+ "unk_token": "<unk>"
1014
+ }
quantization_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_skip_keys": false,
3
+ "dequantize_fp32": false,
4
+ "dynamic_loss_threshold": null,
5
+ "group_size": 0,
6
+ "is_integer": true,
7
+ "is_training": false,
8
+ "modules_dtype_dict": {},
9
+ "modules_quant_config": {},
10
+ "modules_to_not_convert": [],
11
+ "modules_to_not_use_matmul": [],
12
+ "non_blocking": false,
13
+ "quant_conv": false,
14
+ "quant_embedding": false,
15
+ "quant_method": "sdnq",
16
+ "quantization_device": null,
17
+ "quantized_matmul_dtype": null,
18
+ "return_device": null,
19
+ "sdnq_version": "0.1.9",
20
+ "svd_rank": 32,
21
+ "svd_steps": 8,
22
+ "use_dynamic_quantization": false,
23
+ "use_grad_ckpt": true,
24
+ "use_quantized_matmul": false,
25
+ "use_quantized_matmul_conv": false,
26
+ "use_static_quantization": true,
27
+ "use_stochastic_rounding": false,
28
+ "use_svd": false,
29
+ "weights_dtype": "uint4"
30
+ }
quantization_metrics.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "quantize_and_save",
3
+ "seconds": 71.19859568402171,
4
+ "gpu_start_mib": 270,
5
+ "gpu_end_mib": 312,
6
+ "gpu_peak_mib": 1276,
7
+ "torch_peak_allocated_mib": 870,
8
+ "torch_peak_reserved_mib": 964,
9
+ "base_model": "baidu/ERNIE-Image-Turbo",
10
+ "output": "artifacts/ERNIE-Image-Turbo-SDNQ-uint4-static",
11
+ "output_size_bytes": 10048077414,
12
+ "recipe": {
13
+ "weights_dtype": "uint4",
14
+ "group_size": 0,
15
+ "use_svd": false,
16
+ "svd_rank": 32,
17
+ "svd_steps": 8,
18
+ "dynamic_loss_threshold": null,
19
+ "use_quantized_matmul": false,
20
+ "dequantize_fp32": false
21
+ }
22
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "FlowMatchEulerDiscreteScheduler",
3
+ "_diffusers_version": "0.39.0.dev0",
4
+ "base_image_seq_len": 256,
5
+ "base_shift": 0.5,
6
+ "invert_sigmas": false,
7
+ "max_image_seq_len": 4096,
8
+ "max_shift": 1.15,
9
+ "num_train_timesteps": 1000,
10
+ "shift": 4.0,
11
+ "shift_terminal": null,
12
+ "stochastic_sampling": false,
13
+ "time_shift_type": "exponential",
14
+ "use_beta_sigmas": false,
15
+ "use_dynamic_shifting": false,
16
+ "use_exponential_sigmas": false,
17
+ "use_karras_sigmas": false
18
+ }
text_encoder/config.json ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Mistral3Model"
4
+ ],
5
+ "dtype": "bfloat16",
6
+ "image_token_index": 10,
7
+ "model_type": "mistral3",
8
+ "multimodal_projector_bias": false,
9
+ "projector_hidden_act": "gelu",
10
+ "quantization_config": {
11
+ "add_skip_keys": false,
12
+ "dequantize_fp32": false,
13
+ "dynamic_loss_threshold": null,
14
+ "group_size": 0,
15
+ "is_integer": true,
16
+ "is_training": false,
17
+ "modules_dtype_dict": {},
18
+ "modules_quant_config": {},
19
+ "modules_to_not_convert": [
20
+ ".img_out",
21
+ ".proj_out",
22
+ ".emb_in",
23
+ ".final_layer",
24
+ "patch_embed",
25
+ "language_model.norm",
26
+ ".time_embed",
27
+ "multi_modal_projector",
28
+ ".condition_embedder",
29
+ ".t_embedder",
30
+ "wte",
31
+ "lm_head",
32
+ ".txt_out",
33
+ "time_text_embed",
34
+ ".context_embedder",
35
+ ".txt_in",
36
+ ".emb_out",
37
+ ".norm_out",
38
+ ".img_in",
39
+ ".vid_in",
40
+ ".x_embedder",
41
+ "patch_embedding",
42
+ "patch_emb",
43
+ ".vid_out",
44
+ ".y_embedder",
45
+ "language_model.embed_tokens.weight",
46
+ "language_model.layers.0.input_layernorm.weight",
47
+ "language_model.layers.0.post_attention_layernorm.weight",
48
+ "language_model.layers.1.input_layernorm.weight",
49
+ "language_model.layers.1.post_attention_layernorm.weight",
50
+ "language_model.layers.2.input_layernorm.weight",
51
+ "language_model.layers.2.post_attention_layernorm.weight",
52
+ "language_model.layers.3.input_layernorm.weight",
53
+ "language_model.layers.3.post_attention_layernorm.weight",
54
+ "language_model.layers.4.input_layernorm.weight",
55
+ "language_model.layers.4.post_attention_layernorm.weight",
56
+ "language_model.layers.5.input_layernorm.weight",
57
+ "language_model.layers.5.post_attention_layernorm.weight",
58
+ "language_model.layers.6.input_layernorm.weight",
59
+ "language_model.layers.6.post_attention_layernorm.weight",
60
+ "language_model.layers.7.input_layernorm.weight",
61
+ "language_model.layers.7.post_attention_layernorm.weight",
62
+ "language_model.layers.8.input_layernorm.weight",
63
+ "language_model.layers.8.post_attention_layernorm.weight",
64
+ "language_model.layers.9.input_layernorm.weight",
65
+ "language_model.layers.9.post_attention_layernorm.weight",
66
+ "language_model.layers.10.input_layernorm.weight",
67
+ "language_model.layers.10.post_attention_layernorm.weight",
68
+ "language_model.layers.11.input_layernorm.weight",
69
+ "language_model.layers.11.post_attention_layernorm.weight",
70
+ "language_model.layers.12.input_layernorm.weight",
71
+ "language_model.layers.12.post_attention_layernorm.weight",
72
+ "language_model.layers.13.input_layernorm.weight",
73
+ "language_model.layers.13.post_attention_layernorm.weight",
74
+ "language_model.layers.14.input_layernorm.weight",
75
+ "language_model.layers.14.post_attention_layernorm.weight",
76
+ "language_model.layers.15.input_layernorm.weight",
77
+ "language_model.layers.15.post_attention_layernorm.weight",
78
+ "language_model.layers.16.input_layernorm.weight",
79
+ "language_model.layers.16.post_attention_layernorm.weight",
80
+ "language_model.layers.17.input_layernorm.weight",
81
+ "language_model.layers.17.post_attention_layernorm.weight",
82
+ "language_model.layers.18.input_layernorm.weight",
83
+ "language_model.layers.18.post_attention_layernorm.weight",
84
+ "language_model.layers.19.input_layernorm.weight",
85
+ "language_model.layers.19.post_attention_layernorm.weight",
86
+ "language_model.layers.20.input_layernorm.weight",
87
+ "language_model.layers.20.post_attention_layernorm.weight",
88
+ "language_model.layers.21.input_layernorm.weight",
89
+ "language_model.layers.21.post_attention_layernorm.weight",
90
+ "language_model.layers.22.input_layernorm.weight",
91
+ "language_model.layers.22.post_attention_layernorm.weight",
92
+ "language_model.layers.23.input_layernorm.weight",
93
+ "language_model.layers.23.post_attention_layernorm.weight",
94
+ "language_model.layers.24.input_layernorm.weight",
95
+ "language_model.layers.24.post_attention_layernorm.weight",
96
+ "language_model.layers.25.input_layernorm.weight",
97
+ "language_model.layers.25.post_attention_layernorm.weight",
98
+ "language_model.norm.weight",
99
+ "multi_modal_projector.linear_1.weight",
100
+ "multi_modal_projector.linear_2.weight",
101
+ "multi_modal_projector.norm.weight",
102
+ "multi_modal_projector.patch_merger.merging_layer.weight",
103
+ "vision_tower.ln_pre.weight",
104
+ "vision_tower.patch_conv.weight",
105
+ "vision_tower.transformer.layers.0.attention_norm.weight",
106
+ "vision_tower.transformer.layers.0.ffn_norm.weight",
107
+ "vision_tower.transformer.layers.1.attention_norm.weight",
108
+ "vision_tower.transformer.layers.1.ffn_norm.weight",
109
+ "vision_tower.transformer.layers.2.attention_norm.weight",
110
+ "vision_tower.transformer.layers.2.ffn_norm.weight",
111
+ "vision_tower.transformer.layers.3.attention_norm.weight",
112
+ "vision_tower.transformer.layers.3.ffn_norm.weight",
113
+ "vision_tower.transformer.layers.4.attention_norm.weight",
114
+ "vision_tower.transformer.layers.4.ffn_norm.weight",
115
+ "vision_tower.transformer.layers.5.attention_norm.weight",
116
+ "vision_tower.transformer.layers.5.ffn_norm.weight",
117
+ "vision_tower.transformer.layers.6.attention_norm.weight",
118
+ "vision_tower.transformer.layers.6.ffn_norm.weight",
119
+ "vision_tower.transformer.layers.7.attention_norm.weight",
120
+ "vision_tower.transformer.layers.7.ffn_norm.weight",
121
+ "vision_tower.transformer.layers.8.attention_norm.weight",
122
+ "vision_tower.transformer.layers.8.ffn_norm.weight",
123
+ "vision_tower.transformer.layers.9.attention_norm.weight",
124
+ "vision_tower.transformer.layers.9.ffn_norm.weight",
125
+ "vision_tower.transformer.layers.10.attention_norm.weight",
126
+ "vision_tower.transformer.layers.10.ffn_norm.weight",
127
+ "vision_tower.transformer.layers.11.attention_norm.weight",
128
+ "vision_tower.transformer.layers.11.ffn_norm.weight",
129
+ "vision_tower.transformer.layers.12.attention_norm.weight",
130
+ "vision_tower.transformer.layers.12.ffn_norm.weight",
131
+ "vision_tower.transformer.layers.13.attention_norm.weight",
132
+ "vision_tower.transformer.layers.13.ffn_norm.weight",
133
+ "vision_tower.transformer.layers.14.attention_norm.weight",
134
+ "vision_tower.transformer.layers.14.ffn_norm.weight",
135
+ "vision_tower.transformer.layers.15.attention_norm.weight",
136
+ "vision_tower.transformer.layers.15.ffn_norm.weight",
137
+ "vision_tower.transformer.layers.16.attention_norm.weight",
138
+ "vision_tower.transformer.layers.16.ffn_norm.weight",
139
+ "vision_tower.transformer.layers.17.attention_norm.weight",
140
+ "vision_tower.transformer.layers.17.ffn_norm.weight",
141
+ "vision_tower.transformer.layers.18.attention_norm.weight",
142
+ "vision_tower.transformer.layers.18.ffn_norm.weight",
143
+ "vision_tower.transformer.layers.19.attention_norm.weight",
144
+ "vision_tower.transformer.layers.19.ffn_norm.weight",
145
+ "vision_tower.transformer.layers.20.attention_norm.weight",
146
+ "vision_tower.transformer.layers.20.ffn_norm.weight",
147
+ "vision_tower.transformer.layers.21.attention_norm.weight",
148
+ "vision_tower.transformer.layers.21.ffn_norm.weight",
149
+ "vision_tower.transformer.layers.22.attention_norm.weight",
150
+ "vision_tower.transformer.layers.22.ffn_norm.weight",
151
+ "vision_tower.transformer.layers.23.attention_norm.weight",
152
+ "vision_tower.transformer.layers.23.ffn_norm.weight"
153
+ ],
154
+ "modules_to_not_use_matmul": [],
155
+ "non_blocking": false,
156
+ "quant_conv": false,
157
+ "quant_embedding": false,
158
+ "quant_method": "sdnq",
159
+ "quantization_device": null,
160
+ "quantized_matmul_dtype": null,
161
+ "return_device": null,
162
+ "sdnq_version": "0.1.9",
163
+ "svd_rank": 32,
164
+ "svd_steps": 8,
165
+ "use_dynamic_quantization": false,
166
+ "use_grad_ckpt": true,
167
+ "use_quantized_matmul": false,
168
+ "use_quantized_matmul_conv": false,
169
+ "use_static_quantization": true,
170
+ "use_stochastic_rounding": false,
171
+ "use_svd": false,
172
+ "weights_dtype": "uint4"
173
+ },
174
+ "spatial_merge_size": 2,
175
+ "text_config": {
176
+ "attention_dropout": 0.0,
177
+ "bos_token_id": 1,
178
+ "dtype": "bfloat16",
179
+ "eos_token_id": 2,
180
+ "head_dim": 128,
181
+ "hidden_act": "silu",
182
+ "hidden_size": 3072,
183
+ "initializer_range": 0.02,
184
+ "intermediate_size": 9216,
185
+ "max_position_embeddings": 262144,
186
+ "model_type": "mistral",
187
+ "num_attention_heads": 32,
188
+ "num_hidden_layers": 26,
189
+ "num_key_value_heads": 8,
190
+ "pad_token_id": null,
191
+ "rms_norm_eps": 1e-05,
192
+ "rope_parameters": {
193
+ "beta_fast": 32.0,
194
+ "beta_slow": 1.0,
195
+ "factor": 16.0,
196
+ "llama_4_scaling_beta": 0.1,
197
+ "mscale": 1.0,
198
+ "mscale_all_dim": 1.0,
199
+ "original_max_position_embeddings": 16384,
200
+ "rope_theta": 1000000.0,
201
+ "rope_type": "yarn",
202
+ "type": "yarn"
203
+ },
204
+ "sliding_window": null,
205
+ "tie_word_embeddings": true,
206
+ "use_cache": true,
207
+ "vocab_size": 131072
208
+ },
209
+ "tie_word_embeddings": true,
210
+ "transformers_version": "5.8.0.dev0",
211
+ "vision_config": {
212
+ "attention_dropout": 0.0,
213
+ "dtype": "bfloat16",
214
+ "head_dim": 64,
215
+ "hidden_act": "silu",
216
+ "hidden_size": 1024,
217
+ "image_size": 1540,
218
+ "initializer_range": 0.02,
219
+ "intermediate_size": 4096,
220
+ "model_type": "pixtral",
221
+ "num_attention_heads": 16,
222
+ "num_channels": 3,
223
+ "num_hidden_layers": 24,
224
+ "patch_size": 14,
225
+ "rope_parameters": {
226
+ "rope_theta": 10000.0,
227
+ "rope_type": "default"
228
+ }
229
+ },
230
+ "vision_feature_layer": -1
231
+ }
text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4a102fd5903b8562219c41c5bf4d17181bae894d78f4bf9036a651c2067ba3c
3
+ size 2769371768
text_encoder/quantization_config.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_skip_keys": false,
3
+ "dequantize_fp32": false,
4
+ "dynamic_loss_threshold": null,
5
+ "group_size": 0,
6
+ "is_integer": true,
7
+ "is_training": false,
8
+ "modules_dtype_dict": {},
9
+ "modules_quant_config": {},
10
+ "modules_to_not_convert": [
11
+ ".img_out",
12
+ ".proj_out",
13
+ ".emb_in",
14
+ ".final_layer",
15
+ "patch_embed",
16
+ "language_model.norm",
17
+ ".time_embed",
18
+ "multi_modal_projector",
19
+ ".condition_embedder",
20
+ ".t_embedder",
21
+ "wte",
22
+ "lm_head",
23
+ ".txt_out",
24
+ "time_text_embed",
25
+ ".context_embedder",
26
+ ".txt_in",
27
+ ".emb_out",
28
+ ".norm_out",
29
+ ".img_in",
30
+ ".vid_in",
31
+ ".x_embedder",
32
+ "patch_embedding",
33
+ "patch_emb",
34
+ ".vid_out",
35
+ ".y_embedder",
36
+ "language_model.embed_tokens.weight",
37
+ "language_model.layers.0.input_layernorm.weight",
38
+ "language_model.layers.0.post_attention_layernorm.weight",
39
+ "language_model.layers.1.input_layernorm.weight",
40
+ "language_model.layers.1.post_attention_layernorm.weight",
41
+ "language_model.layers.2.input_layernorm.weight",
42
+ "language_model.layers.2.post_attention_layernorm.weight",
43
+ "language_model.layers.3.input_layernorm.weight",
44
+ "language_model.layers.3.post_attention_layernorm.weight",
45
+ "language_model.layers.4.input_layernorm.weight",
46
+ "language_model.layers.4.post_attention_layernorm.weight",
47
+ "language_model.layers.5.input_layernorm.weight",
48
+ "language_model.layers.5.post_attention_layernorm.weight",
49
+ "language_model.layers.6.input_layernorm.weight",
50
+ "language_model.layers.6.post_attention_layernorm.weight",
51
+ "language_model.layers.7.input_layernorm.weight",
52
+ "language_model.layers.7.post_attention_layernorm.weight",
53
+ "language_model.layers.8.input_layernorm.weight",
54
+ "language_model.layers.8.post_attention_layernorm.weight",
55
+ "language_model.layers.9.input_layernorm.weight",
56
+ "language_model.layers.9.post_attention_layernorm.weight",
57
+ "language_model.layers.10.input_layernorm.weight",
58
+ "language_model.layers.10.post_attention_layernorm.weight",
59
+ "language_model.layers.11.input_layernorm.weight",
60
+ "language_model.layers.11.post_attention_layernorm.weight",
61
+ "language_model.layers.12.input_layernorm.weight",
62
+ "language_model.layers.12.post_attention_layernorm.weight",
63
+ "language_model.layers.13.input_layernorm.weight",
64
+ "language_model.layers.13.post_attention_layernorm.weight",
65
+ "language_model.layers.14.input_layernorm.weight",
66
+ "language_model.layers.14.post_attention_layernorm.weight",
67
+ "language_model.layers.15.input_layernorm.weight",
68
+ "language_model.layers.15.post_attention_layernorm.weight",
69
+ "language_model.layers.16.input_layernorm.weight",
70
+ "language_model.layers.16.post_attention_layernorm.weight",
71
+ "language_model.layers.17.input_layernorm.weight",
72
+ "language_model.layers.17.post_attention_layernorm.weight",
73
+ "language_model.layers.18.input_layernorm.weight",
74
+ "language_model.layers.18.post_attention_layernorm.weight",
75
+ "language_model.layers.19.input_layernorm.weight",
76
+ "language_model.layers.19.post_attention_layernorm.weight",
77
+ "language_model.layers.20.input_layernorm.weight",
78
+ "language_model.layers.20.post_attention_layernorm.weight",
79
+ "language_model.layers.21.input_layernorm.weight",
80
+ "language_model.layers.21.post_attention_layernorm.weight",
81
+ "language_model.layers.22.input_layernorm.weight",
82
+ "language_model.layers.22.post_attention_layernorm.weight",
83
+ "language_model.layers.23.input_layernorm.weight",
84
+ "language_model.layers.23.post_attention_layernorm.weight",
85
+ "language_model.layers.24.input_layernorm.weight",
86
+ "language_model.layers.24.post_attention_layernorm.weight",
87
+ "language_model.layers.25.input_layernorm.weight",
88
+ "language_model.layers.25.post_attention_layernorm.weight",
89
+ "language_model.norm.weight",
90
+ "multi_modal_projector.linear_1.weight",
91
+ "multi_modal_projector.linear_2.weight",
92
+ "multi_modal_projector.norm.weight",
93
+ "multi_modal_projector.patch_merger.merging_layer.weight",
94
+ "vision_tower.ln_pre.weight",
95
+ "vision_tower.patch_conv.weight",
96
+ "vision_tower.transformer.layers.0.attention_norm.weight",
97
+ "vision_tower.transformer.layers.0.ffn_norm.weight",
98
+ "vision_tower.transformer.layers.1.attention_norm.weight",
99
+ "vision_tower.transformer.layers.1.ffn_norm.weight",
100
+ "vision_tower.transformer.layers.2.attention_norm.weight",
101
+ "vision_tower.transformer.layers.2.ffn_norm.weight",
102
+ "vision_tower.transformer.layers.3.attention_norm.weight",
103
+ "vision_tower.transformer.layers.3.ffn_norm.weight",
104
+ "vision_tower.transformer.layers.4.attention_norm.weight",
105
+ "vision_tower.transformer.layers.4.ffn_norm.weight",
106
+ "vision_tower.transformer.layers.5.attention_norm.weight",
107
+ "vision_tower.transformer.layers.5.ffn_norm.weight",
108
+ "vision_tower.transformer.layers.6.attention_norm.weight",
109
+ "vision_tower.transformer.layers.6.ffn_norm.weight",
110
+ "vision_tower.transformer.layers.7.attention_norm.weight",
111
+ "vision_tower.transformer.layers.7.ffn_norm.weight",
112
+ "vision_tower.transformer.layers.8.attention_norm.weight",
113
+ "vision_tower.transformer.layers.8.ffn_norm.weight",
114
+ "vision_tower.transformer.layers.9.attention_norm.weight",
115
+ "vision_tower.transformer.layers.9.ffn_norm.weight",
116
+ "vision_tower.transformer.layers.10.attention_norm.weight",
117
+ "vision_tower.transformer.layers.10.ffn_norm.weight",
118
+ "vision_tower.transformer.layers.11.attention_norm.weight",
119
+ "vision_tower.transformer.layers.11.ffn_norm.weight",
120
+ "vision_tower.transformer.layers.12.attention_norm.weight",
121
+ "vision_tower.transformer.layers.12.ffn_norm.weight",
122
+ "vision_tower.transformer.layers.13.attention_norm.weight",
123
+ "vision_tower.transformer.layers.13.ffn_norm.weight",
124
+ "vision_tower.transformer.layers.14.attention_norm.weight",
125
+ "vision_tower.transformer.layers.14.ffn_norm.weight",
126
+ "vision_tower.transformer.layers.15.attention_norm.weight",
127
+ "vision_tower.transformer.layers.15.ffn_norm.weight",
128
+ "vision_tower.transformer.layers.16.attention_norm.weight",
129
+ "vision_tower.transformer.layers.16.ffn_norm.weight",
130
+ "vision_tower.transformer.layers.17.attention_norm.weight",
131
+ "vision_tower.transformer.layers.17.ffn_norm.weight",
132
+ "vision_tower.transformer.layers.18.attention_norm.weight",
133
+ "vision_tower.transformer.layers.18.ffn_norm.weight",
134
+ "vision_tower.transformer.layers.19.attention_norm.weight",
135
+ "vision_tower.transformer.layers.19.ffn_norm.weight",
136
+ "vision_tower.transformer.layers.20.attention_norm.weight",
137
+ "vision_tower.transformer.layers.20.ffn_norm.weight",
138
+ "vision_tower.transformer.layers.21.attention_norm.weight",
139
+ "vision_tower.transformer.layers.21.ffn_norm.weight",
140
+ "vision_tower.transformer.layers.22.attention_norm.weight",
141
+ "vision_tower.transformer.layers.22.ffn_norm.weight",
142
+ "vision_tower.transformer.layers.23.attention_norm.weight",
143
+ "vision_tower.transformer.layers.23.ffn_norm.weight"
144
+ ],
145
+ "modules_to_not_use_matmul": [],
146
+ "non_blocking": false,
147
+ "quant_conv": false,
148
+ "quant_embedding": false,
149
+ "quant_method": "sdnq",
150
+ "quantization_device": null,
151
+ "quantized_matmul_dtype": null,
152
+ "return_device": null,
153
+ "sdnq_version": "0.1.9",
154
+ "svd_rank": 32,
155
+ "svd_steps": 8,
156
+ "use_dynamic_quantization": false,
157
+ "use_grad_ckpt": true,
158
+ "use_quantized_matmul": false,
159
+ "use_quantized_matmul_conv": false,
160
+ "use_static_quantization": true,
161
+ "use_stochastic_rounding": false,
162
+ "use_svd": false,
163
+ "weights_dtype": "uint4"
164
+ }
tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:577575622324b2e099e2648be26bdeb5e5815ffe66d7004e9e3ddbf421db6bf1
3
+ size 17078110
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": null,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "</s>",
7
+ "is_local": true,
8
+ "legacy": true,
9
+ "local_files_only": false,
10
+ "model_max_length": 2048,
11
+ "pad_token": "<pad>",
12
+ "processor_class": "PixtralProcessor",
13
+ "tokenizer_class": "TokenizersBackend",
14
+ "unk_token": "<unk>",
15
+ "use_default_system_prompt": false
16
+ }
transformer/config.json ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "ErnieImageTransformer2DModel",
3
+ "_diffusers_version": "0.39.0.dev0",
4
+ "_name_or_path": "/root/ernie-sdnq-lab/hf-cache/hub/models--baidu--ERNIE-Image-Turbo/snapshots/bc68c81e2a1730a394d5fc9fae70713dee940140/transformer",
5
+ "eps": 1e-06,
6
+ "ffn_hidden_size": 12288,
7
+ "hidden_size": 4096,
8
+ "in_channels": 128,
9
+ "lora_rank": 4,
10
+ "num_attention_heads": 32,
11
+ "num_layers": 36,
12
+ "out_channels": 128,
13
+ "patch_size": 1,
14
+ "qk_layernorm": true,
15
+ "quantization_config": {
16
+ "add_skip_keys": true,
17
+ "dequantize_fp32": false,
18
+ "dynamic_loss_threshold": null,
19
+ "group_size": 0,
20
+ "is_integer": true,
21
+ "is_training": false,
22
+ "modules_dtype_dict": {},
23
+ "modules_quant_config": {},
24
+ "modules_to_not_convert": [
25
+ ".img_out",
26
+ ".proj_out",
27
+ ".emb_in",
28
+ ".final_layer",
29
+ "patch_embed",
30
+ ".time_embed",
31
+ "multi_modal_projector",
32
+ ".condition_embedder",
33
+ ".t_embedder",
34
+ "wte",
35
+ "lm_head",
36
+ ".txt_out",
37
+ "time_text_embed",
38
+ ".context_embedder",
39
+ ".txt_in",
40
+ ".emb_out",
41
+ ".norm_out",
42
+ ".img_in",
43
+ ".vid_in",
44
+ ".x_embedder",
45
+ "patch_embedding",
46
+ "patch_emb",
47
+ ".vid_out",
48
+ ".y_embedder",
49
+ "layers.0.adaLN_mlp_ln.weight",
50
+ "layers.0.adaLN_sa_ln.weight",
51
+ "layers.0.self_attention.norm_k.weight",
52
+ "layers.0.self_attention.norm_q.weight",
53
+ "layers.1.adaLN_mlp_ln.weight",
54
+ "layers.1.adaLN_sa_ln.weight",
55
+ "layers.1.self_attention.norm_k.weight",
56
+ "layers.1.self_attention.norm_q.weight",
57
+ "layers.10.adaLN_mlp_ln.weight",
58
+ "layers.10.adaLN_sa_ln.weight",
59
+ "layers.10.self_attention.norm_k.weight",
60
+ "layers.10.self_attention.norm_q.weight",
61
+ "layers.11.adaLN_mlp_ln.weight",
62
+ "layers.11.adaLN_sa_ln.weight",
63
+ "layers.11.self_attention.norm_k.weight",
64
+ "layers.11.self_attention.norm_q.weight",
65
+ "layers.12.adaLN_mlp_ln.weight",
66
+ "layers.12.adaLN_sa_ln.weight",
67
+ "layers.12.self_attention.norm_k.weight",
68
+ "layers.12.self_attention.norm_q.weight",
69
+ "layers.13.adaLN_mlp_ln.weight",
70
+ "layers.13.adaLN_sa_ln.weight",
71
+ "layers.13.self_attention.norm_k.weight",
72
+ "layers.13.self_attention.norm_q.weight",
73
+ "layers.14.adaLN_mlp_ln.weight",
74
+ "layers.14.adaLN_sa_ln.weight",
75
+ "layers.14.self_attention.norm_k.weight",
76
+ "layers.14.self_attention.norm_q.weight",
77
+ "layers.15.adaLN_mlp_ln.weight",
78
+ "layers.15.adaLN_sa_ln.weight",
79
+ "layers.15.self_attention.norm_k.weight",
80
+ "layers.15.self_attention.norm_q.weight",
81
+ "layers.16.adaLN_mlp_ln.weight",
82
+ "layers.16.adaLN_sa_ln.weight",
83
+ "layers.16.self_attention.norm_k.weight",
84
+ "layers.16.self_attention.norm_q.weight",
85
+ "layers.17.adaLN_mlp_ln.weight",
86
+ "layers.17.adaLN_sa_ln.weight",
87
+ "layers.17.self_attention.norm_k.weight",
88
+ "layers.17.self_attention.norm_q.weight",
89
+ "layers.18.adaLN_mlp_ln.weight",
90
+ "layers.18.adaLN_sa_ln.weight",
91
+ "layers.18.self_attention.norm_k.weight",
92
+ "layers.18.self_attention.norm_q.weight",
93
+ "layers.19.adaLN_mlp_ln.weight",
94
+ "layers.19.adaLN_sa_ln.weight",
95
+ "layers.19.self_attention.norm_k.weight",
96
+ "layers.19.self_attention.norm_q.weight",
97
+ "layers.2.adaLN_mlp_ln.weight",
98
+ "layers.2.adaLN_sa_ln.weight",
99
+ "layers.2.self_attention.norm_k.weight",
100
+ "layers.2.self_attention.norm_q.weight",
101
+ "layers.20.adaLN_mlp_ln.weight",
102
+ "layers.20.adaLN_sa_ln.weight",
103
+ "layers.20.self_attention.norm_k.weight",
104
+ "layers.20.self_attention.norm_q.weight",
105
+ "layers.21.adaLN_mlp_ln.weight",
106
+ "layers.21.adaLN_sa_ln.weight",
107
+ "layers.21.self_attention.norm_k.weight",
108
+ "layers.21.self_attention.norm_q.weight",
109
+ "layers.22.adaLN_sa_ln.weight",
110
+ "layers.3.adaLN_mlp_ln.weight",
111
+ "layers.3.adaLN_sa_ln.weight",
112
+ "layers.3.self_attention.norm_k.weight",
113
+ "layers.3.self_attention.norm_q.weight",
114
+ "layers.4.adaLN_mlp_ln.weight",
115
+ "layers.4.adaLN_sa_ln.weight",
116
+ "layers.4.self_attention.norm_k.weight",
117
+ "layers.4.self_attention.norm_q.weight",
118
+ "layers.5.adaLN_mlp_ln.weight",
119
+ "layers.5.adaLN_sa_ln.weight",
120
+ "layers.5.self_attention.norm_k.weight",
121
+ "layers.5.self_attention.norm_q.weight",
122
+ "layers.6.adaLN_mlp_ln.weight",
123
+ "layers.6.adaLN_sa_ln.weight",
124
+ "layers.6.self_attention.norm_k.weight",
125
+ "layers.6.self_attention.norm_q.weight",
126
+ "layers.7.adaLN_mlp_ln.weight",
127
+ "layers.7.adaLN_sa_ln.weight",
128
+ "layers.7.self_attention.norm_k.weight",
129
+ "layers.7.self_attention.norm_q.weight",
130
+ "layers.8.adaLN_mlp_ln.weight",
131
+ "layers.8.adaLN_sa_ln.weight",
132
+ "layers.8.self_attention.norm_k.weight",
133
+ "layers.8.self_attention.norm_q.weight",
134
+ "layers.9.adaLN_mlp_ln.weight",
135
+ "layers.9.adaLN_sa_ln.weight",
136
+ "layers.9.self_attention.norm_k.weight",
137
+ "layers.9.self_attention.norm_q.weight",
138
+ "time_embedding.linear_1.weight",
139
+ "time_embedding.linear_2.weight",
140
+ "x_embedder.proj.weight",
141
+ "layers.22.adaLN_mlp_ln.weight",
142
+ "layers.22.self_attention.norm_k.weight",
143
+ "layers.22.self_attention.norm_q.weight",
144
+ "layers.23.adaLN_mlp_ln.weight",
145
+ "layers.23.adaLN_sa_ln.weight",
146
+ "layers.23.self_attention.norm_k.weight",
147
+ "layers.23.self_attention.norm_q.weight",
148
+ "layers.24.adaLN_mlp_ln.weight",
149
+ "layers.24.adaLN_sa_ln.weight",
150
+ "layers.24.self_attention.norm_k.weight",
151
+ "layers.24.self_attention.norm_q.weight",
152
+ "layers.25.adaLN_mlp_ln.weight",
153
+ "layers.25.adaLN_sa_ln.weight",
154
+ "layers.25.self_attention.norm_k.weight",
155
+ "layers.25.self_attention.norm_q.weight",
156
+ "layers.26.adaLN_mlp_ln.weight",
157
+ "layers.26.adaLN_sa_ln.weight",
158
+ "layers.26.self_attention.norm_k.weight",
159
+ "layers.26.self_attention.norm_q.weight",
160
+ "layers.27.adaLN_mlp_ln.weight",
161
+ "layers.27.adaLN_sa_ln.weight",
162
+ "layers.27.self_attention.norm_k.weight",
163
+ "layers.27.self_attention.norm_q.weight",
164
+ "layers.28.adaLN_mlp_ln.weight",
165
+ "layers.28.adaLN_sa_ln.weight",
166
+ "layers.28.self_attention.norm_k.weight",
167
+ "layers.28.self_attention.norm_q.weight",
168
+ "layers.29.adaLN_mlp_ln.weight",
169
+ "layers.29.adaLN_sa_ln.weight",
170
+ "layers.29.self_attention.norm_k.weight",
171
+ "layers.29.self_attention.norm_q.weight",
172
+ "layers.30.adaLN_mlp_ln.weight",
173
+ "layers.30.adaLN_sa_ln.weight",
174
+ "layers.30.self_attention.norm_k.weight",
175
+ "layers.30.self_attention.norm_q.weight",
176
+ "layers.31.adaLN_mlp_ln.weight",
177
+ "layers.31.adaLN_sa_ln.weight",
178
+ "layers.31.self_attention.norm_k.weight",
179
+ "layers.31.self_attention.norm_q.weight",
180
+ "layers.32.adaLN_mlp_ln.weight",
181
+ "layers.32.adaLN_sa_ln.weight",
182
+ "layers.32.self_attention.norm_k.weight",
183
+ "layers.32.self_attention.norm_q.weight",
184
+ "layers.33.adaLN_mlp_ln.weight",
185
+ "layers.33.adaLN_sa_ln.weight",
186
+ "layers.33.self_attention.norm_k.weight",
187
+ "layers.33.self_attention.norm_q.weight",
188
+ "layers.34.adaLN_mlp_ln.weight",
189
+ "layers.34.adaLN_sa_ln.weight",
190
+ "layers.34.self_attention.norm_k.weight",
191
+ "layers.34.self_attention.norm_q.weight",
192
+ "layers.35.adaLN_mlp_ln.weight",
193
+ "layers.35.adaLN_sa_ln.weight",
194
+ "layers.35.self_attention.norm_k.weight",
195
+ "layers.35.self_attention.norm_q.weight"
196
+ ],
197
+ "modules_to_not_use_matmul": [],
198
+ "non_blocking": false,
199
+ "quant_conv": false,
200
+ "quant_embedding": false,
201
+ "quant_method": "sdnq",
202
+ "quantization_device": "cuda",
203
+ "quantized_matmul_dtype": null,
204
+ "return_device": "cpu",
205
+ "sdnq_version": "0.1.9",
206
+ "svd_rank": 32,
207
+ "svd_steps": 8,
208
+ "use_dynamic_quantization": false,
209
+ "use_grad_ckpt": true,
210
+ "use_quantized_matmul": false,
211
+ "use_quantized_matmul_conv": false,
212
+ "use_static_quantization": true,
213
+ "use_stochastic_rounding": false,
214
+ "use_svd": false,
215
+ "weights_dtype": "uint4"
216
+ },
217
+ "rope_axes_dim": [
218
+ 32,
219
+ 48,
220
+ 48
221
+ ],
222
+ "rope_theta": 256,
223
+ "text_in_dim": 3072,
224
+ "use_lora": false
225
+ }
transformer/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d7eb7f834ab5ad523886ad021c117b4e71b69649308f280477f48dbb9b0bf48
3
+ size 4568429440
transformer/quantization_config.json ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_skip_keys": false,
3
+ "dequantize_fp32": false,
4
+ "dynamic_loss_threshold": null,
5
+ "group_size": 0,
6
+ "is_integer": true,
7
+ "is_training": false,
8
+ "modules_dtype_dict": {},
9
+ "modules_quant_config": {},
10
+ "modules_to_not_convert": [
11
+ ".img_out",
12
+ ".proj_out",
13
+ ".emb_in",
14
+ ".final_layer",
15
+ "patch_embed",
16
+ ".time_embed",
17
+ "multi_modal_projector",
18
+ ".condition_embedder",
19
+ ".t_embedder",
20
+ "wte",
21
+ "lm_head",
22
+ ".txt_out",
23
+ "time_text_embed",
24
+ ".context_embedder",
25
+ ".txt_in",
26
+ ".emb_out",
27
+ ".norm_out",
28
+ ".img_in",
29
+ ".vid_in",
30
+ ".x_embedder",
31
+ "patch_embedding",
32
+ "patch_emb",
33
+ ".vid_out",
34
+ ".y_embedder",
35
+ "layers.0.adaLN_mlp_ln.weight",
36
+ "layers.0.adaLN_sa_ln.weight",
37
+ "layers.0.self_attention.norm_k.weight",
38
+ "layers.0.self_attention.norm_q.weight",
39
+ "layers.1.adaLN_mlp_ln.weight",
40
+ "layers.1.adaLN_sa_ln.weight",
41
+ "layers.1.self_attention.norm_k.weight",
42
+ "layers.1.self_attention.norm_q.weight",
43
+ "layers.10.adaLN_mlp_ln.weight",
44
+ "layers.10.adaLN_sa_ln.weight",
45
+ "layers.10.self_attention.norm_k.weight",
46
+ "layers.10.self_attention.norm_q.weight",
47
+ "layers.11.adaLN_mlp_ln.weight",
48
+ "layers.11.adaLN_sa_ln.weight",
49
+ "layers.11.self_attention.norm_k.weight",
50
+ "layers.11.self_attention.norm_q.weight",
51
+ "layers.12.adaLN_mlp_ln.weight",
52
+ "layers.12.adaLN_sa_ln.weight",
53
+ "layers.12.self_attention.norm_k.weight",
54
+ "layers.12.self_attention.norm_q.weight",
55
+ "layers.13.adaLN_mlp_ln.weight",
56
+ "layers.13.adaLN_sa_ln.weight",
57
+ "layers.13.self_attention.norm_k.weight",
58
+ "layers.13.self_attention.norm_q.weight",
59
+ "layers.14.adaLN_mlp_ln.weight",
60
+ "layers.14.adaLN_sa_ln.weight",
61
+ "layers.14.self_attention.norm_k.weight",
62
+ "layers.14.self_attention.norm_q.weight",
63
+ "layers.15.adaLN_mlp_ln.weight",
64
+ "layers.15.adaLN_sa_ln.weight",
65
+ "layers.15.self_attention.norm_k.weight",
66
+ "layers.15.self_attention.norm_q.weight",
67
+ "layers.16.adaLN_mlp_ln.weight",
68
+ "layers.16.adaLN_sa_ln.weight",
69
+ "layers.16.self_attention.norm_k.weight",
70
+ "layers.16.self_attention.norm_q.weight",
71
+ "layers.17.adaLN_mlp_ln.weight",
72
+ "layers.17.adaLN_sa_ln.weight",
73
+ "layers.17.self_attention.norm_k.weight",
74
+ "layers.17.self_attention.norm_q.weight",
75
+ "layers.18.adaLN_mlp_ln.weight",
76
+ "layers.18.adaLN_sa_ln.weight",
77
+ "layers.18.self_attention.norm_k.weight",
78
+ "layers.18.self_attention.norm_q.weight",
79
+ "layers.19.adaLN_mlp_ln.weight",
80
+ "layers.19.adaLN_sa_ln.weight",
81
+ "layers.19.self_attention.norm_k.weight",
82
+ "layers.19.self_attention.norm_q.weight",
83
+ "layers.2.adaLN_mlp_ln.weight",
84
+ "layers.2.adaLN_sa_ln.weight",
85
+ "layers.2.self_attention.norm_k.weight",
86
+ "layers.2.self_attention.norm_q.weight",
87
+ "layers.20.adaLN_mlp_ln.weight",
88
+ "layers.20.adaLN_sa_ln.weight",
89
+ "layers.20.self_attention.norm_k.weight",
90
+ "layers.20.self_attention.norm_q.weight",
91
+ "layers.21.adaLN_mlp_ln.weight",
92
+ "layers.21.adaLN_sa_ln.weight",
93
+ "layers.21.self_attention.norm_k.weight",
94
+ "layers.21.self_attention.norm_q.weight",
95
+ "layers.22.adaLN_sa_ln.weight",
96
+ "layers.3.adaLN_mlp_ln.weight",
97
+ "layers.3.adaLN_sa_ln.weight",
98
+ "layers.3.self_attention.norm_k.weight",
99
+ "layers.3.self_attention.norm_q.weight",
100
+ "layers.4.adaLN_mlp_ln.weight",
101
+ "layers.4.adaLN_sa_ln.weight",
102
+ "layers.4.self_attention.norm_k.weight",
103
+ "layers.4.self_attention.norm_q.weight",
104
+ "layers.5.adaLN_mlp_ln.weight",
105
+ "layers.5.adaLN_sa_ln.weight",
106
+ "layers.5.self_attention.norm_k.weight",
107
+ "layers.5.self_attention.norm_q.weight",
108
+ "layers.6.adaLN_mlp_ln.weight",
109
+ "layers.6.adaLN_sa_ln.weight",
110
+ "layers.6.self_attention.norm_k.weight",
111
+ "layers.6.self_attention.norm_q.weight",
112
+ "layers.7.adaLN_mlp_ln.weight",
113
+ "layers.7.adaLN_sa_ln.weight",
114
+ "layers.7.self_attention.norm_k.weight",
115
+ "layers.7.self_attention.norm_q.weight",
116
+ "layers.8.adaLN_mlp_ln.weight",
117
+ "layers.8.adaLN_sa_ln.weight",
118
+ "layers.8.self_attention.norm_k.weight",
119
+ "layers.8.self_attention.norm_q.weight",
120
+ "layers.9.adaLN_mlp_ln.weight",
121
+ "layers.9.adaLN_sa_ln.weight",
122
+ "layers.9.self_attention.norm_k.weight",
123
+ "layers.9.self_attention.norm_q.weight",
124
+ "time_embedding.linear_1.weight",
125
+ "time_embedding.linear_2.weight",
126
+ "x_embedder.proj.weight",
127
+ "layers.22.adaLN_mlp_ln.weight",
128
+ "layers.22.self_attention.norm_k.weight",
129
+ "layers.22.self_attention.norm_q.weight",
130
+ "layers.23.adaLN_mlp_ln.weight",
131
+ "layers.23.adaLN_sa_ln.weight",
132
+ "layers.23.self_attention.norm_k.weight",
133
+ "layers.23.self_attention.norm_q.weight",
134
+ "layers.24.adaLN_mlp_ln.weight",
135
+ "layers.24.adaLN_sa_ln.weight",
136
+ "layers.24.self_attention.norm_k.weight",
137
+ "layers.24.self_attention.norm_q.weight",
138
+ "layers.25.adaLN_mlp_ln.weight",
139
+ "layers.25.adaLN_sa_ln.weight",
140
+ "layers.25.self_attention.norm_k.weight",
141
+ "layers.25.self_attention.norm_q.weight",
142
+ "layers.26.adaLN_mlp_ln.weight",
143
+ "layers.26.adaLN_sa_ln.weight",
144
+ "layers.26.self_attention.norm_k.weight",
145
+ "layers.26.self_attention.norm_q.weight",
146
+ "layers.27.adaLN_mlp_ln.weight",
147
+ "layers.27.adaLN_sa_ln.weight",
148
+ "layers.27.self_attention.norm_k.weight",
149
+ "layers.27.self_attention.norm_q.weight",
150
+ "layers.28.adaLN_mlp_ln.weight",
151
+ "layers.28.adaLN_sa_ln.weight",
152
+ "layers.28.self_attention.norm_k.weight",
153
+ "layers.28.self_attention.norm_q.weight",
154
+ "layers.29.adaLN_mlp_ln.weight",
155
+ "layers.29.adaLN_sa_ln.weight",
156
+ "layers.29.self_attention.norm_k.weight",
157
+ "layers.29.self_attention.norm_q.weight",
158
+ "layers.30.adaLN_mlp_ln.weight",
159
+ "layers.30.adaLN_sa_ln.weight",
160
+ "layers.30.self_attention.norm_k.weight",
161
+ "layers.30.self_attention.norm_q.weight",
162
+ "layers.31.adaLN_mlp_ln.weight",
163
+ "layers.31.adaLN_sa_ln.weight",
164
+ "layers.31.self_attention.norm_k.weight",
165
+ "layers.31.self_attention.norm_q.weight",
166
+ "layers.32.adaLN_mlp_ln.weight",
167
+ "layers.32.adaLN_sa_ln.weight",
168
+ "layers.32.self_attention.norm_k.weight",
169
+ "layers.32.self_attention.norm_q.weight",
170
+ "layers.33.adaLN_mlp_ln.weight",
171
+ "layers.33.adaLN_sa_ln.weight",
172
+ "layers.33.self_attention.norm_k.weight",
173
+ "layers.33.self_attention.norm_q.weight",
174
+ "layers.34.adaLN_mlp_ln.weight",
175
+ "layers.34.adaLN_sa_ln.weight",
176
+ "layers.34.self_attention.norm_k.weight",
177
+ "layers.34.self_attention.norm_q.weight",
178
+ "layers.35.adaLN_mlp_ln.weight",
179
+ "layers.35.adaLN_sa_ln.weight",
180
+ "layers.35.self_attention.norm_k.weight",
181
+ "layers.35.self_attention.norm_q.weight"
182
+ ],
183
+ "modules_to_not_use_matmul": [],
184
+ "non_blocking": false,
185
+ "quant_conv": false,
186
+ "quant_embedding": false,
187
+ "quant_method": "sdnq",
188
+ "quantization_device": null,
189
+ "quantized_matmul_dtype": null,
190
+ "return_device": null,
191
+ "sdnq_version": "0.1.9",
192
+ "svd_rank": 32,
193
+ "svd_steps": 8,
194
+ "use_dynamic_quantization": false,
195
+ "use_grad_ckpt": true,
196
+ "use_quantized_matmul": false,
197
+ "use_quantized_matmul_conv": false,
198
+ "use_static_quantization": true,
199
+ "use_stochastic_rounding": false,
200
+ "use_svd": false,
201
+ "weights_dtype": "uint4"
202
+ }
vae/config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKLFlux2",
3
+ "_diffusers_version": "0.39.0.dev0",
4
+ "_name_or_path": "/root/ernie-sdnq-lab/hf-cache/hub/models--baidu--ERNIE-Image-Turbo/snapshots/bc68c81e2a1730a394d5fc9fae70713dee940140/vae",
5
+ "act_fn": "silu",
6
+ "batch_norm_eps": 0.0001,
7
+ "batch_norm_momentum": 0.1,
8
+ "block_out_channels": [
9
+ 128,
10
+ 256,
11
+ 512,
12
+ 512
13
+ ],
14
+ "decoder_block_out_channels": null,
15
+ "down_block_types": [
16
+ "DownEncoderBlock2D",
17
+ "DownEncoderBlock2D",
18
+ "DownEncoderBlock2D",
19
+ "DownEncoderBlock2D"
20
+ ],
21
+ "force_upcast": true,
22
+ "in_channels": 3,
23
+ "latent_channels": 32,
24
+ "layers_per_block": 2,
25
+ "mid_block_add_attention": true,
26
+ "norm_num_groups": 32,
27
+ "out_channels": 3,
28
+ "patch_size": [
29
+ 2,
30
+ 2
31
+ ],
32
+ "sample_size": 1024,
33
+ "up_block_types": [
34
+ "UpDecoderBlock2D",
35
+ "UpDecoderBlock2D",
36
+ "UpDecoderBlock2D",
37
+ "UpDecoderBlock2D"
38
+ ],
39
+ "use_post_quant_conv": true,
40
+ "use_quant_conv": true
41
+ }
vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca70d2202afe6415bdbcb8793ba8cd99fd159cfe6192381504d6c4d3036e0f04
3
+ size 168120878