Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: openrail++
|
3 |
+
base_model:
|
4 |
+
- cagliostrolab/animagine-xl-4.0
|
5 |
+
base_model_relation: quantized
|
6 |
+
---
|
7 |
+
|
8 |
+
## Quantization settings
|
9 |
+
|
10 |
+
- `vae` (`first_stage_model`): `torch.float16`. No quantization.
|
11 |
+
- `text_encoder`, `text_encoder_2` (`conditioner.embedders`):
|
12 |
+
- NF4 with [bitsandbytes](https://github.com/bitsandbytes-foundation/bitsandbytes)
|
13 |
+
- Target layers:`["self_attn", ".mlp."]`
|
14 |
+
- `diffusion_model`:
|
15 |
+
- Int8 with [bitsandbytes](https://github.com/bitsandbytes-foundation/bitsandbytes)
|
16 |
+
- Target layers: `["attn1", "attn2", ".ff."]`
|