srcphag commited on
Commit
1bf81fc
·
1 Parent(s): 45131ff

New Diffusers structure

Browse files
flux1-depth-dev_ComfyMerged.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60411ac95079c2b3b037697bf55ab1d6c0bf82cd16bb4aae864bc5b8269229ec
3
+ size 23803296696
svdq-fp4_r32-flux.1-depth-dev.safetensors → quantized/svdq-fp4_r32-flux.1-depth-dev.safetensors RENAMED
File without changes
CheckSafetensors.py → scripts/CheckSafetensors.py RENAMED
File without changes
InspectSafetensors.py → scripts/InspectSafetensors.py RENAMED
@@ -205,16 +205,16 @@ if __name__ == "__main__":
205
  print("OPTION 1: Inspect your working checkpoint")
206
  print("-" * 80)
207
  inspect_checkpoint(
208
- "test/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors",
209
  detailed=False # Set to True for full key listing
210
  )
211
 
212
  print("\n\n")
213
 
214
  # Compare two checkpoints
215
- print("OPTION 2: Compare working vs broken checkpoint")
216
- print("-" * 80)
217
  # compare_checkpoints(
218
- # "path/to/working_checkpoint.safetensors",
219
- # "path/to/broken_checkpoint.safetensors"
220
  # )
 
205
  print("OPTION 1: Inspect your working checkpoint")
206
  print("-" * 80)
207
  inspect_checkpoint(
208
+ "../flux1-depth-dev_ComfyMerged.safetensors",
209
  detailed=False # Set to True for full key listing
210
  )
211
 
212
  print("\n\n")
213
 
214
  # Compare two checkpoints
215
+ # print("OPTION 2: Compare working vs broken checkpoint")
216
+ # print("-" * 80)
217
  # compare_checkpoints(
218
+ # "Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors",
219
+ # "flux1-depth-dev_fp4_merged_model.safetensors"
220
  # )
