When using DareMerge to merge Stable Diffusion models (like SDXL checkpoints), the magnitude mask threshold is a parameter used in certain merging strategies—especially those that involve pruning or filtering weights based on their magnitude.
🔍 What It Does:
- The magnitude mask threshold determines which weights are considered "important" during the merge.
- Weights with absolute values below this threshold may be ignored or zeroed out, effectively simplifying the merge and focusing on dominant weights.
✅ Recommended Magnitude Mask Threshold for SDXL
| Use Case | Suggested Threshold |
|---|
| Default / Balanced Merge | 0.0001 – 0.0005 |
| Aggressive Pruning (simpler model) | 0.001 – 0.002 |
| Minimal Pruning (keep most weights) | 0.00001 – 0.0001 |
🧪 How to Choose:
- Start with
0.0001 if you're unsure. This keeps most of the model intact and avoids accidental loss of quality.
- If your merged model becomes too large or noisy, try increasing the threshold (e.g.,
0.0005) to exclude less important weights.
- If you're merging very similar models (e.g., two photorealistic SDXL models), you can afford to use a higher threshold without losing much quality.
- If merging stylistically different models (e.g., anime + realism), use a lower threshold to preserve more nuanced features.
⚙️ Where to Set It
In DareMerge, look under advanced merge options or settings related to magnitude masking, pruning, or selective merging.
💡 Pro Tip:
Always test the merged model with a few prompts after changing this value. If outputs become blurry or lose detail, reduce the threshold.
Let me know what models you're merging and what style/results you're aiming for—I can give you a more tailored suggestion!