kruatech commited on
Commit
6dcc658
·
verified ·
1 Parent(s): 529e7ec

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +7 -6
README.md CHANGED
@@ -65,12 +65,13 @@ The `-q4` folders sit at the top level rather than inside the bf16 ones, so an i
65
 
66
  **Use the 4-bit folders.** Quantization is MLX affine: 4 bits per weight with a bf16 scale and bias for every group of 64, about 4.5 bits per weight and 28-30% of the bf16 size. Normalizations, modulations and the encoder's embedding table stay in bf16, and matrix multiplication still runs in bf16 - the gain is memory and load time, not integer arithmetic.
67
 
68
- | | bf16 | 4-bit |
69
- |-----------------------------------|-----------|----------|
70
- | Z-Image DiT | 11.46 GiB | 3.40 GiB |
71
- | klein DiT | 7.22 GiB | 2.03 GiB |
72
- | shared encoder | 7.51 GiB | 2.58 GiB |
73
- | klein 512 px, 4 steps, wall clock | 170 s | 73 s |
 
74
 
75
  Output quality was indistinguishable: the same prompt and seed gave two clean images that differ the way two seeds differ. The bf16 folders exist as the accuracy reference a port can be checked against.
76
 
 
65
 
66
  **Use the 4-bit folders.** Quantization is MLX affine: 4 bits per weight with a bf16 scale and bias for every group of 64, about 4.5 bits per weight and 28-30% of the bf16 size. Normalizations, modulations and the encoder's embedding table stay in bf16, and matrix multiplication still runs in bf16 - the gain is memory and load time, not integer arithmetic.
67
 
68
+ | | bf16 | 4-bit |
69
+ |------------------------------------|-----------|----------|
70
+ | Z-Image DiT | 11.46 GiB | 3.40 GiB |
71
+ | klein DiT | 7.22 GiB | 2.03 GiB |
72
+ | shared encoder | 7.51 GiB | 2.58 GiB |
73
+ | klein 1024 px, 4 steps, wall clock | 170 s | 73 s |
74
+ | of which the 4 steps themselves | 35 s | 32 s |
75
 
76
  Output quality was indistinguishable: the same prompt and seed gave two clean images that differ the way two seeds differ. The bf16 folders exist as the accuracy reference a port can be checked against.
77