Add INT8 weight-only quantized transformer for FLUX.2-dev
Browse files- README.md +79 -0
- quantize_transformer_int8wo.py +39 -0
- requirements.txt +13 -0
- transformer_int8wo/config.json +23 -0
- transformer_int8wo/diffusion_pytorch_model-00001-of-00004.bin +3 -0
- transformer_int8wo/diffusion_pytorch_model-00002-of-00004.bin +3 -0
- transformer_int8wo/diffusion_pytorch_model-00003-of-00004.bin +3 -0
- transformer_int8wo/diffusion_pytorch_model-00004-of-00004.bin +3 -0
- transformer_int8wo/diffusion_pytorch_model.bin.index.json +338 -0
- upload_hf.py +14 -0
README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# FLUX.2-dev – Transformer INT8 Weight-Only (torchao)
|
| 2 |
+
|
| 3 |
+
This repository provides an **INT8 weight-only quantized transformer** for
|
| 4 |
+
[`black-forest-labs/FLUX.2-dev`](https://huggingface.co/black-forest-labs/FLUX.2-dev).
|
| 5 |
+
|
| 6 |
+
Only the **transformer** is quantized and redistributed.
|
| 7 |
+
All other components (VAE, text encoders, scheduler, etc.) are loaded from the original model.
|
| 8 |
+
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
## What is included
|
| 12 |
+
|
| 13 |
+
- ✅ INT8 weight-only quantized **transformer**
|
| 14 |
+
- ❌ No VAE
|
| 15 |
+
- ❌ No text encoders
|
| 16 |
+
- ❌ No scheduler
|
| 17 |
+
|
| 18 |
+
Quantization is performed using **torchao** (INT8 weight-only).
|
| 19 |
+
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
## Why this exists
|
| 23 |
+
|
| 24 |
+
- Reduce VRAM usage of FLUX.2-dev
|
| 25 |
+
- Keep compatibility with Diffusers pipelines
|
| 26 |
+
- Avoid bitsandbytes (not supported on ROCm)
|
| 27 |
+
- Enable deployment on AMD GPUs (MI200 / MI210 / MI300)
|
| 28 |
+
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
## Requirements
|
| 32 |
+
|
| 33 |
+
- PyTorch with CUDA or ROCm
|
| 34 |
+
- `diffusers` (git main recommended)
|
| 35 |
+
- `torchao`
|
| 36 |
+
- `transformers`
|
| 37 |
+
- `huggingface-hub`
|
| 38 |
+
|
| 39 |
+
> ⚠️ The quantized transformer **cannot be loaded with safetensors**.
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
## How to use
|
| 44 |
+
|
| 45 |
+
```python
|
| 46 |
+
import torch
|
| 47 |
+
from diffusers import Flux2Pipeline, AutoModel
|
| 48 |
+
|
| 49 |
+
BASE_MODEL = "black-forest-labs/FLUX.2-dev"
|
| 50 |
+
INT8_REPO = "Atech/FLUX.2-dev-transformer-int8wo"
|
| 51 |
+
|
| 52 |
+
dtype = torch.bfloat16
|
| 53 |
+
|
| 54 |
+
# Load INT8 transformer
|
| 55 |
+
transformer = AutoModel.from_pretrained(
|
| 56 |
+
INT8_REPO,
|
| 57 |
+
subfolder="transformer_int8wo",
|
| 58 |
+
torch_dtype=dtype,
|
| 59 |
+
use_safetensors=False,
|
| 60 |
+
)
|
| 61 |
+
|
| 62 |
+
# Build pipeline using original FLUX.2-dev
|
| 63 |
+
pipe = Flux2Pipeline.from_pretrained(
|
| 64 |
+
BASE_MODEL,
|
| 65 |
+
transformer=transformer,
|
| 66 |
+
torch_dtype=dtype,
|
| 67 |
+
device_map="balanced", # recommended
|
| 68 |
+
)
|
| 69 |
+
|
| 70 |
+
# Example generation
|
| 71 |
+
image = pipe(
|
| 72 |
+
prompt="A futuristic data center server rack",
|
| 73 |
+
num_inference_steps=35,
|
| 74 |
+
guidance_scale=4,
|
| 75 |
+
height=1024,
|
| 76 |
+
width=1024,
|
| 77 |
+
).images[0]
|
| 78 |
+
|
| 79 |
+
image.save("output.png")
|
quantize_transformer_int8wo.py
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import torch
|
| 3 |
+
from diffusers import AutoModel
|
| 4 |
+
from torchao.quantization import quantize_, Int8WeightOnlyConfig
|
| 5 |
+
|
| 6 |
+
BASE_MODEL = "black-forest-labs/FLUX.2-dev"
|
| 7 |
+
OUT_DIR = "transformer_int8wo"
|
| 8 |
+
|
| 9 |
+
def main():
|
| 10 |
+
dtype = torch.bfloat16
|
| 11 |
+
|
| 12 |
+
print(f"Loading transformer from {BASE_MODEL}")
|
| 13 |
+
transformer = AutoModel.from_pretrained(
|
| 14 |
+
BASE_MODEL,
|
| 15 |
+
subfolder="transformer",
|
| 16 |
+
torch_dtype=dtype,
|
| 17 |
+
)
|
| 18 |
+
|
| 19 |
+
print("Applying INT8 weight-only quantization (torchao)")
|
| 20 |
+
try:
|
| 21 |
+
cfg = Int8WeightOnlyConfig(version=2)
|
| 22 |
+
except TypeError:
|
| 23 |
+
cfg = Int8WeightOnlyConfig()
|
| 24 |
+
|
| 25 |
+
quantize_(transformer, cfg)
|
| 26 |
+
|
| 27 |
+
os.makedirs(OUT_DIR, exist_ok=True)
|
| 28 |
+
|
| 29 |
+
print(f"Saving quantized transformer to ./{OUT_DIR}")
|
| 30 |
+
# IMPORTANT: torchao quantized weights are NOT safetensors-compatible
|
| 31 |
+
transformer.save_pretrained(
|
| 32 |
+
OUT_DIR,
|
| 33 |
+
safe_serialization=False
|
| 34 |
+
)
|
| 35 |
+
|
| 36 |
+
print("Done.")
|
| 37 |
+
|
| 38 |
+
if __name__ == "__main__":
|
| 39 |
+
main()
|
requirements.txt
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
|
| 4 |
+
# 4️⃣ requirements.txt
|
| 5 |
+
|
| 6 |
+
📄 `requirements.txt`
|
| 7 |
+
|
| 8 |
+
```txt
|
| 9 |
+
torch
|
| 10 |
+
diffusers
|
| 11 |
+
transformers
|
| 12 |
+
torchao
|
| 13 |
+
huggingface-hub
|
transformer_int8wo/config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "Flux2Transformer2DModel",
|
| 3 |
+
"_diffusers_version": "0.37.0.dev0",
|
| 4 |
+
"_name_or_path": "black-forest-labs/FLUX.2-dev",
|
| 5 |
+
"attention_head_dim": 128,
|
| 6 |
+
"axes_dims_rope": [
|
| 7 |
+
32,
|
| 8 |
+
32,
|
| 9 |
+
32,
|
| 10 |
+
32
|
| 11 |
+
],
|
| 12 |
+
"eps": 1e-06,
|
| 13 |
+
"in_channels": 128,
|
| 14 |
+
"joint_attention_dim": 15360,
|
| 15 |
+
"mlp_ratio": 3.0,
|
| 16 |
+
"num_attention_heads": 48,
|
| 17 |
+
"num_layers": 8,
|
| 18 |
+
"num_single_layers": 48,
|
| 19 |
+
"out_channels": null,
|
| 20 |
+
"patch_size": 1,
|
| 21 |
+
"rope_theta": 2000,
|
| 22 |
+
"timestep_guidance_channels": 256
|
| 23 |
+
}
|
transformer_int8wo/diffusion_pytorch_model-00001-of-00004.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d7cb821186499fd7cb38bab41007e71ff7f2bb3d5a4d6335023dba4d374c3b2
|
| 3 |
+
size 9915862927
|
transformer_int8wo/diffusion_pytorch_model-00002-of-00004.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce0f6fdf2adcc65fa1c1960c5f40dcefb70ebb7d563a7520367bedc829069d0e
|
| 3 |
+
size 9968194367
|
transformer_int8wo/diffusion_pytorch_model-00003-of-00004.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c53346cb517438bbedf4cc2ef8a170cd11ff687926ba159bc3c3d5dd0190f11b
|
| 3 |
+
size 9817186325
|
transformer_int8wo/diffusion_pytorch_model-00004-of-00004.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c02970fe6b55ee00b99bfeeb49da66ef7b3a4c30a42841b008a7b6d8a4a77da2
|
| 3 |
+
size 2530607445
|
transformer_int8wo/diffusion_pytorch_model.bin.index.json
ADDED
|
@@ -0,0 +1,338 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 32231641344
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"context_embedder.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 7 |
+
"double_stream_modulation_img.linear.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 8 |
+
"double_stream_modulation_txt.linear.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 9 |
+
"norm_out.linear.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 10 |
+
"proj_out.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 11 |
+
"single_stream_modulation.linear.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 12 |
+
"single_transformer_blocks.0.attn.norm_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 13 |
+
"single_transformer_blocks.0.attn.norm_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 14 |
+
"single_transformer_blocks.0.attn.to_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 15 |
+
"single_transformer_blocks.0.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 16 |
+
"single_transformer_blocks.1.attn.norm_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 17 |
+
"single_transformer_blocks.1.attn.norm_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 18 |
+
"single_transformer_blocks.1.attn.to_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 19 |
+
"single_transformer_blocks.1.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 20 |
+
"single_transformer_blocks.10.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 21 |
+
"single_transformer_blocks.10.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 22 |
+
"single_transformer_blocks.10.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 23 |
+
"single_transformer_blocks.10.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 24 |
+
"single_transformer_blocks.11.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 25 |
+
"single_transformer_blocks.11.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 26 |
+
"single_transformer_blocks.11.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 27 |
+
"single_transformer_blocks.11.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 28 |
+
"single_transformer_blocks.12.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 29 |
+
"single_transformer_blocks.12.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 30 |
+
"single_transformer_blocks.12.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 31 |
+
"single_transformer_blocks.12.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 32 |
+
"single_transformer_blocks.13.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 33 |
+
"single_transformer_blocks.13.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 34 |
+
"single_transformer_blocks.13.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 35 |
+
"single_transformer_blocks.13.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 36 |
+
"single_transformer_blocks.14.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 37 |
+
"single_transformer_blocks.14.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 38 |
+
"single_transformer_blocks.14.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 39 |
+
"single_transformer_blocks.14.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 40 |
+
"single_transformer_blocks.15.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 41 |
+
"single_transformer_blocks.15.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 42 |
+
"single_transformer_blocks.15.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 43 |
+
"single_transformer_blocks.15.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 44 |
+
"single_transformer_blocks.16.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 45 |
+
"single_transformer_blocks.16.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 46 |
+
"single_transformer_blocks.16.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 47 |
+
"single_transformer_blocks.16.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 48 |
+
"single_transformer_blocks.17.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 49 |
+
"single_transformer_blocks.17.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 50 |
+
"single_transformer_blocks.17.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 51 |
+
"single_transformer_blocks.17.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 52 |
+
"single_transformer_blocks.18.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 53 |
+
"single_transformer_blocks.18.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 54 |
+
"single_transformer_blocks.18.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 55 |
+
"single_transformer_blocks.18.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 56 |
+
"single_transformer_blocks.19.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 57 |
+
"single_transformer_blocks.19.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 58 |
+
"single_transformer_blocks.19.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 59 |
+
"single_transformer_blocks.19.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 60 |
+
"single_transformer_blocks.2.attn.norm_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 61 |
+
"single_transformer_blocks.2.attn.norm_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 62 |
+
"single_transformer_blocks.2.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 63 |
+
"single_transformer_blocks.2.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 64 |
+
"single_transformer_blocks.20.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 65 |
+
"single_transformer_blocks.20.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 66 |
+
"single_transformer_blocks.20.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 67 |
+
"single_transformer_blocks.20.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 68 |
+
"single_transformer_blocks.21.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 69 |
+
"single_transformer_blocks.21.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 70 |
+
"single_transformer_blocks.21.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 71 |
+
"single_transformer_blocks.21.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 72 |
+
"single_transformer_blocks.22.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 73 |
+
"single_transformer_blocks.22.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 74 |
+
"single_transformer_blocks.22.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 75 |
+
"single_transformer_blocks.22.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 76 |
+
"single_transformer_blocks.23.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 77 |
+
"single_transformer_blocks.23.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 78 |
+
"single_transformer_blocks.23.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 79 |
+
"single_transformer_blocks.23.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 80 |
+
"single_transformer_blocks.24.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 81 |
+
"single_transformer_blocks.24.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 82 |
+
"single_transformer_blocks.24.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 83 |
+
"single_transformer_blocks.24.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 84 |
+
"single_transformer_blocks.25.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 85 |
+
"single_transformer_blocks.25.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 86 |
+
"single_transformer_blocks.25.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 87 |
+
"single_transformer_blocks.25.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 88 |
+
"single_transformer_blocks.26.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 89 |
+
"single_transformer_blocks.26.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 90 |
+
"single_transformer_blocks.26.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 91 |
+
"single_transformer_blocks.26.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 92 |
+
"single_transformer_blocks.27.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 93 |
+
"single_transformer_blocks.27.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 94 |
+
"single_transformer_blocks.27.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 95 |
+
"single_transformer_blocks.27.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 96 |
+
"single_transformer_blocks.28.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 97 |
+
"single_transformer_blocks.28.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 98 |
+
"single_transformer_blocks.28.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 99 |
+
"single_transformer_blocks.28.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 100 |
+
"single_transformer_blocks.29.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 101 |
+
"single_transformer_blocks.29.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 102 |
+
"single_transformer_blocks.29.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 103 |
+
"single_transformer_blocks.29.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 104 |
+
"single_transformer_blocks.3.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 105 |
+
"single_transformer_blocks.3.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 106 |
+
"single_transformer_blocks.3.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 107 |
+
"single_transformer_blocks.3.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 108 |
+
"single_transformer_blocks.30.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 109 |
+
"single_transformer_blocks.30.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 110 |
+
"single_transformer_blocks.30.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 111 |
+
"single_transformer_blocks.30.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 112 |
+
"single_transformer_blocks.31.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 113 |
+
"single_transformer_blocks.31.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 114 |
+
"single_transformer_blocks.31.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 115 |
+
"single_transformer_blocks.31.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 116 |
+
"single_transformer_blocks.32.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 117 |
+
"single_transformer_blocks.32.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 118 |
+
"single_transformer_blocks.32.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 119 |
+
"single_transformer_blocks.32.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 120 |
+
"single_transformer_blocks.33.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 121 |
+
"single_transformer_blocks.33.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 122 |
+
"single_transformer_blocks.33.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 123 |
+
"single_transformer_blocks.33.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 124 |
+
"single_transformer_blocks.34.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 125 |
+
"single_transformer_blocks.34.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 126 |
+
"single_transformer_blocks.34.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 127 |
+
"single_transformer_blocks.34.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 128 |
+
"single_transformer_blocks.35.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 129 |
+
"single_transformer_blocks.35.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 130 |
+
"single_transformer_blocks.35.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 131 |
+
"single_transformer_blocks.35.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 132 |
+
"single_transformer_blocks.36.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 133 |
+
"single_transformer_blocks.36.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 134 |
+
"single_transformer_blocks.36.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 135 |
+
"single_transformer_blocks.36.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 136 |
+
"single_transformer_blocks.37.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 137 |
+
"single_transformer_blocks.37.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 138 |
+
"single_transformer_blocks.37.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 139 |
+
"single_transformer_blocks.37.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 140 |
+
"single_transformer_blocks.38.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 141 |
+
"single_transformer_blocks.38.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 142 |
+
"single_transformer_blocks.38.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 143 |
+
"single_transformer_blocks.38.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 144 |
+
"single_transformer_blocks.39.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 145 |
+
"single_transformer_blocks.39.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 146 |
+
"single_transformer_blocks.39.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 147 |
+
"single_transformer_blocks.39.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 148 |
+
"single_transformer_blocks.4.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 149 |
+
"single_transformer_blocks.4.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 150 |
+
"single_transformer_blocks.4.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 151 |
+
"single_transformer_blocks.4.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 152 |
+
"single_transformer_blocks.40.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 153 |
+
"single_transformer_blocks.40.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 154 |
+
"single_transformer_blocks.40.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 155 |
+
"single_transformer_blocks.40.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 156 |
+
"single_transformer_blocks.41.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 157 |
+
"single_transformer_blocks.41.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 158 |
+
"single_transformer_blocks.41.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 159 |
+
"single_transformer_blocks.41.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 160 |
+
"single_transformer_blocks.42.attn.norm_k.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 161 |
+
"single_transformer_blocks.42.attn.norm_q.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 162 |
+
"single_transformer_blocks.42.attn.to_out.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 163 |
+
"single_transformer_blocks.42.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00003-of-00004.bin",
|
| 164 |
+
"single_transformer_blocks.43.attn.norm_k.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 165 |
+
"single_transformer_blocks.43.attn.norm_q.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 166 |
+
"single_transformer_blocks.43.attn.to_out.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 167 |
+
"single_transformer_blocks.43.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 168 |
+
"single_transformer_blocks.44.attn.norm_k.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 169 |
+
"single_transformer_blocks.44.attn.norm_q.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 170 |
+
"single_transformer_blocks.44.attn.to_out.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 171 |
+
"single_transformer_blocks.44.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 172 |
+
"single_transformer_blocks.45.attn.norm_k.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 173 |
+
"single_transformer_blocks.45.attn.norm_q.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 174 |
+
"single_transformer_blocks.45.attn.to_out.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 175 |
+
"single_transformer_blocks.45.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 176 |
+
"single_transformer_blocks.46.attn.norm_k.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 177 |
+
"single_transformer_blocks.46.attn.norm_q.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 178 |
+
"single_transformer_blocks.46.attn.to_out.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 179 |
+
"single_transformer_blocks.46.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 180 |
+
"single_transformer_blocks.47.attn.norm_k.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 181 |
+
"single_transformer_blocks.47.attn.norm_q.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 182 |
+
"single_transformer_blocks.47.attn.to_out.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 183 |
+
"single_transformer_blocks.47.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00004-of-00004.bin",
|
| 184 |
+
"single_transformer_blocks.5.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 185 |
+
"single_transformer_blocks.5.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 186 |
+
"single_transformer_blocks.5.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 187 |
+
"single_transformer_blocks.5.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 188 |
+
"single_transformer_blocks.6.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 189 |
+
"single_transformer_blocks.6.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 190 |
+
"single_transformer_blocks.6.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 191 |
+
"single_transformer_blocks.6.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 192 |
+
"single_transformer_blocks.7.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 193 |
+
"single_transformer_blocks.7.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 194 |
+
"single_transformer_blocks.7.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 195 |
+
"single_transformer_blocks.7.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 196 |
+
"single_transformer_blocks.8.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 197 |
+
"single_transformer_blocks.8.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 198 |
+
"single_transformer_blocks.8.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 199 |
+
"single_transformer_blocks.8.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 200 |
+
"single_transformer_blocks.9.attn.norm_k.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 201 |
+
"single_transformer_blocks.9.attn.norm_q.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 202 |
+
"single_transformer_blocks.9.attn.to_out.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 203 |
+
"single_transformer_blocks.9.attn.to_qkv_mlp_proj.weight": "diffusion_pytorch_model-00002-of-00004.bin",
|
| 204 |
+
"time_guidance_embed.guidance_embedder.linear_1.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 205 |
+
"time_guidance_embed.guidance_embedder.linear_2.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 206 |
+
"time_guidance_embed.timestep_embedder.linear_1.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 207 |
+
"time_guidance_embed.timestep_embedder.linear_2.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 208 |
+
"transformer_blocks.0.attn.add_k_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 209 |
+
"transformer_blocks.0.attn.add_q_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 210 |
+
"transformer_blocks.0.attn.add_v_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 211 |
+
"transformer_blocks.0.attn.norm_added_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 212 |
+
"transformer_blocks.0.attn.norm_added_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 213 |
+
"transformer_blocks.0.attn.norm_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 214 |
+
"transformer_blocks.0.attn.norm_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 215 |
+
"transformer_blocks.0.attn.to_add_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 216 |
+
"transformer_blocks.0.attn.to_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 217 |
+
"transformer_blocks.0.attn.to_out.0.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 218 |
+
"transformer_blocks.0.attn.to_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 219 |
+
"transformer_blocks.0.attn.to_v.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 220 |
+
"transformer_blocks.0.ff.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 221 |
+
"transformer_blocks.0.ff.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 222 |
+
"transformer_blocks.0.ff_context.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 223 |
+
"transformer_blocks.0.ff_context.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 224 |
+
"transformer_blocks.1.attn.add_k_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 225 |
+
"transformer_blocks.1.attn.add_q_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 226 |
+
"transformer_blocks.1.attn.add_v_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 227 |
+
"transformer_blocks.1.attn.norm_added_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 228 |
+
"transformer_blocks.1.attn.norm_added_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 229 |
+
"transformer_blocks.1.attn.norm_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 230 |
+
"transformer_blocks.1.attn.norm_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 231 |
+
"transformer_blocks.1.attn.to_add_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 232 |
+
"transformer_blocks.1.attn.to_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 233 |
+
"transformer_blocks.1.attn.to_out.0.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 234 |
+
"transformer_blocks.1.attn.to_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 235 |
+
"transformer_blocks.1.attn.to_v.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 236 |
+
"transformer_blocks.1.ff.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 237 |
+
"transformer_blocks.1.ff.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 238 |
+
"transformer_blocks.1.ff_context.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 239 |
+
"transformer_blocks.1.ff_context.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 240 |
+
"transformer_blocks.2.attn.add_k_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 241 |
+
"transformer_blocks.2.attn.add_q_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 242 |
+
"transformer_blocks.2.attn.add_v_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 243 |
+
"transformer_blocks.2.attn.norm_added_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 244 |
+
"transformer_blocks.2.attn.norm_added_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 245 |
+
"transformer_blocks.2.attn.norm_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 246 |
+
"transformer_blocks.2.attn.norm_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 247 |
+
"transformer_blocks.2.attn.to_add_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 248 |
+
"transformer_blocks.2.attn.to_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 249 |
+
"transformer_blocks.2.attn.to_out.0.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 250 |
+
"transformer_blocks.2.attn.to_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 251 |
+
"transformer_blocks.2.attn.to_v.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 252 |
+
"transformer_blocks.2.ff.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 253 |
+
"transformer_blocks.2.ff.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 254 |
+
"transformer_blocks.2.ff_context.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 255 |
+
"transformer_blocks.2.ff_context.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 256 |
+
"transformer_blocks.3.attn.add_k_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 257 |
+
"transformer_blocks.3.attn.add_q_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 258 |
+
"transformer_blocks.3.attn.add_v_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 259 |
+
"transformer_blocks.3.attn.norm_added_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 260 |
+
"transformer_blocks.3.attn.norm_added_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 261 |
+
"transformer_blocks.3.attn.norm_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 262 |
+
"transformer_blocks.3.attn.norm_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 263 |
+
"transformer_blocks.3.attn.to_add_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 264 |
+
"transformer_blocks.3.attn.to_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 265 |
+
"transformer_blocks.3.attn.to_out.0.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 266 |
+
"transformer_blocks.3.attn.to_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 267 |
+
"transformer_blocks.3.attn.to_v.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 268 |
+
"transformer_blocks.3.ff.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 269 |
+
"transformer_blocks.3.ff.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 270 |
+
"transformer_blocks.3.ff_context.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 271 |
+
"transformer_blocks.3.ff_context.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 272 |
+
"transformer_blocks.4.attn.add_k_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 273 |
+
"transformer_blocks.4.attn.add_q_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 274 |
+
"transformer_blocks.4.attn.add_v_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 275 |
+
"transformer_blocks.4.attn.norm_added_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 276 |
+
"transformer_blocks.4.attn.norm_added_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 277 |
+
"transformer_blocks.4.attn.norm_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 278 |
+
"transformer_blocks.4.attn.norm_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 279 |
+
"transformer_blocks.4.attn.to_add_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 280 |
+
"transformer_blocks.4.attn.to_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 281 |
+
"transformer_blocks.4.attn.to_out.0.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 282 |
+
"transformer_blocks.4.attn.to_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 283 |
+
"transformer_blocks.4.attn.to_v.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 284 |
+
"transformer_blocks.4.ff.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 285 |
+
"transformer_blocks.4.ff.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 286 |
+
"transformer_blocks.4.ff_context.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 287 |
+
"transformer_blocks.4.ff_context.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 288 |
+
"transformer_blocks.5.attn.add_k_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 289 |
+
"transformer_blocks.5.attn.add_q_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 290 |
+
"transformer_blocks.5.attn.add_v_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 291 |
+
"transformer_blocks.5.attn.norm_added_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 292 |
+
"transformer_blocks.5.attn.norm_added_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 293 |
+
"transformer_blocks.5.attn.norm_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 294 |
+
"transformer_blocks.5.attn.norm_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 295 |
+
"transformer_blocks.5.attn.to_add_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 296 |
+
"transformer_blocks.5.attn.to_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 297 |
+
"transformer_blocks.5.attn.to_out.0.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 298 |
+
"transformer_blocks.5.attn.to_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 299 |
+
"transformer_blocks.5.attn.to_v.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 300 |
+
"transformer_blocks.5.ff.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 301 |
+
"transformer_blocks.5.ff.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 302 |
+
"transformer_blocks.5.ff_context.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 303 |
+
"transformer_blocks.5.ff_context.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 304 |
+
"transformer_blocks.6.attn.add_k_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 305 |
+
"transformer_blocks.6.attn.add_q_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 306 |
+
"transformer_blocks.6.attn.add_v_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 307 |
+
"transformer_blocks.6.attn.norm_added_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 308 |
+
"transformer_blocks.6.attn.norm_added_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 309 |
+
"transformer_blocks.6.attn.norm_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 310 |
+
"transformer_blocks.6.attn.norm_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 311 |
+
"transformer_blocks.6.attn.to_add_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 312 |
+
"transformer_blocks.6.attn.to_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 313 |
+
"transformer_blocks.6.attn.to_out.0.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 314 |
+
"transformer_blocks.6.attn.to_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 315 |
+
"transformer_blocks.6.attn.to_v.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 316 |
+
"transformer_blocks.6.ff.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 317 |
+
"transformer_blocks.6.ff.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 318 |
+
"transformer_blocks.6.ff_context.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 319 |
+
"transformer_blocks.6.ff_context.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 320 |
+
"transformer_blocks.7.attn.add_k_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 321 |
+
"transformer_blocks.7.attn.add_q_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 322 |
+
"transformer_blocks.7.attn.add_v_proj.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 323 |
+
"transformer_blocks.7.attn.norm_added_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 324 |
+
"transformer_blocks.7.attn.norm_added_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 325 |
+
"transformer_blocks.7.attn.norm_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 326 |
+
"transformer_blocks.7.attn.norm_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 327 |
+
"transformer_blocks.7.attn.to_add_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 328 |
+
"transformer_blocks.7.attn.to_k.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 329 |
+
"transformer_blocks.7.attn.to_out.0.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 330 |
+
"transformer_blocks.7.attn.to_q.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 331 |
+
"transformer_blocks.7.attn.to_v.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 332 |
+
"transformer_blocks.7.ff.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 333 |
+
"transformer_blocks.7.ff.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 334 |
+
"transformer_blocks.7.ff_context.linear_in.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 335 |
+
"transformer_blocks.7.ff_context.linear_out.weight": "diffusion_pytorch_model-00001-of-00004.bin",
|
| 336 |
+
"x_embedder.weight": "diffusion_pytorch_model-00001-of-00004.bin"
|
| 337 |
+
}
|
| 338 |
+
}
|
upload_hf.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from huggingface_hub import HfApi
|
| 2 |
+
|
| 3 |
+
repo_id = "AmdGoose/FLUX.2-dev-transformer-int8wo"
|
| 4 |
+
|
| 5 |
+
api = HfApi()
|
| 6 |
+
api.create_repo(repo_id=repo_id, repo_type="model", exist_ok=True)
|
| 7 |
+
|
| 8 |
+
api.upload_folder(
|
| 9 |
+
repo_id=repo_id,
|
| 10 |
+
folder_path=".",
|
| 11 |
+
commit_message="Add INT8 weight-only quantized transformer for FLUX.2-dev",
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
+
print("Upload complete:", repo_id)
|