Instructions to use data-archetype/moss_pht with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use data-archetype/moss_pht with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("data-archetype/moss_pht", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Model card: optimizer routing
Browse files
README.md
CHANGED
|
@@ -104,11 +104,11 @@ sharpens the output distribution and stabilises generations.
|
|
| 104 |
| Resolution | About 1 megapixel, aspect-ratio buckets |
|
| 105 |
| Text | Prompts up to 2,304 tokens; 10% of captions dropped to the empty prompt |
|
| 106 |
| Objective | The base's flow-matching objective; noise levels from a truncated logit-normal (μ 1.09, σ 0.95, truncated at 0.95), plus 1% uniform and 1% pure noise |
|
| 107 |
-
| Optimizer | [dionw](https://github.com/JTriggerFish/dionw): Dion (row-selected NorMuon) on weight matrices
|
| 108 |
| Learning rate | 9e-6, AdamW-equivalent for every parameter |
|
| 109 |
| Schedule | 200-step linear warmup, constant to step 10,500, then a 2,000-step 1 − √ cooldown to 0 |
|
| 110 |
| Dion matrices | 25% of each block's rows updated per step (blocks with both sides ≥ 1024), Gram Newton–Schulz, heavy-ball momentum 0.95, NorMuon row normalization β₂ 0.975 |
|
| 111 |
-
| AdamW parameters | β = (0.9, 0.975), ε 1e-8
|
| 112 |
| Weight decay | 0.01 on Dion matrices, none on AdamW parameters |
|
| 113 |
| Gradient clipping | Global norm 1.0 |
|
| 114 |
| Released weights | EMA of the weights (decay 0.999, fp32, updated every step) at step 12,500, stored in bfloat16 (`rope.bands` in float32, as in the base release) |
|
|
|
|
| 104 |
| Resolution | About 1 megapixel, aspect-ratio buckets |
|
| 105 |
| Text | Prompts up to 2,304 tokens; 10% of captions dropped to the empty prompt |
|
| 106 |
| Objective | The base's flow-matching objective; noise levels from a truncated logit-normal (μ 1.09, σ 0.95, truncated at 0.95), plus 1% uniform and 1% pure noise |
|
| 107 |
+
| Optimizer | [dionw](https://github.com/JTriggerFish/dionw): Dion (row-selected NorMuon) on the attention and MLP weight matrices (image blocks and the text embedder's blocks); AdamW on the input embeddings (latent, text and timestep), the AdaLN modulation projections, the output head, norms and biases |
|
| 108 |
| Learning rate | 9e-6, AdamW-equivalent for every parameter |
|
| 109 |
| Schedule | 200-step linear warmup, constant to step 10,500, then a 2,000-step 1 − √ cooldown to 0 |
|
| 110 |
| Dion matrices | 25% of each block's rows updated per step (blocks with both sides ≥ 1024), Gram Newton–Schulz, heavy-ball momentum 0.95, NorMuon row normalization β₂ 0.975 |
|
| 111 |
+
| AdamW parameters | β = (0.9, 0.975), ε 1e-8 |
|
| 112 |
| Weight decay | 0.01 on Dion matrices, none on AdamW parameters |
|
| 113 |
| Gradient clipping | Global norm 1.0 |
|
| 114 |
| Released weights | EMA of the weights (decay 0.999, fp32, updated every step) at step 12,500, stored in bfloat16 (`rope.bands` in float32, as in the base release) |
|