MergeSafetensors.py → scripts/MergeSafetensors.py RENAMED
File without changes
MergeSafetensors2.py → scripts/MergeSafetensors2.py RENAMED
@@ -147,10 +147,10 @@ def simple_merge_keep_structure(
147
  if __name__ == "__main__":
148
  # Option 1: Smart merge with key detection
149
  merge_for_comfyui(
150
- unet_path="svdq-fp4_r32-flux.1-depth-dev.safetensors",
151
- vae_path="vae/diffusion_pytorch_model.safetensors",
152
- text_encoder_path="text_encoder/model.safetensors",
153
- output_path="flux1-depth-dev_fp4_merged_model.safetensors",
154
  model_type="flux"
155
  )
156
 
 
147
  if __name__ == "__main__":
148
  # Option 1: Smart merge with key detection
149
  merge_for_comfyui(
150
+ unet_path="../flux1-depth-dev.safetensors",
151
+ vae_path="../vae/diffusion_pytorch_model.safetensors",
152
+ text_encoder_path="../text_encoder/model.safetensors",
153
+ output_path="../flux1-depth-dev_merged_model.safetensors",
154
  model_type="flux"
155
  )
156
 
scripts/MergeSafetensors3.py ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Convert Diffusers-format FLUX model to ComfyUI-compatible checkpoint.
3
+ This handles the proper folder structure and key naming.
4
+ """
5
+
6
+ from safetensors.torch import save_file, load_file
7
+ import os
8
+ import json
9
+ from pathlib import Path
10
+
11
+ def convert_diffusers_to_comfyui(
12
+ diffusers_folder,
13
+ output_path,
14
+ fp16=False
15
+ ):
16
+ """
17
+ Convert a Diffusers FLUX model folder to a single ComfyUI checkpoint.
18
+
19
+ Args:
20
+ diffusers_folder: Path to folder containing model_index.json
21
+ output_path: Output path for the merged .safetensors file
22
+ fp16: If True, convert to float16 to save space
23
+ """
24
+
25
+ diffusers_folder = Path(diffusers_folder)
26
+
27
+ # Verify it's a Diffusers model
28
+ model_index = diffusers_folder / "model_index.json"
29
+ if not model_index.exists():
30
+ raise ValueError(f"Not a Diffusers model folder. Missing: {model_index}")
31
+
32
+ with open(model_index) as f:
33
+ config = json.load(f)
34
+
35
+ print("=" * 80)
36
+ print("DIFFUSERS TO COMFYUI CONVERTER")
37
+ print("=" * 80)
38
+ print(f"\nModel: {config.get('_name_or_path', 'Unknown')}")
39
+ print(f"Format: {config.get('_class_name', 'Unknown')}")
40
+
41
+ merged_state = {}
42
+
43
+ # ========================================================================
44
+ # 1. Load Transformer (main FLUX model)
45
+ # ========================================================================
46
+ print("\n" + "=" * 80)
47
+ print("Loading Transformer...")
48
+ print("=" * 80)
49
+
50
+ transformer_path = diffusers_folder / "transformer"
51
+ transformer_file = None
52
+
53
+ # Find the safetensors file
54
+ for file in transformer_path.glob("*.safetensors"):
55
+ transformer_file = file
56
+ break
57
+
58
+ if not transformer_file:
59
+ raise ValueError(f"No safetensors file found in {transformer_path}")
60
+
61
+ print(f"Found: {transformer_file.name}")
62
+ transformer_state = load_file(str(transformer_file))
63
+ print(f"Loaded {len(transformer_state)} transformer parameters")
64
+
65
+ # Add transformer weights (keep original keys or minimal prefix)
66
+ for key, value in transformer_state.items():
67
+ if fp16 and value.dtype.is_floating_point:
68
+ value = value.half()
69
+ merged_state[key] = value
70
+
71
+ # ========================================================================
72
+ # 2. Load VAE
73
+ # ========================================================================
74
+ print("\n" + "=" * 80)
75
+ print("Loading VAE...")
76
+ print("=" * 80)
77
+
78
+ vae_path = diffusers_folder / "vae"
79
+ vae_file = None
80
+
81
+ for file in vae_path.glob("*.safetensors"):
82
+ vae_file = file
83
+ break
84
+
85
+ if not vae_file:
86
+ print("⚠️ No VAE file found, skipping...")
87
+ else:
88
+ print(f"Found: {vae_file.name}")
89
+ vae_state = load_file(str(vae_file))
90
+ print(f"Loaded {len(vae_state)} VAE parameters")
91
+
92
+ # Add VAE weights with proper prefix
93
+ for key, value in vae_state.items():
94
+ if fp16 and value.dtype.is_floating_point:
95
+ value = value.half()
96
+ # Keep original Diffusers VAE key structure
97
+ merged_state[key] = value
98
+
99
+ # ========================================================================
100
+ # 3. Load Text Encoders (CLIP + T5)
101
+ # ========================================================================
102
+ print("\n" + "=" * 80)
103
+ print("Loading Text Encoders...")
104
+ print("=" * 80)
105
+
106
+ # CLIP (text_encoder)
107
+ clip_path = diffusers_folder / "text_encoder"
108
+ if clip_path.exists():
109
+ clip_file = None
110
+ for file in clip_path.glob("*.safetensors"):
111
+ clip_file = file
112
+ break
113
+
114
+ if clip_file:
115
+ print(f"Found CLIP: {clip_file.name}")
116
+ clip_state = load_file(str(clip_file))
117
+ print(f"Loaded {len(clip_state)} CLIP parameters")
118
+
119
+ for key, value in clip_state.items():
120
+ if fp16 and value.dtype.is_floating_point:
121
+ value = value.half()
122
+ # Keep original structure
123
+ merged_state[key] = value
124
+ else:
125
+ print("⚠️ No CLIP file found")
126
+
127
+ # T5 (text_encoder_2) - often the largest component
128
+ t5_path = diffusers_folder / "text_encoder_2"
129
+ if t5_path.exists():
130
+ t5_file = None
131
+ for file in t5_path.glob("*.safetensors"):
132
+ t5_file = file
133
+ break
134
+
135
+ if t5_file:
136
+ print(f"Found T5: {t5_file.name}")
137
+ print("⚠️ Loading T5 (this may take a while, it's large)...")
138
+ t5_state = load_file(str(t5_file))
139
+ print(f"Loaded {len(t5_state)} T5 parameters")
140
+
141
+ for key, value in t5_state.items():
142
+ if fp16 and value.dtype.is_floating_point:
143
+ value = value.half()
144
+ merged_state[key] = value
145
+ else:
146
+ print("⚠️ No T5 file found")
147
+
148
+ # ========================================================================
149
+ # Save merged checkpoint
150
+ # ========================================================================
151
+ print("\n" + "=" * 80)
152
+ print("Saving merged checkpoint...")
153
+ print("=" * 80)
154
+
155
+ print(f"Total parameters: {len(merged_state):,}")
156
+ print(f"Output: {output_path}")
157
+
158
+ save_file(merged_state, output_path)
159
+
160
+ size_gb = os.path.getsize(output_path) / (1024**3)
161
+ print(f"\n✅ Conversion complete!")
162
+ print(f"File size: {size_gb:.2f} GB")
163
+
164
+ # Show key structure
165
+ print("\n" + "=" * 80)
166
+ print("Key Structure in Merged File")
167
+ print("=" * 80)
168
+
169
+ sample_keys = list(merged_state.keys())[:10]
170
+ print("\nFirst 10 keys:")
171
+ for key in sample_keys:
172
+ print(f" {key}")
173
+
174
+ return output_path
175
+
176
+
177
+ def convert_with_working_template(
178
+ diffusers_folder,
179
+ working_checkpoint,
180
+ output_path,
181
+ replace_transformer_only=True
182
+ ):
183
+ """
184
+ Use a working checkpoint as template, replacing components from Diffusers model.
185
+ This ensures key naming matches what ComfyUI expects.
186
+
187
+ Args:
188
+ diffusers_folder: Path to Diffusers model folder
189
+ working_checkpoint: Path to a working ComfyUI checkpoint
190
+ output_path: Output path for merged checkpoint
191
+ replace_transformer_only: If True, only replace transformer, keep VAE/encoders from template
192
+ """
193
+
194
+ print("=" * 80)
195
+ print("TEMPLATE-BASED CONVERSION")
196
+ print("=" * 80)
197
+
198
+ # Load working checkpoint as template
199
+ print("\nLoading template checkpoint...")
200
+ template_state = load_file(working_checkpoint)
201
+ print(f"Template has {len(template_state)} parameters")
202
+
203
+ # Get key prefixes from template
204
+ template_keys = set(template_state.keys())
205
+ transformer_keys = {k for k in template_keys if 'transformer' in k or 'double_blocks' in k or 'single_blocks' in k}
206
+ vae_keys = {k for k in template_keys if 'vae' in k.lower() or 'first_stage' in k}
207
+ text_encoder_keys = {k for k in template_keys if 'text_encoder' in k or 'clip' in k.lower()}
208
+
209
+ print(f"\nTemplate structure:")
210
+ print(f" Transformer keys: {len(transformer_keys)}")
211
+ print(f" VAE keys: {len(vae_keys)}")
212
+ print(f" Text encoder keys: {len(text_encoder_keys)}")
213
+
214
+ # Load transformer from Diffusers
215
+ diffusers_folder = Path(diffusers_folder)
216
+ transformer_path = diffusers_folder / "transformer"
217
+
218
+ transformer_file = next(transformer_path.glob("*.safetensors"))
219
+ print(f"\nLoading new transformer from: {transformer_file.name}")
220
+ new_transformer = load_file(str(transformer_file))
221
+
222
+ # Replace transformer weights
223
+ print("\nReplacing transformer weights...")
224
+ merged_state = dict(template_state) # Copy template
225
+
226
+ # Replace matching keys
227
+ replaced = 0
228
+ for key in transformer_keys:
229
+ if key in new_transformer:
230
+ merged_state[key] = new_transformer[key]
231
+ replaced += 1
232
+
233
+ print(f"Replaced {replaced} transformer parameters")
234
+
235
+ if not replace_transformer_only:
236
+ print("\n⚠️ Also replacing VAE and text encoders...")
237
+ # Load and replace VAE
238
+ vae_file = next((diffusers_folder / "vae").glob("*.safetensors"), None)
239
+ if vae_file:
240
+ vae_state = load_file(str(vae_file))
241
+ for key in vae_keys:
242
+ if key in vae_state:
243
+ merged_state[key] = vae_state[key]
244
+
245
+ # Similar for text encoders...
246
+
247
+ # Save
248
+ print(f"\nSaving to {output_path}...")
249
+ save_file(merged_state, output_path)
250
+
251
+ size_gb = os.path.getsize(output_path) / (1024**3)
252
+ print(f"✅ Done! File size: {size_gb:.2f} GB")
253
+
254
+
255
+ # Example usage
256
+ if __name__ == "__main__":
257
+ # Method 1: Direct conversion
258
+ # convert_diffusers_to_comfyui(
259
+ # diffusers_folder="../",
260
+ # output_path="flux1-depth-dev_ComfyMerged.safetensors",
261
+ # fp16=True # Set False to keep original precision
262
+ # )
263
+
264
+ #Method 2: Use working checkpoint as template (RECOMMENDED)
265
+ convert_with_working_template(
266
+ diffusers_folder="../",
267
+ working_checkpoint="../quantized/svdq-fp4_r32-flux.1-depth-dev.safetensors",
268
+ output_path="svdq-fp4_r32-flux.1-depth-dev_ComfyMerged.safetensors",
269
+ replace_transformer_only=True
270
+ )
scripts/MergeSafetensors4.py ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Convert Diffusers-format FLUX model to ComfyUI-compatible checkpoint.
3
+ This handles the proper folder structure and key naming.
4
+ """
5
+
6
+ from safetensors.torch import save_file, load_file
7
+ import os
8
+ import json
9
+ from pathlib import Path
10
+
11
+ def check_diffusers_structure(diffusers_folder):
12
+ """
13
+ Check and display the structure of a Diffusers model folder.
14
+ """
15
+ diffusers_folder = Path(diffusers_folder)
16
+
17
+ print("=" * 80)
18
+ print("CHECKING DIFFUSERS FOLDER STRUCTURE")
19
+ print("=" * 80)
20
+ print(f"\nFolder: {diffusers_folder}")
21
+
22
+ if not diffusers_folder.exists():
23
+ print(f"❌ Folder does not exist!")
24
+ return False
25
+
26
+ # Check for model_index.json
27
+ model_index = diffusers_folder / "model_index.json"
28
+ if not model_index.exists():
29
+ print(f"❌ Not a Diffusers model (missing model_index.json)")
30
+ return False
31
+
32
+ print(f"✅ Found model_index.json")
33
+
34
+ # List all subfolders and files
35
+ print("\nFolder contents:")
36
+ for item in sorted(diffusers_folder.iterdir()):
37
+ if item.is_dir():
38
+ print(f" 📁 {item.name}/")
39
+ # List files in subfolder
40
+ for file in sorted(item.iterdir())[:5]: # Show first 5 files
41
+ size_mb = file.stat().st_size / (1024**2)
42
+ print(f" - {file.name} ({size_mb:.1f} MB)")
43
+ file_count = len(list(item.iterdir()))
44
+ if file_count > 5:
45
+ print(f" ... and {file_count - 5} more files")
46
+ else:
47
+ size_mb = item.stat().st_size / (1024**2)
48
+ print(f" 📄 {item.name} ({size_mb:.1f} MB)")
49
+
50
+ # Check expected components
51
+ print("\n" + "=" * 80)
52
+ print("Component Check")
53
+ print("=" * 80)
54
+
55
+ components = {
56
+ "transformer": "Main FLUX transformer model",
57
+ "vae": "VAE encoder/decoder",
58
+ "text_encoder": "CLIP text encoder",
59
+ "text_encoder_2": "T5 text encoder"
60
+ }
61
+
62
+ for folder_name, description in components.items():
63
+ folder_path = diffusers_folder / folder_name
64
+ if folder_path.exists():
65
+ safetensors_files = list(folder_path.glob("*.safetensors"))
66
+ if safetensors_files:
67
+ print(f"✅ {folder_name}: {description}")
68
+ print(f" Found: {safetensors_files[0].name}")
69
+ else:
70
+ print(f"⚠️ {folder_name}: folder exists but no .safetensors files")
71
+ else:
72
+ print(f"❌ {folder_name}: missing")
73
+
74
+ return True
75
+
76
+
77
+ def convert_diffusers_to_comfyui(
78
+ diffusers_folder,
79
+ output_path,
80
+ fp16=False
81
+ ):
82
+ """
83
+ Convert a Diffusers FLUX model folder to a single ComfyUI checkpoint.
84
+
85
+ Args:
86
+ diffusers_folder: Path to folder containing model_index.json
87
+ output_path: Output path for the merged .safetensors file
88
+ fp16: If True, convert to float16 to save space
89
+ """
90
+
91
+ diffusers_folder = Path(diffusers_folder)
92
+
93
+ # Verify it's a Diffusers model
94
+ model_index = diffusers_folder / "model_index.json"
95
+ if not model_index.exists():
96
+ raise ValueError(f"Not a Diffusers model folder. Missing: {model_index}")
97
+
98
+ with open(model_index) as f:
99
+ config = json.load(f)
100
+
101
+ print("=" * 80)
102
+ print("DIFFUSERS TO COMFYUI CONVERTER")
103
+ print("=" * 80)
104
+ print(f"\nModel: {config.get('_name_or_path', 'Unknown')}")
105
+ print(f"Format: {config.get('_class_name', 'Unknown')}")
106
+
107
+ merged_state = {}
108
+
109
+ # ========================================================================
110
+ # 1. Load Transformer (main FLUX model)
111
+ # ========================================================================
112
+ print("\n" + "=" * 80)
113
+ print("Loading Transformer...")
114
+ print("=" * 80)
115
+
116
+ transformer_path = diffusers_folder / "transformer"
117
+ transformer_file = None
118
+
119
+ # Find the safetensors file
120
+ if not transformer_path.exists():
121
+ raise ValueError(f"Transformer folder not found: {transformer_path}")
122
+
123
+ for file in transformer_path.glob("*.safetensors"):
124
+ transformer_file = file
125
+ break
126
+
127
+ if not transformer_file:
128
+ print(f"\n❌ No safetensors file found in: {transformer_path}")
129
+ print("\nFiles in transformer folder:")
130
+ for file in transformer_path.iterdir():
131
+ print(f" - {file.name}")
132
+ raise ValueError(f"No safetensors file found in {transformer_path}")
133
+
134
+ print(f"Found: {transformer_file.name}")
135
+ transformer_state = load_file(str(transformer_file))
136
+ print(f"Loaded {len(transformer_state)} transformer parameters")
137
+
138
+ # Add transformer weights (keep original keys or minimal prefix)
139
+ for key, value in transformer_state.items():
140
+ if fp16 and value.dtype.is_floating_point:
141
+ value = value.half()
142
+ merged_state[key] = value
143
+
144
+ # ========================================================================
145
+ # 2. Load VAE
146
+ # ========================================================================
147
+ print("\n" + "=" * 80)
148
+ print("Loading VAE...")
149
+ print("=" * 80)
150
+
151
+ vae_path = diffusers_folder / "vae"
152
+ vae_file = None
153
+
154
+ for file in vae_path.glob("*.safetensors"):
155
+ vae_file = file
156
+ break
157
+
158
+ if not vae_file:
159
+ print("⚠️ No VAE file found, skipping...")
160
+ else:
161
+ print(f"Found: {vae_file.name}")
162
+ vae_state = load_file(str(vae_file))
163
+ print(f"Loaded {len(vae_state)} VAE parameters")
164
+
165
+ # Add VAE weights with proper prefix
166
+ for key, value in vae_state.items():
167
+ if fp16 and value.dtype.is_floating_point:
168
+ value = value.half()
169
+ # Keep original Diffusers VAE key structure
170
+ merged_state[key] = value
171
+
172
+ # ========================================================================
173
+ # 3. Load Text Encoders (CLIP + T5)
174
+ # ========================================================================
175
+ print("\n" + "=" * 80)
176
+ print("Loading Text Encoders...")
177
+ print("=" * 80)
178
+
179
+ # CLIP (text_encoder)
180
+ clip_path = diffusers_folder / "text_encoder"
181
+ if clip_path.exists():
182
+ clip_file = None
183
+ for file in clip_path.glob("*.safetensors"):
184
+ clip_file = file
185
+ break
186
+
187
+ if clip_file:
188
+ print(f"Found CLIP: {clip_file.name}")
189
+ clip_state = load_file(str(clip_file))
190
+ print(f"Loaded {len(clip_state)} CLIP parameters")
191
+
192
+ for key, value in clip_state.items():
193
+ if fp16 and value.dtype.is_floating_point:
194
+ value = value.half()
195
+ # Keep original structure
196
+ merged_state[key] = value
197
+ else:
198
+ print("⚠️ No CLIP file found")
199
+
200
+ # T5 (text_encoder_2) - often the largest component
201
+ t5_path = diffusers_folder / "text_encoder_2"
202
+ if t5_path.exists():
203
+ t5_file = None
204
+ for file in t5_path.glob("*.safetensors"):
205
+ t5_file = file
206
+ break
207
+
208
+ if t5_file:
209
+ print(f"Found T5: {t5_file.name}")
210
+ print("⚠️ Loading T5 (this may take a while, it's large)...")
211
+ t5_state = load_file(str(t5_file))
212
+ print(f"Loaded {len(t5_state)} T5 parameters")
213
+
214
+ for key, value in t5_state.items():
215
+ if fp16 and value.dtype.is_floating_point:
216
+ value = value.half()
217
+ merged_state[key] = value
218
+ else:
219
+ print("⚠️ No T5 file found")
220
+
221
+ # ========================================================================
222
+ # Save merged checkpoint
223
+ # ========================================================================
224
+ print("\n" + "=" * 80)
225
+ print("Saving merged checkpoint...")
226
+ print("=" * 80)
227
+
228
+ print(f"Total parameters: {len(merged_state):,}")
229
+ print(f"Output: {output_path}")
230
+
231
+ save_file(merged_state, output_path)
232
+
233
+ size_gb = os.path.getsize(output_path) / (1024**3)
234
+ print(f"\n✅ Conversion complete!")
235
+ print(f"File size: {size_gb:.2f} GB")
236
+
237
+ # Show key structure
238
+ print("\n" + "=" * 80)
239
+ print("Key Structure in Merged File")
240
+ print("=" * 80)
241
+
242
+ sample_keys = list(merged_state.keys())[:10]
243
+ print("\nFirst 10 keys:")
244
+ for key in sample_keys:
245
+ print(f" {key}")
246
+
247
+ return output_path
248
+
249
+
250
+ def convert_with_working_template(
251
+ diffusers_folder,
252
+ working_checkpoint,
253
+ output_path,
254
+ replace_transformer_only=True
255
+ ):
256
+ """
257
+ Use a working checkpoint as template, replacing components from Diffusers model.
258
+ This ensures key naming matches what ComfyUI expects.
259
+
260
+ Args:
261
+ diffusers_folder: Path to Diffusers model folder
262
+ working_checkpoint: Path to a working ComfyUI checkpoint
263
+ output_path: Output path for merged checkpoint
264
+ replace_transformer_only: If True, only replace transformer, keep VAE/encoders from template
265
+ """
266
+
267
+ print("=" * 80)
268
+ print("TEMPLATE-BASED CONVERSION")
269
+ print("=" * 80)
270
+
271
+ # Load working checkpoint as template
272
+ print("\nLoading template checkpoint...")
273
+ template_state = load_file(working_checkpoint)
274
+ print(f"Template has {len(template_state)} parameters")
275
+
276
+ # Get key prefixes from template
277
+ template_keys = set(template_state.keys())
278
+ transformer_keys = {k for k in template_keys if 'transformer' in k or 'double_blocks' in k or 'single_blocks' in k}
279
+ vae_keys = {k for k in template_keys if 'vae' in k.lower() or 'first_stage' in k}
280
+ text_encoder_keys = {k for k in template_keys if 'text_encoder' in k or 'clip' in k.lower()}
281
+
282
+ print(f"\nTemplate structure:")
283
+ print(f" Transformer keys: {len(transformer_keys)}")
284
+ print(f" VAE keys: {len(vae_keys)}")
285
+ print(f" Text encoder keys: {len(text_encoder_keys)}")
286
+
287
+ # Load transformer from Diffusers
288
+ diffusers_folder = Path(diffusers_folder)
289
+ transformer_path = diffusers_folder / "transformer"
290
+
291
+ if not transformer_path.exists():
292
+ raise ValueError(f"Transformer folder not found: {transformer_path}")
293
+
294
+ # Find safetensors file (try multiple patterns)
295
+ transformer_file = None
296
+ patterns = ["*.safetensors", "model.safetensors", "diffusion_pytorch_model.safetensors"]
297
+
298
+ for pattern in patterns:
299
+ files = list(transformer_path.glob(pattern))
300
+ if files:
301
+ transformer_file = files[0]
302
+ break
303
+
304
+ # If still not found, list what's actually there
305
+ if not transformer_file:
306
+ print(f"\n❌ No safetensors file found in: {transformer_path}")
307
+ print("\nFiles in transformer folder:")
308
+ for file in transformer_path.iterdir():
309
+ print(f" - {file.name}")
310
+ raise ValueError("Could not find transformer safetensors file. See list above.")
311
+
312
+ print(f"\nLoading new transformer from: {transformer_file.name}")
313
+ new_transformer = load_file(str(transformer_file))
314
+
315
+ # Replace transformer weights
316
+ print("\nReplacing transformer weights...")
317
+ merged_state = dict(template_state) # Copy template
318
+
319
+ # Replace matching keys
320
+ replaced = 0
321
+ for key in transformer_keys:
322
+ if key in new_transformer:
323
+ merged_state[key] = new_transformer[key]
324
+ replaced += 1
325
+
326
+ print(f"Replaced {replaced} transformer parameters")
327
+
328
+ if not replace_transformer_only:
329
+ print("\n⚠️ Also replacing VAE and text encoders...")
330
+ # Load and replace VAE
331
+ vae_file = next((diffusers_folder / "vae").glob("*.safetensors"), None)
332
+ if vae_file:
333
+ vae_state = load_file(str(vae_file))
334
+ for key in vae_keys:
335
+ if key in vae_state:
336
+ merged_state[key] = vae_state[key]
337
+
338
+ # Similar for text encoders...
339
+
340
+ # Save
341
+ print(f"\nSaving to {output_path}...")
342
+ save_file(merged_state, output_path)
343
+
344
+ size_gb = os.path.getsize(output_path) / (1024**3)
345
+ print(f"✅ Done! File size: {size_gb:.2f} GB")
346
+
347
+
348
+ # Example usage
349
+ if __name__ == "__main__":
350
+ # Step 0: Check folder structure first
351
+ check_diffusers_structure("../")
352
+
353
+ print("\n\n")
354
+
355
+ # Method 1: Direct conversion
356
+ # convert_diffusers_to_comfyui(
357
+ # diffusers_folder="../",
358
+ # output_path="flux1-depth-dev_ComfyMerged.safetensors",
359
+ # fp16=True # Set False to keep original precision
360
+ # )
361
+
362
+ #Method 2: Use working checkpoint as template (RECOMMENDED)
363
+ convert_with_working_template(
364
+ diffusers_folder="../",
365
+ working_checkpoint="../flux1-depth-dev.safetensors",
366
+ output_path="../flux1-depth-dev_ComfyMerged.safetensors",
367
+ replace_transformer_only=False
368
+ )
text_encoder_2/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/t5-v1_1-xxl",
3
+ "architectures": [
4
+ "T5EncoderModel"
5
+ ],
6
+ "classifier_dropout": 0.0,
7
+ "d_ff": 10240,
8
+ "d_kv": 64,
9
+ "d_model": 4096,
10
+ "decoder_start_token_id": 0,
11
+ "dense_act_fn": "gelu_new",
12
+ "dropout_rate": 0.1,
13
+ "eos_token_id": 1,
14
+ "feed_forward_proj": "gated-gelu",
15
+ "initializer_factor": 1.0,
16
+ "is_encoder_decoder": true,
17
+ "is_gated_act": true,
18
+ "layer_norm_epsilon": 1e-06,
19
+ "model_type": "t5",
20
+ "num_decoder_layers": 24,
21
+ "num_heads": 64,
22
+ "num_layers": 24,
23
+ "output_past": true,
24
+ "pad_token_id": 0,
25
+ "relative_attention_max_distance": 128,
26
+ "relative_attention_num_buckets": 32,
27
+ "tie_word_embeddings": false,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.46.2",
30
+ "use_cache": true,
31
+ "vocab_size": 32128
32
+ }
flux1-depth-dev_fp4_merged_model.safetensors → text_encoder_2/model-00001-of-00004.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a7eff742003708c77b291d7ca416bf695dc7c01a3a26250febac7c79ee6f390d
3
- size 7866741316
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a68b2c8c080696a10109612a649bc69330991ecfea65930ccfdfbdb011f2686
3
+ size 4989319680
text_encoder_2/model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8ed6556d7507e38af5b428c605fb2a6f2bdb7e80bd481308b865f7a40c551ca
3
+ size 4999830656
text_encoder_2/model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c831635f83041f83faf0024b39c6ecb21b45d70dd38a63ea5bac6c7c6e5e558c
3
+ size 4865612720
text_encoder_2/model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02a5f2d69205be92ad48fe5d712d38c2ff55627969116aeffc58bd75a28da468
3
+ size 4194506688
text_encoder_2/model.safetensors.index.json ADDED
@@ -0,0 +1,226 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 19049242624
4
+ },
5
+ "weight_map": {
6
+ "encoder.block.0.layer.0.SelfAttention.k.weight": "model-00001-of-00004.safetensors",
7
+ "encoder.block.0.layer.0.SelfAttention.o.weight": "model-00001-of-00004.safetensors",
8
+ "encoder.block.0.layer.0.SelfAttention.q.weight": "model-00001-of-00004.safetensors",
9
+ "encoder.block.0.layer.0.SelfAttention.relative_attention_bias.weight": "model-00001-of-00004.safetensors",
10
+ "encoder.block.0.layer.0.SelfAttention.v.weight": "model-00001-of-00004.safetensors",
11
+ "encoder.block.0.layer.0.layer_norm.weight": "model-00001-of-00004.safetensors",
12
+ "encoder.block.0.layer.1.DenseReluDense.wi_0.weight": "model-00001-of-00004.safetensors",
13
+ "encoder.block.0.layer.1.DenseReluDense.wi_1.weight": "model-00001-of-00004.safetensors",
14
+ "encoder.block.0.layer.1.DenseReluDense.wo.weight": "model-00001-of-00004.safetensors",
15
+ "encoder.block.0.layer.1.layer_norm.weight": "model-00001-of-00004.safetensors",
16
+ "encoder.block.1.layer.0.SelfAttention.k.weight": "model-00001-of-00004.safetensors",
17
+ "encoder.block.1.layer.0.SelfAttention.o.weight": "model-00001-of-00004.safetensors",
18
+ "encoder.block.1.layer.0.SelfAttention.q.weight": "model-00001-of-00004.safetensors",
19
+ "encoder.block.1.layer.0.SelfAttention.v.weight": "model-00001-of-00004.safetensors",
20
+ "encoder.block.1.layer.0.layer_norm.weight": "model-00001-of-00004.safetensors",
21
+ "encoder.block.1.layer.1.DenseReluDense.wi_0.weight": "model-00001-of-00004.safetensors",
22
+ "encoder.block.1.layer.1.DenseReluDense.wi_1.weight": "model-00001-of-00004.safetensors",
23
+ "encoder.block.1.layer.1.DenseReluDense.wo.weight": "model-00001-of-00004.safetensors",
24
+ "encoder.block.1.layer.1.layer_norm.weight": "model-00001-of-00004.safetensors",
25
+ "encoder.block.10.layer.0.SelfAttention.k.weight": "model-00002-of-00004.safetensors",
26
+ "encoder.block.10.layer.0.SelfAttention.o.weight": "model-00002-of-00004.safetensors",
27
+ "encoder.block.10.layer.0.SelfAttention.q.weight": "model-00002-of-00004.safetensors",
28
+ "encoder.block.10.layer.0.SelfAttention.v.weight": "model-00002-of-00004.safetensors",
29
+ "encoder.block.10.layer.0.layer_norm.weight": "model-00002-of-00004.safetensors",
30
+ "encoder.block.10.layer.1.DenseReluDense.wi_0.weight": "model-00002-of-00004.safetensors",
31
+ "encoder.block.10.layer.1.DenseReluDense.wi_1.weight": "model-00002-of-00004.safetensors",
32
+ "encoder.block.10.layer.1.DenseReluDense.wo.weight": "model-00002-of-00004.safetensors",
33
+ "encoder.block.10.layer.1.layer_norm.weight": "model-00002-of-00004.safetensors",
34
+ "encoder.block.11.layer.0.SelfAttention.k.weight": "model-00002-of-00004.safetensors",
35
+ "encoder.block.11.layer.0.SelfAttention.o.weight": "model-00002-of-00004.safetensors",
36
+ "encoder.block.11.layer.0.SelfAttention.q.weight": "model-00002-of-00004.safetensors",
37
+ "encoder.block.11.layer.0.SelfAttention.v.weight": "model-00002-of-00004.safetensors",
38
+ "encoder.block.11.layer.0.layer_norm.weight": "model-00002-of-00004.safetensors",
39
+ "encoder.block.11.layer.1.DenseReluDense.wi_0.weight": "model-00002-of-00004.safetensors",
40
+ "encoder.block.11.layer.1.DenseReluDense.wi_1.weight": "model-00002-of-00004.safetensors",
41
+ "encoder.block.11.layer.1.DenseReluDense.wo.weight": "model-00002-of-00004.safetensors",
42
+ "encoder.block.11.layer.1.layer_norm.weight": "model-00002-of-00004.safetensors",
43
+ "encoder.block.12.layer.0.SelfAttention.k.weight": "model-00002-of-00004.safetensors",
44
+ "encoder.block.12.layer.0.SelfAttention.o.weight": "model-00003-of-00004.safetensors",
45
+ "encoder.block.12.layer.0.SelfAttention.q.weight": "model-00002-of-00004.safetensors",
46
+ "encoder.block.12.layer.0.SelfAttention.v.weight": "model-00002-of-00004.safetensors",
47
+ "encoder.block.12.layer.0.layer_norm.weight": "model-00003-of-00004.safetensors",
48
+ "encoder.block.12.layer.1.DenseReluDense.wi_0.weight": "model-00003-of-00004.safetensors",
49
+ "encoder.block.12.layer.1.DenseReluDense.wi_1.weight": "model-00003-of-00004.safetensors",
50
+ "encoder.block.12.layer.1.DenseReluDense.wo.weight": "model-00003-of-00004.safetensors",
51
+ "encoder.block.12.layer.1.layer_norm.weight": "model-00003-of-00004.safetensors",
52
+ "encoder.block.13.layer.0.SelfAttention.k.weight": "model-00003-of-00004.safetensors",
53
+ "encoder.block.13.layer.0.SelfAttention.o.weight": "model-00003-of-00004.safetensors",
54
+ "encoder.block.13.layer.0.SelfAttention.q.weight": "model-00003-of-00004.safetensors",
55
+ "encoder.block.13.layer.0.SelfAttention.v.weight": "model-00003-of-00004.safetensors",
56
+ "encoder.block.13.layer.0.layer_norm.weight": "model-00003-of-00004.safetensors",
57
+ "encoder.block.13.layer.1.DenseReluDense.wi_0.weight": "model-00003-of-00004.safetensors",
58
+ "encoder.block.13.layer.1.DenseReluDense.wi_1.weight": "model-00003-of-00004.safetensors",
59
+ "encoder.block.13.layer.1.DenseReluDense.wo.weight": "model-00003-of-00004.safetensors",
60
+ "encoder.block.13.layer.1.layer_norm.weight": "model-00003-of-00004.safetensors",
61
+ "encoder.block.14.layer.0.SelfAttention.k.weight": "model-00003-of-00004.safetensors",
62
+ "encoder.block.14.layer.0.SelfAttention.o.weight": "model-00003-of-00004.safetensors",
63
+ "encoder.block.14.layer.0.SelfAttention.q.weight": "model-00003-of-00004.safetensors",
64
+ "encoder.block.14.layer.0.SelfAttention.v.weight": "model-00003-of-00004.safetensors",
65
+ "encoder.block.14.layer.0.layer_norm.weight": "model-00003-of-00004.safetensors",
66
+ "encoder.block.14.layer.1.DenseReluDense.wi_0.weight": "model-00003-of-00004.safetensors",
67
+ "encoder.block.14.layer.1.DenseReluDense.wi_1.weight": "model-00003-of-00004.safetensors",
68
+ "encoder.block.14.layer.1.DenseReluDense.wo.weight": "model-00003-of-00004.safetensors",
69
+ "encoder.block.14.layer.1.layer_norm.weight": "model-00003-of-00004.safetensors",
70
+ "encoder.block.15.layer.0.SelfAttention.k.weight": "model-00003-of-00004.safetensors",
71
+ "encoder.block.15.layer.0.SelfAttention.o.weight": "model-00003-of-00004.safetensors",
72
+ "encoder.block.15.layer.0.SelfAttention.q.weight": "model-00003-of-00004.safetensors",
73
+ "encoder.block.15.layer.0.SelfAttention.v.weight": "model-00003-of-00004.safetensors",
74
+ "encoder.block.15.layer.0.layer_norm.weight": "model-00003-of-00004.safetensors",
75
+ "encoder.block.15.layer.1.DenseReluDense.wi_0.weight": "model-00003-of-00004.safetensors",
76
+ "encoder.block.15.layer.1.DenseReluDense.wi_1.weight": "model-00003-of-00004.safetensors",
77
+ "encoder.block.15.layer.1.DenseReluDense.wo.weight": "model-00003-of-00004.safetensors",
78
+ "encoder.block.15.layer.1.layer_norm.weight": "model-00003-of-00004.safetensors",
79
+ "encoder.block.16.layer.0.SelfAttention.k.weight": "model-00003-of-00004.safetensors",
80
+ "encoder.block.16.layer.0.SelfAttention.o.weight": "model-00003-of-00004.safetensors",
81
+ "encoder.block.16.layer.0.SelfAttention.q.weight": "model-00003-of-00004.safetensors",
82
+ "encoder.block.16.layer.0.SelfAttention.v.weight": "model-00003-of-00004.safetensors",
83
+ "encoder.block.16.layer.0.layer_norm.weight": "model-00003-of-00004.safetensors",
84
+ "encoder.block.16.layer.1.DenseReluDense.wi_0.weight": "model-00003-of-00004.safetensors",
85
+ "encoder.block.16.layer.1.DenseReluDense.wi_1.weight": "model-00003-of-00004.safetensors",
86
+ "encoder.block.16.layer.1.DenseReluDense.wo.weight": "model-00003-of-00004.safetensors",
87
+ "encoder.block.16.layer.1.layer_norm.weight": "model-00003-of-00004.safetensors",
88
+ "encoder.block.17.layer.0.SelfAttention.k.weight": "model-00003-of-00004.safetensors",
89
+ "encoder.block.17.layer.0.SelfAttention.o.weight": "model-00003-of-00004.safetensors",
90
+ "encoder.block.17.layer.0.SelfAttention.q.weight": "model-00003-of-00004.safetensors",
91
+ "encoder.block.17.layer.0.SelfAttention.v.weight": "model-00003-of-00004.safetensors",
92
+ "encoder.block.17.layer.0.layer_norm.weight": "model-00003-of-00004.safetensors",
93
+ "encoder.block.17.layer.1.DenseReluDense.wi_0.weight": "model-00003-of-00004.safetensors",
94
+ "encoder.block.17.layer.1.DenseReluDense.wi_1.weight": "model-00003-of-00004.safetensors",
95
+ "encoder.block.17.layer.1.DenseReluDense.wo.weight": "model-00003-of-00004.safetensors",
96
+ "encoder.block.17.layer.1.layer_norm.weight": "model-00003-of-00004.safetensors",
97
+ "encoder.block.18.layer.0.SelfAttention.k.weight": "model-00003-of-00004.safetensors",
98
+ "encoder.block.18.layer.0.SelfAttention.o.weight": "model-00003-of-00004.safetensors",
99
+ "encoder.block.18.layer.0.SelfAttention.q.weight": "model-00003-of-00004.safetensors",
100
+ "encoder.block.18.layer.0.SelfAttention.v.weight": "model-00003-of-00004.safetensors",
101
+ "encoder.block.18.layer.0.layer_norm.weight": "model-00003-of-00004.safetensors",
102
+ "encoder.block.18.layer.1.DenseReluDense.wi_0.weight": "model-00003-of-00004.safetensors",
103
+ "encoder.block.18.layer.1.DenseReluDense.wi_1.weight": "model-00004-of-00004.safetensors",
104
+ "encoder.block.18.layer.1.DenseReluDense.wo.weight": "model-00004-of-00004.safetensors",
105
+ "encoder.block.18.layer.1.layer_norm.weight": "model-00004-of-00004.safetensors",
106
+ "encoder.block.19.layer.0.SelfAttention.k.weight": "model-00004-of-00004.safetensors",
107
+ "encoder.block.19.layer.0.SelfAttention.o.weight": "model-00004-of-00004.safetensors",
108
+ "encoder.block.19.layer.0.SelfAttention.q.weight": "model-00004-of-00004.safetensors",
109
+ "encoder.block.19.layer.0.SelfAttention.v.weight": "model-00004-of-00004.safetensors",
110
+ "encoder.block.19.layer.0.layer_norm.weight": "model-00004-of-00004.safetensors",
111
+ "encoder.block.19.layer.1.DenseReluDense.wi_0.weight": "model-00004-of-00004.safetensors",
112
+ "encoder.block.19.layer.1.DenseReluDense.wi_1.weight": "model-00004-of-00004.safetensors",
113
+ "encoder.block.19.layer.1.DenseReluDense.wo.weight": "model-00004-of-00004.safetensors",
114
+ "encoder.block.19.layer.1.layer_norm.weight": "model-00004-of-00004.safetensors",
115
+ "encoder.block.2.layer.0.SelfAttention.k.weight": "model-00001-of-00004.safetensors",
116
+ "encoder.block.2.layer.0.SelfAttention.o.weight": "model-00001-of-00004.safetensors",
117
+ "encoder.block.2.layer.0.SelfAttention.q.weight": "model-00001-of-00004.safetensors",
118
+ "encoder.block.2.layer.0.SelfAttention.v.weight": "model-00001-of-00004.safetensors",
119
+ "encoder.block.2.layer.0.layer_norm.weight": "model-00001-of-00004.safetensors",
120
+ "encoder.block.2.layer.1.DenseReluDense.wi_0.weight": "model-00001-of-00004.safetensors",
121
+ "encoder.block.2.layer.1.DenseReluDense.wi_1.weight": "model-00001-of-00004.safetensors",
122
+ "encoder.block.2.layer.1.DenseReluDense.wo.weight": "model-00001-of-00004.safetensors",
123
+ "encoder.block.2.layer.1.layer_norm.weight": "model-00001-of-00004.safetensors",
124
+ "encoder.block.20.layer.0.SelfAttention.k.weight": "model-00004-of-00004.safetensors",
125
+ "encoder.block.20.layer.0.SelfAttention.o.weight": "model-00004-of-00004.safetensors",
126
+ "encoder.block.20.layer.0.SelfAttention.q.weight": "model-00004-of-00004.safetensors",
127
+ "encoder.block.20.layer.0.SelfAttention.v.weight": "model-00004-of-00004.safetensors",
128
+ "encoder.block.20.layer.0.layer_norm.weight": "model-00004-of-00004.safetensors",
129
+ "encoder.block.20.layer.1.DenseReluDense.wi_0.weight": "model-00004-of-00004.safetensors",
130
+ "encoder.block.20.layer.1.DenseReluDense.wi_1.weight": "model-00004-of-00004.safetensors",
131
+ "encoder.block.20.layer.1.DenseReluDense.wo.weight": "model-00004-of-00004.safetensors",
132
+ "encoder.block.20.layer.1.layer_norm.weight": "model-00004-of-00004.safetensors",
133
+ "encoder.block.21.layer.0.SelfAttention.k.weight": "model-00004-of-00004.safetensors",
134
+ "encoder.block.21.layer.0.SelfAttention.o.weight": "model-00004-of-00004.safetensors",
135
+ "encoder.block.21.layer.0.SelfAttention.q.weight": "model-00004-of-00004.safetensors",
136
+ "encoder.block.21.layer.0.SelfAttention.v.weight": "model-00004-of-00004.safetensors",
137
+ "encoder.block.21.layer.0.layer_norm.weight": "model-00004-of-00004.safetensors",
138
+ "encoder.block.21.layer.1.DenseReluDense.wi_0.weight": "model-00004-of-00004.safetensors",
139
+ "encoder.block.21.layer.1.DenseReluDense.wi_1.weight": "model-00004-of-00004.safetensors",
140
+ "encoder.block.21.layer.1.DenseReluDense.wo.weight": "model-00004-of-00004.safetensors",
141
+ "encoder.block.21.layer.1.layer_norm.weight": "model-00004-of-00004.safetensors",
142
+ "encoder.block.22.layer.0.SelfAttention.k.weight": "model-00004-of-00004.safetensors",
143
+ "encoder.block.22.layer.0.SelfAttention.o.weight": "model-00004-of-00004.safetensors",
144
+ "encoder.block.22.layer.0.SelfAttention.q.weight": "model-00004-of-00004.safetensors",
145
+ "encoder.block.22.layer.0.SelfAttention.v.weight": "model-00004-of-00004.safetensors",
146
+ "encoder.block.22.layer.0.layer_norm.weight": "model-00004-of-00004.safetensors",
147
+ "encoder.block.22.layer.1.DenseReluDense.wi_0.weight": "model-00004-of-00004.safetensors",
148
+ "encoder.block.22.layer.1.DenseReluDense.wi_1.weight": "model-00004-of-00004.safetensors",
149
+ "encoder.block.22.layer.1.DenseReluDense.wo.weight": "model-00004-of-00004.safetensors",
150
+ "encoder.block.22.layer.1.layer_norm.weight": "model-00004-of-00004.safetensors",
151
+ "encoder.block.23.layer.0.SelfAttention.k.weight": "model-00004-of-00004.safetensors",
152
+ "encoder.block.23.layer.0.SelfAttention.o.weight": "model-00004-of-00004.safetensors",
153
+ "encoder.block.23.layer.0.SelfAttention.q.weight": "model-00004-of-00004.safetensors",
154
+ "encoder.block.23.layer.0.SelfAttention.v.weight": "model-00004-of-00004.safetensors",
155
+ "encoder.block.23.layer.0.layer_norm.weight": "model-00004-of-00004.safetensors",
156
+ "encoder.block.23.layer.1.DenseReluDense.wi_0.weight": "model-00004-of-00004.safetensors",
157
+ "encoder.block.23.layer.1.DenseReluDense.wi_1.weight": "model-00004-of-00004.safetensors",
158
+ "encoder.block.23.layer.1.DenseReluDense.wo.weight": "model-00004-of-00004.safetensors",
159
+ "encoder.block.23.layer.1.layer_norm.weight": "model-00004-of-00004.safetensors",
160
+ "encoder.block.3.layer.0.SelfAttention.k.weight": "model-00001-of-00004.safetensors",
161
+ "encoder.block.3.layer.0.SelfAttention.o.weight": "model-00001-of-00004.safetensors",
162
+ "encoder.block.3.layer.0.SelfAttention.q.weight": "model-00001-of-00004.safetensors",
163
+ "encoder.block.3.layer.0.SelfAttention.v.weight": "model-00001-of-00004.safetensors",
164
+ "encoder.block.3.layer.0.layer_norm.weight": "model-00001-of-00004.safetensors",
165
+ "encoder.block.3.layer.1.DenseReluDense.wi_0.weight": "model-00001-of-00004.safetensors",
166
+ "encoder.block.3.layer.1.DenseReluDense.wi_1.weight": "model-00001-of-00004.safetensors",
167
+ "encoder.block.3.layer.1.DenseReluDense.wo.weight": "model-00001-of-00004.safetensors",
168
+ "encoder.block.3.layer.1.layer_norm.weight": "model-00001-of-00004.safetensors",
169
+ "encoder.block.4.layer.0.SelfAttention.k.weight": "model-00001-of-00004.safetensors",
170
+ "encoder.block.4.layer.0.SelfAttention.o.weight": "model-00001-of-00004.safetensors",
171
+ "encoder.block.4.layer.0.SelfAttention.q.weight": "model-00001-of-00004.safetensors",
172
+ "encoder.block.4.layer.0.SelfAttention.v.weight": "model-00001-of-00004.safetensors",
173
+ "encoder.block.4.layer.0.layer_norm.weight": "model-00001-of-00004.safetensors",
174
+ "encoder.block.4.layer.1.DenseReluDense.wi_0.weight": "model-00001-of-00004.safetensors",
175
+ "encoder.block.4.layer.1.DenseReluDense.wi_1.weight": "model-00001-of-00004.safetensors",
176
+ "encoder.block.4.layer.1.DenseReluDense.wo.weight": "model-00001-of-00004.safetensors",
177
+ "encoder.block.4.layer.1.layer_norm.weight": "model-00001-of-00004.safetensors",
178
+ "encoder.block.5.layer.0.SelfAttention.k.weight": "model-00001-of-00004.safetensors",
179
+ "encoder.block.5.layer.0.SelfAttention.o.weight": "model-00001-of-00004.safetensors",
180
+ "encoder.block.5.layer.0.SelfAttention.q.weight": "model-00001-of-00004.safetensors",
181
+ "encoder.block.5.layer.0.SelfAttention.v.weight": "model-00001-of-00004.safetensors",
182
+ "encoder.block.5.layer.0.layer_norm.weight": "model-00001-of-00004.safetensors",
183
+ "encoder.block.5.layer.1.DenseReluDense.wi_0.weight": "model-00001-of-00004.safetensors",
184
+ "encoder.block.5.layer.1.DenseReluDense.wi_1.weight": "model-00001-of-00004.safetensors",
185
+ "encoder.block.5.layer.1.DenseReluDense.wo.weight": "model-00002-of-00004.safetensors",
186
+ "encoder.block.5.layer.1.layer_norm.weight": "model-00002-of-00004.safetensors",
187
+ "encoder.block.6.layer.0.SelfAttention.k.weight": "model-00002-of-00004.safetensors",
188
+ "encoder.block.6.layer.0.SelfAttention.o.weight": "model-00002-of-00004.safetensors",
189
+ "encoder.block.6.layer.0.SelfAttention.q.weight": "model-00002-of-00004.safetensors",
190
+ "encoder.block.6.layer.0.SelfAttention.v.weight": "model-00002-of-00004.safetensors",
191
+ "encoder.block.6.layer.0.layer_norm.weight": "model-00002-of-00004.safetensors",
192
+ "encoder.block.6.layer.1.DenseReluDense.wi_0.weight": "model-00002-of-00004.safetensors",
193
+ "encoder.block.6.layer.1.DenseReluDense.wi_1.weight": "model-00002-of-00004.safetensors",
194
+ "encoder.block.6.layer.1.DenseReluDense.wo.weight": "model-00002-of-00004.safetensors",
195
+ "encoder.block.6.layer.1.layer_norm.weight": "model-00002-of-00004.safetensors",
196
+ "encoder.block.7.layer.0.SelfAttention.k.weight": "model-00002-of-00004.safetensors",
197
+ "encoder.block.7.layer.0.SelfAttention.o.weight": "model-00002-of-00004.safetensors",
198
+ "encoder.block.7.layer.0.SelfAttention.q.weight": "model-00002-of-00004.safetensors",
199
+ "encoder.block.7.layer.0.SelfAttention.v.weight": "model-00002-of-00004.safetensors",
200
+ "encoder.block.7.layer.0.layer_norm.weight": "model-00002-of-00004.safetensors",
201
+ "encoder.block.7.layer.1.DenseReluDense.wi_0.weight": "model-00002-of-00004.safetensors",
202
+ "encoder.block.7.layer.1.DenseReluDense.wi_1.weight": "model-00002-of-00004.safetensors",
203
+ "encoder.block.7.layer.1.DenseReluDense.wo.weight": "model-00002-of-00004.safetensors",
204
+ "encoder.block.7.layer.1.layer_norm.weight": "model-00002-of-00004.safetensors",
205
+ "encoder.block.8.layer.0.SelfAttention.k.weight": "model-00002-of-00004.safetensors",
206
+ "encoder.block.8.layer.0.SelfAttention.o.weight": "model-00002-of-00004.safetensors",
207
+ "encoder.block.8.layer.0.SelfAttention.q.weight": "model-00002-of-00004.safetensors",
208
+ "encoder.block.8.layer.0.SelfAttention.v.weight": "model-00002-of-00004.safetensors",
209
+ "encoder.block.8.layer.0.layer_norm.weight": "model-00002-of-00004.safetensors",
210
+ "encoder.block.8.layer.1.DenseReluDense.wi_0.weight": "model-00002-of-00004.safetensors",
211
+ "encoder.block.8.layer.1.DenseReluDense.wi_1.weight": "model-00002-of-00004.safetensors",
212
+ "encoder.block.8.layer.1.DenseReluDense.wo.weight": "model-00002-of-00004.safetensors",
213
+ "encoder.block.8.layer.1.layer_norm.weight": "model-00002-of-00004.safetensors",
214
+ "encoder.block.9.layer.0.SelfAttention.k.weight": "model-00002-of-00004.safetensors",
215
+ "encoder.block.9.layer.0.SelfAttention.o.weight": "model-00002-of-00004.safetensors",
216
+ "encoder.block.9.layer.0.SelfAttention.q.weight": "model-00002-of-00004.safetensors",
217
+ "encoder.block.9.layer.0.SelfAttention.v.weight": "model-00002-of-00004.safetensors",
218
+ "encoder.block.9.layer.0.layer_norm.weight": "model-00002-of-00004.safetensors",
219
+ "encoder.block.9.layer.1.DenseReluDense.wi_0.weight": "model-00002-of-00004.safetensors",
220
+ "encoder.block.9.layer.1.DenseReluDense.wi_1.weight": "model-00002-of-00004.safetensors",
221
+ "encoder.block.9.layer.1.DenseReluDense.wo.weight": "model-00002-of-00004.safetensors",
222
+ "encoder.block.9.layer.1.layer_norm.weight": "model-00002-of-00004.safetensors",
223
+ "encoder.final_layer_norm.weight": "model-00004-of-00004.safetensors",
224
+ "shared.weight": "model-00001-of-00004.safetensors"
225
+ }
226
+ }
tokenizer_2/special_tokens_map.json ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<extra_id_0>",
4
+ "<extra_id_1>",
5
+ "<extra_id_2>",
6
+ "<extra_id_3>",
7
+ "<extra_id_4>",
8
+ "<extra_id_5>",
9
+ "<extra_id_6>",
10
+ "<extra_id_7>",
11
+ "<extra_id_8>",
12
+ "<extra_id_9>",
13
+ "<extra_id_10>",
14
+ "<extra_id_11>",
15
+ "<extra_id_12>",
16
+ "<extra_id_13>",
17
+ "<extra_id_14>",
18
+ "<extra_id_15>",
19
+ "<extra_id_16>",
20
+ "<extra_id_17>",
21
+ "<extra_id_18>",
22
+ "<extra_id_19>",
23
+ "<extra_id_20>",
24
+ "<extra_id_21>",
25
+ "<extra_id_22>",
26
+ "<extra_id_23>",
27
+ "<extra_id_24>",
28
+ "<extra_id_25>",
29
+ "<extra_id_26>",
30
+ "<extra_id_27>",
31
+ "<extra_id_28>",
32
+ "<extra_id_29>",
33
+ "<extra_id_30>",
34
+ "<extra_id_31>",
35
+ "<extra_id_32>",
36
+ "<extra_id_33>",
37
+ "<extra_id_34>",
38
+ "<extra_id_35>",
39
+ "<extra_id_36>",
40
+ "<extra_id_37>",
41
+ "<extra_id_38>",
42
+ "<extra_id_39>",
43
+ "<extra_id_40>",
44
+ "<extra_id_41>",
45
+ "<extra_id_42>",
46
+ "<extra_id_43>",
47
+ "<extra_id_44>",
48
+ "<extra_id_45>",
49
+ "<extra_id_46>",
50
+ "<extra_id_47>",
51
+ "<extra_id_48>",
52
+ "<extra_id_49>",
53
+ "<extra_id_50>",
54
+ "<extra_id_51>",
55
+ "<extra_id_52>",
56
+ "<extra_id_53>",
57
+ "<extra_id_54>",
58
+ "<extra_id_55>",
59
+ "<extra_id_56>",
60
+ "<extra_id_57>",
61
+ "<extra_id_58>",
62
+ "<extra_id_59>",
63
+ "<extra_id_60>",
64
+ "<extra_id_61>",
65
+ "<extra_id_62>",
66
+ "<extra_id_63>",
67
+ "<extra_id_64>",
68
+ "<extra_id_65>",
69
+ "<extra_id_66>",
70
+ "<extra_id_67>",
71
+ "<extra_id_68>",
72
+ "<extra_id_69>",
73
+ "<extra_id_70>",
74
+ "<extra_id_71>",
75
+ "<extra_id_72>",
76
+ "<extra_id_73>",
77
+ "<extra_id_74>",
78
+ "<extra_id_75>",
79
+ "<extra_id_76>",
80
+ "<extra_id_77>",
81
+ "<extra_id_78>",
82
+ "<extra_id_79>",
83
+ "<extra_id_80>",
84
+ "<extra_id_81>",
85
+ "<extra_id_82>",
86
+ "<extra_id_83>",
87
+ "<extra_id_84>",
88
+ "<extra_id_85>",
89
+ "<extra_id_86>",
90
+ "<extra_id_87>",
91
+ "<extra_id_88>",
92
+ "<extra_id_89>",
93
+ "<extra_id_90>",
94
+ "<extra_id_91>",
95
+ "<extra_id_92>",
96
+ "<extra_id_93>",
97
+ "<extra_id_94>",
98
+ "<extra_id_95>",
99
+ "<extra_id_96>",
100
+ "<extra_id_97>",
101
+ "<extra_id_98>",
102
+ "<extra_id_99>"
103
+ ],
104
+ "eos_token": {
105
+ "content": "</s>",
106
+ "lstrip": false,
107
+ "normalized": false,
108
+ "rstrip": false,
109
+ "single_word": false
110
+ },
111
+ "pad_token": {
112
+ "content": "<pad>",
113
+ "lstrip": false,
114
+ "normalized": false,
115
+ "rstrip": false,
116
+ "single_word": false
117
+ },
118
+ "unk_token": {
119
+ "content": "<unk>",
120
+ "lstrip": false,
121
+ "normalized": false,
122
+ "rstrip": false,
123
+ "single_word": false
124
+ }
125
+ }
tokenizer_2/spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
3
+ size 791656
tokenizer_2/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_2/tokenizer_config.json ADDED
@@ -0,0 +1,940 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<pad>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "</s>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "<unk>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "32000": {
29
+ "content": "<extra_id_99>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "32001": {
37
+ "content": "<extra_id_98>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "32002": {
45
+ "content": "<extra_id_97>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "32003": {
53
+ "content": "<extra_id_96>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "32004": {
61
+ "content": "<extra_id_95>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "32005": {
69
+ "content": "<extra_id_94>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "32006": {
77
+ "content": "<extra_id_93>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "32007": {
85
+ "content": "<extra_id_92>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "32008": {
93
+ "content": "<extra_id_91>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "32009": {
101
+ "content": "<extra_id_90>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "32010": {
109
+ "content": "<extra_id_89>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "32011": {
117
+ "content": "<extra_id_88>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": true
123
+ },
124
+ "32012": {
125
+ "content": "<extra_id_87>",
126
+ "lstrip": false,
127
+ "normalized": false,
128
+ "rstrip": false,
129
+ "single_word": false,
130
+ "special": true
131
+ },
132
+ "32013": {
133
+ "content": "<extra_id_86>",
134
+ "lstrip": false,
135
+ "normalized": false,
136
+ "rstrip": false,
137
+ "single_word": false,
138
+ "special": true
139
+ },
140
+ "32014": {
141
+ "content": "<extra_id_85>",
142
+ "lstrip": false,
143
+ "normalized": false,
144
+ "rstrip": false,
145
+ "single_word": false,
146
+ "special": true
147
+ },
148
+ "32015": {
149
+ "content": "<extra_id_84>",
150
+ "lstrip": false,
151
+ "normalized": false,
152
+ "rstrip": false,
153
+ "single_word": false,
154
+ "special": true
155
+ },
156
+ "32016": {
157
+ "content": "<extra_id_83>",
158
+ "lstrip": false,
159
+ "normalized": false,
160
+ "rstrip": false,
161
+ "single_word": false,
162
+ "special": true
163
+ },
164
+ "32017": {
165
+ "content": "<extra_id_82>",
166
+ "lstrip": false,
167
+ "normalized": false,
168
+ "rstrip": false,
169
+ "single_word": false,
170
+ "special": true
171
+ },
172
+ "32018": {
173
+ "content": "<extra_id_81>",
174
+ "lstrip": false,
175
+ "normalized": false,
176
+ "rstrip": false,
177
+ "single_word": false,
178
+ "special": true
179
+ },
180
+ "32019": {
181
+ "content": "<extra_id_80>",
182
+ "lstrip": false,
183
+ "normalized": false,
184
+ "rstrip": false,
185
+ "single_word": false,
186
+ "special": true
187
+ },
188
+ "32020": {
189
+ "content": "<extra_id_79>",
190
+ "lstrip": false,
191
+ "normalized": false,
192
+ "rstrip": false,
193
+ "single_word": false,
194
+ "special": true
195
+ },
196
+ "32021": {
197
+ "content": "<extra_id_78>",
198
+ "lstrip": false,
199
+ "normalized": false,
200
+ "rstrip": false,
201
+ "single_word": false,
202
+ "special": true
203
+ },
204
+ "32022": {
205
+ "content": "<extra_id_77>",
206
+ "lstrip": false,
207
+ "normalized": false,
208
+ "rstrip": false,
209
+ "single_word": false,
210
+ "special": true
211
+ },
212
+ "32023": {
213
+ "content": "<extra_id_76>",
214
+ "lstrip": false,
215
+ "normalized": false,
216
+ "rstrip": false,
217
+ "single_word": false,
218
+ "special": true
219
+ },
220
+ "32024": {
221
+ "content": "<extra_id_75>",
222
+ "lstrip": false,
223
+ "normalized": false,
224
+ "rstrip": false,
225
+ "single_word": false,
226
+ "special": true
227
+ },
228
+ "32025": {
229
+ "content": "<extra_id_74>",
230
+ "lstrip": false,
231
+ "normalized": false,
232
+ "rstrip": false,
233
+ "single_word": false,
234
+ "special": true
235
+ },
236
+ "32026": {
237
+ "content": "<extra_id_73>",
238
+ "lstrip": false,
239
+ "normalized": false,
240
+ "rstrip": false,
241
+ "single_word": false,
242
+ "special": true
243
+ },
244
+ "32027": {
245
+ "content": "<extra_id_72>",
246
+ "lstrip": false,
247
+ "normalized": false,
248
+ "rstrip": false,
249
+ "single_word": false,
250
+ "special": true
251
+ },
252
+ "32028": {
253
+ "content": "<extra_id_71>",
254
+ "lstrip": false,
255
+ "normalized": false,
256
+ "rstrip": false,
257
+ "single_word": false,
258
+ "special": true
259
+ },
260
+ "32029": {
261
+ "content": "<extra_id_70>",
262
+ "lstrip": false,
263
+ "normalized": false,
264
+ "rstrip": false,
265
+ "single_word": false,
266
+ "special": true
267
+ },
268
+ "32030": {
269
+ "content": "<extra_id_69>",
270
+ "lstrip": false,
271
+ "normalized": false,
272
+ "rstrip": false,
273
+ "single_word": false,
274
+ "special": true
275
+ },
276
+ "32031": {
277
+ "content": "<extra_id_68>",
278
+ "lstrip": false,
279
+ "normalized": false,
280
+ "rstrip": false,
281
+ "single_word": false,
282
+ "special": true
283
+ },
284
+ "32032": {
285
+ "content": "<extra_id_67>",
286
+ "lstrip": false,
287
+ "normalized": false,
288
+ "rstrip": false,
289
+ "single_word": false,
290
+ "special": true
291
+ },
292
+ "32033": {
293
+ "content": "<extra_id_66>",
294
+ "lstrip": false,
295
+ "normalized": false,
296
+ "rstrip": false,
297
+ "single_word": false,
298
+ "special": true
299
+ },
300
+ "32034": {
301
+ "content": "<extra_id_65>",
302
+ "lstrip": false,
303
+ "normalized": false,
304
+ "rstrip": false,
305
+ "single_word": false,
306
+ "special": true
307
+ },
308
+ "32035": {
309
+ "content": "<extra_id_64>",
310
+ "lstrip": false,
311
+ "normalized": false,
312
+ "rstrip": false,
313
+ "single_word": false,
314
+ "special": true
315
+ },
316
+ "32036": {
317
+ "content": "<extra_id_63>",
318
+ "lstrip": false,
319
+ "normalized": false,
320
+ "rstrip": false,
321
+ "single_word": false,
322
+ "special": true
323
+ },
324
+ "32037": {
325
+ "content": "<extra_id_62>",
326
+ "lstrip": false,
327
+ "normalized": false,
328
+ "rstrip": false,
329
+ "single_word": false,
330
+ "special": true
331
+ },
332
+ "32038": {
333
+ "content": "<extra_id_61>",
334
+ "lstrip": false,
335
+ "normalized": false,
336
+ "rstrip": false,
337
+ "single_word": false,
338
+ "special": true
339
+ },
340
+ "32039": {
341
+ "content": "<extra_id_60>",
342
+ "lstrip": false,
343
+ "normalized": false,
344
+ "rstrip": false,
345
+ "single_word": false,
346
+ "special": true
347
+ },
348
+ "32040": {
349
+ "content": "<extra_id_59>",
350
+ "lstrip": false,
351
+ "normalized": false,
352
+ "rstrip": false,
353
+ "single_word": false,
354
+ "special": true
355
+ },
356
+ "32041": {
357
+ "content": "<extra_id_58>",
358
+ "lstrip": false,
359
+ "normalized": false,
360
+ "rstrip": false,
361
+ "single_word": false,
362
+ "special": true
363
+ },
364
+ "32042": {
365
+ "content": "<extra_id_57>",
366
+ "lstrip": false,
367
+ "normalized": false,
368
+ "rstrip": false,
369
+ "single_word": false,
370
+ "special": true
371
+ },
372
+ "32043": {
373
+ "content": "<extra_id_56>",
374
+ "lstrip": false,
375
+ "normalized": false,
376
+ "rstrip": false,
377
+ "single_word": false,
378
+ "special": true
379
+ },
380
+ "32044": {
381
+ "content": "<extra_id_55>",
382
+ "lstrip": false,
383
+ "normalized": false,
384
+ "rstrip": false,
385
+ "single_word": false,
386
+ "special": true
387
+ },
388
+ "32045": {
389
+ "content": "<extra_id_54>",
390
+ "lstrip": false,
391
+ "normalized": false,
392
+ "rstrip": false,
393
+ "single_word": false,
394
+ "special": true
395
+ },
396
+ "32046": {
397
+ "content": "<extra_id_53>",
398
+ "lstrip": false,
399
+ "normalized": false,
400
+ "rstrip": false,
401
+ "single_word": false,
402
+ "special": true
403
+ },
404
+ "32047": {
405
+ "content": "<extra_id_52>",
406
+ "lstrip": false,
407
+ "normalized": false,
408
+ "rstrip": false,
409
+ "single_word": false,
410
+ "special": true
411
+ },
412
+ "32048": {
413
+ "content": "<extra_id_51>",
414
+ "lstrip": false,
415
+ "normalized": false,
416
+ "rstrip": false,
417
+ "single_word": false,
418
+ "special": true
419
+ },
420
+ "32049": {
421
+ "content": "<extra_id_50>",
422
+ "lstrip": false,
423
+ "normalized": false,
424
+ "rstrip": false,
425
+ "single_word": false,
426
+ "special": true
427
+ },
428
+ "32050": {
429
+ "content": "<extra_id_49>",
430
+ "lstrip": false,
431
+ "normalized": false,
432
+ "rstrip": false,
433
+ "single_word": false,
434
+ "special": true
435
+ },
436
+ "32051": {
437
+ "content": "<extra_id_48>",
438
+ "lstrip": false,
439
+ "normalized": false,
440
+ "rstrip": false,
441
+ "single_word": false,
442
+ "special": true
443
+ },
444
+ "32052": {
445
+ "content": "<extra_id_47>",
446
+ "lstrip": false,
447
+ "normalized": false,
448
+ "rstrip": false,
449
+ "single_word": false,
450
+ "special": true
451
+ },
452
+ "32053": {
453
+ "content": "<extra_id_46>",
454
+ "lstrip": false,
455
+ "normalized": false,
456
+ "rstrip": false,
457
+ "single_word": false,
458
+ "special": true
459
+ },
460
+ "32054": {
461
+ "content": "<extra_id_45>",
462
+ "lstrip": false,
463
+ "normalized": false,
464
+ "rstrip": false,
465
+ "single_word": false,
466
+ "special": true
467
+ },
468
+ "32055": {
469
+ "content": "<extra_id_44>",
470
+ "lstrip": false,
471
+ "normalized": false,
472
+ "rstrip": false,
473
+ "single_word": false,
474
+ "special": true
475
+ },
476
+ "32056": {
477
+ "content": "<extra_id_43>",
478
+ "lstrip": false,
479
+ "normalized": false,
480
+ "rstrip": false,
481
+ "single_word": false,
482
+ "special": true
483
+ },
484
+ "32057": {
485
+ "content": "<extra_id_42>",
486
+ "lstrip": false,
487
+ "normalized": false,
488
+ "rstrip": false,
489
+ "single_word": false,
490
+ "special": true
491
+ },
492
+ "32058": {
493
+ "content": "<extra_id_41>",
494
+ "lstrip": false,
495
+ "normalized": false,
496
+ "rstrip": false,
497
+ "single_word": false,
498
+ "special": true
499
+ },
500
+ "32059": {
501
+ "content": "<extra_id_40>",
502
+ "lstrip": false,
503
+ "normalized": false,
504
+ "rstrip": false,
505
+ "single_word": false,
506
+ "special": true
507
+ },
508
+ "32060": {
509
+ "content": "<extra_id_39>",
510
+ "lstrip": false,
511
+ "normalized": false,
512
+ "rstrip": false,
513
+ "single_word": false,
514
+ "special": true
515
+ },
516
+ "32061": {
517
+ "content": "<extra_id_38>",
518
+ "lstrip": false,
519
+ "normalized": false,
520
+ "rstrip": false,
521
+ "single_word": false,
522
+ "special": true
523
+ },
524
+ "32062": {
525
+ "content": "<extra_id_37>",
526
+ "lstrip": false,
527
+ "normalized": false,
528
+ "rstrip": false,
529
+ "single_word": false,
530
+ "special": true
531
+ },
532
+ "32063": {
533
+ "content": "<extra_id_36>",
534
+ "lstrip": false,
535
+ "normalized": false,
536
+ "rstrip": false,
537
+ "single_word": false,
538
+ "special": true
539
+ },
540
+ "32064": {
541
+ "content": "<extra_id_35>",
542
+ "lstrip": false,
543
+ "normalized": false,
544
+ "rstrip": false,
545
+ "single_word": false,
546
+ "special": true
547
+ },
548
+ "32065": {
549
+ "content": "<extra_id_34>",
550
+ "lstrip": false,
551
+ "normalized": false,
552
+ "rstrip": false,
553
+ "single_word": false,
554
+ "special": true
555
+ },
556
+ "32066": {
557
+ "content": "<extra_id_33>",
558
+ "lstrip": false,
559
+ "normalized": false,
560
+ "rstrip": false,
561
+ "single_word": false,
562
+ "special": true
563
+ },
564
+ "32067": {
565
+ "content": "<extra_id_32>",
566
+ "lstrip": false,
567
+ "normalized": false,
568
+ "rstrip": false,
569
+ "single_word": false,
570
+ "special": true
571
+ },
572
+ "32068": {
573
+ "content": "<extra_id_31>",
574
+ "lstrip": false,
575
+ "normalized": false,
576
+ "rstrip": false,
577
+ "single_word": false,
578
+ "special": true
579
+ },
580
+ "32069": {
581
+ "content": "<extra_id_30>",
582
+ "lstrip": false,
583
+ "normalized": false,
584
+ "rstrip": false,
585
+ "single_word": false,
586
+ "special": true
587
+ },
588
+ "32070": {
589
+ "content": "<extra_id_29>",
590
+ "lstrip": false,
591
+ "normalized": false,
592
+ "rstrip": false,
593
+ "single_word": false,
594
+ "special": true
595
+ },
596
+ "32071": {
597
+ "content": "<extra_id_28>",
598
+ "lstrip": false,
599
+ "normalized": false,
600
+ "rstrip": false,
601
+ "single_word": false,
602
+ "special": true
603
+ },
604
+ "32072": {
605
+ "content": "<extra_id_27>",
606
+ "lstrip": false,
607
+ "normalized": false,
608
+ "rstrip": false,
609
+ "single_word": false,
610
+ "special": true
611
+ },
612
+ "32073": {
613
+ "content": "<extra_id_26>",
614
+ "lstrip": false,
615
+ "normalized": false,
616
+ "rstrip": false,
617
+ "single_word": false,
618
+ "special": true
619
+ },
620
+ "32074": {
621
+ "content": "<extra_id_25>",
622
+ "lstrip": false,
623
+ "normalized": false,
624
+ "rstrip": false,
625
+ "single_word": false,
626
+ "special": true
627
+ },
628
+ "32075": {
629
+ "content": "<extra_id_24>",
630
+ "lstrip": false,
631
+ "normalized": false,
632
+ "rstrip": false,
633
+ "single_word": false,
634
+ "special": true
635
+ },
636
+ "32076": {
637
+ "content": "<extra_id_23>",
638
+ "lstrip": false,
639
+ "normalized": false,
640
+ "rstrip": false,
641
+ "single_word": false,
642
+ "special": true
643
+ },
644
+ "32077": {
645
+ "content": "<extra_id_22>",
646
+ "lstrip": false,
647
+ "normalized": false,
648
+ "rstrip": false,
649
+ "single_word": false,
650
+ "special": true
651
+ },
652
+ "32078": {
653
+ "content": "<extra_id_21>",
654
+ "lstrip": false,
655
+ "normalized": false,
656
+ "rstrip": false,
657
+ "single_word": false,
658
+ "special": true
659
+ },
660
+ "32079": {
661
+ "content": "<extra_id_20>",
662
+ "lstrip": false,
663
+ "normalized": false,
664
+ "rstrip": false,
665
+ "single_word": false,
666
+ "special": true
667
+ },
668
+ "32080": {
669
+ "content": "<extra_id_19>",
670
+ "lstrip": false,
671
+ "normalized": false,
672
+ "rstrip": false,
673
+ "single_word": false,
674
+ "special": true
675
+ },
676
+ "32081": {
677
+ "content": "<extra_id_18>",
678
+ "lstrip": false,
679
+ "normalized": false,
680
+ "rstrip": false,
681
+ "single_word": false,
682
+ "special": true
683
+ },
684
+ "32082": {
685
+ "content": "<extra_id_17>",
686
+ "lstrip": false,
687
+ "normalized": false,
688
+ "rstrip": false,
689
+ "single_word": false,
690
+ "special": true
691
+ },
692
+ "32083": {
693
+ "content": "<extra_id_16>",
694
+ "lstrip": false,
695
+ "normalized": false,
696
+ "rstrip": false,
697
+ "single_word": false,
698
+ "special": true
699
+ },
700
+ "32084": {
701
+ "content": "<extra_id_15>",
702
+ "lstrip": false,
703
+ "normalized": false,
704
+ "rstrip": false,
705
+ "single_word": false,
706
+ "special": true
707
+ },
708
+ "32085": {
709
+ "content": "<extra_id_14>",
710
+ "lstrip": false,
711
+ "normalized": false,
712
+ "rstrip": false,
713
+ "single_word": false,
714
+ "special": true
715
+ },
716
+ "32086": {
717
+ "content": "<extra_id_13>",
718
+ "lstrip": false,
719
+ "normalized": false,
720
+ "rstrip": false,
721
+ "single_word": false,
722
+ "special": true
723
+ },
724
+ "32087": {
725
+ "content": "<extra_id_12>",
726
+ "lstrip": false,
727
+ "normalized": false,
728
+ "rstrip": false,
729
+ "single_word": false,
730
+ "special": true
731
+ },
732
+ "32088": {
733
+ "content": "<extra_id_11>",
734
+ "lstrip": false,
735
+ "normalized": false,
736
+ "rstrip": false,
737
+ "single_word": false,
738
+ "special": true
739
+ },
740
+ "32089": {
741
+ "content": "<extra_id_10>",
742
+ "lstrip": false,
743
+ "normalized": false,
744
+ "rstrip": false,
745
+ "single_word": false,
746
+ "special": true
747
+ },
748
+ "32090": {
749
+ "content": "<extra_id_9>",
750
+ "lstrip": false,
751
+ "normalized": false,
752
+ "rstrip": false,
753
+ "single_word": false,
754
+ "special": true
755
+ },
756
+ "32091": {
757
+ "content": "<extra_id_8>",
758
+ "lstrip": false,
759
+ "normalized": false,
760
+ "rstrip": false,
761
+ "single_word": false,
762
+ "special": true
763
+ },
764
+ "32092": {
765
+ "content": "<extra_id_7>",
766
+ "lstrip": false,
767
+ "normalized": false,
768
+ "rstrip": false,
769
+ "single_word": false,
770
+ "special": true
771
+ },
772
+ "32093": {
773
+ "content": "<extra_id_6>",
774
+ "lstrip": false,
775
+ "normalized": false,
776
+ "rstrip": false,
777
+ "single_word": false,
778
+ "special": true
779
+ },
780
+ "32094": {
781
+ "content": "<extra_id_5>",
782
+ "lstrip": false,
783
+ "normalized": false,
784
+ "rstrip": false,
785
+ "single_word": false,
786
+ "special": true
787
+ },
788
+ "32095": {
789
+ "content": "<extra_id_4>",
790
+ "lstrip": false,
791
+ "normalized": false,
792
+ "rstrip": false,
793
+ "single_word": false,
794
+ "special": true
795
+ },
796
+ "32096": {
797
+ "content": "<extra_id_3>",
798
+ "lstrip": false,
799
+ "normalized": false,
800
+ "rstrip": false,
801
+ "single_word": false,
802
+ "special": true
803
+ },
804
+ "32097": {
805
+ "content": "<extra_id_2>",
806
+ "lstrip": false,
807
+ "normalized": false,
808
+ "rstrip": false,
809
+ "single_word": false,
810
+ "special": true
811
+ },
812
+ "32098": {
813
+ "content": "<extra_id_1>",
814
+ "lstrip": false,
815
+ "normalized": false,
816
+ "rstrip": false,
817
+ "single_word": false,
818
+ "special": true
819
+ },
820
+ "32099": {
821
+ "content": "<extra_id_0>",
822
+ "lstrip": false,
823
+ "normalized": false,
824
+ "rstrip": false,
825
+ "single_word": false,
826
+ "special": true
827
+ }
828
+ },
829
+ "additional_special_tokens": [
830
+ "<extra_id_0>",
831
+ "<extra_id_1>",
832
+ "<extra_id_2>",
833
+ "<extra_id_3>",
834
+ "<extra_id_4>",
835
+ "<extra_id_5>",
836
+ "<extra_id_6>",
837
+ "<extra_id_7>",
838
+ "<extra_id_8>",
839
+ "<extra_id_9>",
840
+ "<extra_id_10>",
841
+ "<extra_id_11>",
842
+ "<extra_id_12>",
843
+ "<extra_id_13>",
844
+ "<extra_id_14>",
845
+ "<extra_id_15>",
846
+ "<extra_id_16>",
847
+ "<extra_id_17>",
848
+ "<extra_id_18>",
849
+ "<extra_id_19>",
850
+ "<extra_id_20>",
851
+ "<extra_id_21>",
852
+ "<extra_id_22>",
853
+ "<extra_id_23>",
854
+ "<extra_id_24>",
855
+ "<extra_id_25>",
856
+ "<extra_id_26>",
857
+ "<extra_id_27>",
858
+ "<extra_id_28>",
859
+ "<extra_id_29>",
860
+ "<extra_id_30>",
861
+ "<extra_id_31>",
862
+ "<extra_id_32>",
863
+ "<extra_id_33>",
864
+ "<extra_id_34>",
865
+ "<extra_id_35>",
866
+ "<extra_id_36>",
867
+ "<extra_id_37>",
868
+ "<extra_id_38>",
869
+ "<extra_id_39>",
870
+ "<extra_id_40>",
871
+ "<extra_id_41>",
872
+ "<extra_id_42>",
873
+ "<extra_id_43>",
874
+ "<extra_id_44>",
875
+ "<extra_id_45>",
876
+ "<extra_id_46>",
877
+ "<extra_id_47>",
878
+ "<extra_id_48>",
879
+ "<extra_id_49>",
880
+ "<extra_id_50>",
881
+ "<extra_id_51>",
882
+ "<extra_id_52>",
883
+ "<extra_id_53>",
884
+ "<extra_id_54>",
885
+ "<extra_id_55>",
886
+ "<extra_id_56>",
887
+ "<extra_id_57>",
888
+ "<extra_id_58>",
889
+ "<extra_id_59>",
890
+ "<extra_id_60>",
891
+ "<extra_id_61>",
892
+ "<extra_id_62>",
893
+ "<extra_id_63>",
894
+ "<extra_id_64>",
895
+ "<extra_id_65>",
896
+ "<extra_id_66>",
897
+ "<extra_id_67>",
898
+ "<extra_id_68>",
899
+ "<extra_id_69>",
900
+ "<extra_id_70>",
901
+ "<extra_id_71>",
902
+ "<extra_id_72>",
903
+ "<extra_id_73>",
904
+ "<extra_id_74>",
905
+ "<extra_id_75>",
906
+ "<extra_id_76>",
907
+ "<extra_id_77>",
908
+ "<extra_id_78>",
909
+ "<extra_id_79>",
910
+ "<extra_id_80>",
911
+ "<extra_id_81>",
912
+ "<extra_id_82>",
913
+ "<extra_id_83>",
914
+ "<extra_id_84>",
915
+ "<extra_id_85>",
916
+ "<extra_id_86>",
917
+ "<extra_id_87>",
918
+ "<extra_id_88>",
919
+ "<extra_id_89>",
920
+ "<extra_id_90>",
921
+ "<extra_id_91>",
922
+ "<extra_id_92>",
923
+ "<extra_id_93>",
924
+ "<extra_id_94>",
925
+ "<extra_id_95>",
926
+ "<extra_id_96>",
927
+ "<extra_id_97>",
928
+ "<extra_id_98>",
929
+ "<extra_id_99>"
930
+ ],
931
+ "clean_up_tokenization_spaces": true,
932
+ "eos_token": "</s>",
933
+ "extra_ids": 100,
934
+ "legacy": true,
935
+ "model_max_length": 512,
936
+ "pad_token": "<pad>",
937
+ "sp_model_kwargs": {},
938
+ "tokenizer_class": "T5Tokenizer",
939
+ "unk_token": "<unk>"
940
+ }
transformer/config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "FluxTransformer2DModel",
3
+ "_diffusers_version": "0.32.0.dev0",
4
+ "_name_or_path": "/raid/aryan/flux1-depth-dev-diffusers",
5
+ "attention_head_dim": 128,
6
+ "axes_dims_rope": [
7
+ 16,
8
+ 56,
9
+ 56
10
+ ],
11
+ "guidance_embeds": true,
12
+ "in_channels": 128,
13
+ "joint_attention_dim": 4096,
14
+ "num_attention_heads": 24,
15
+ "num_layers": 19,
16
+ "num_single_layers": 38,
17
+ "out_channels": 64,
18
+ "patch_size": 1,
19
+ "pooled_projection_dim": 768
20
+ }
transformer/diffusion_pytorch_model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca1b8a358874a5023419cbf803fd86c0cf0d7382a4a4b82fb7259497aa3fe645
3
+ size 9983433520
transformer/diffusion_pytorch_model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3362f89d1f3c2d03b8fa17389d70f2033d64a08726442535c915cf0201c24c99
3
+ size 9949328904
transformer/diffusion_pytorch_model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61e59875679174c4de46570fae3088a032a6b563914341e2a3e54061fb66fc74
3
+ size 3870584832
transformer/diffusion_pytorch_model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff