danielhanchen commited on
Commit
128c0ce
·
verified ·
1 Parent(s): 5864622

Add pre-cast fp8 text encoder checkpoint

Browse files
Files changed (1) hide show
  1. README.md +13 -0
README.md CHANGED
@@ -202,3 +202,16 @@ Prompt: "cute sloth typing on a computer" (1024x1024, family default steps/guida
202
 
203
  <img src="samples/fp8_1.png" width="260"> <img src="samples/fp8_2.png" width="260"> <img src="samples/fp8_3.png" width="260">
204
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
 
203
  <img src="samples/fp8_1.png" width="260"> <img src="samples/fp8_2.png" width="260"> <img src="samples/fp8_3.png" width="260">
204
 
205
+ ---
206
+
207
+ # Pre-cast fp8 text encoder (this repo)
208
+
209
+ FLUX.2-dev-text_encoder-FP8.pt (24.7 GB) is the pipeline's text encoder (Mistral3ForConditionalGeneration, the `text_encoder`
210
+ subfolder of black-forest-labs/FLUX.2-dev) with the layerwise fp8 storage cast Unsloth Studio applies at load
211
+ time, saved pre-cast:
212
+
213
+ - Loading it is bit-identical to downloading the dense encoder and casting on load
214
+ (verified tensor for tensor: 585 tensors, 453 cast to fp8 storage).
215
+ - Cuts the text-encoder download from 48.0 GB to 24.7 GB.
216
+ - Plain-tensor state dict: loads with torch.load(weights_only=True). Metadata records
217
+ scheme fp8, component text_encoder, base black-forest-labs/FLUX.2-dev.