Run this model with HF Jobs
Run lodestones/Kromoss on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/lodestones/Kromoss. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/lodestones/Kromoss on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use lodestones/Kromoss with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lodestones/Kromoss with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lodestones/Kromoss", 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
experimental/: cfg-static LoRA at 8000 (Parti 27.86 / 27.65); static added to plots + README
Browse filesFiles changed (4)
17 unmodified lines1819202122232 unmodified lines26272829303111 unmodified lines43444546474831 unmodified lines808182838485868788899091929394959617 unmodified lines| `cfg-ramp-neg_16000` | same as `cfg-ramp-neg_12000` | same as `cfg-ramp` || `cfg-ramp-neg_20000` | same as `cfg-ramp-neg_12000` | same as `cfg-ramp` || `cfg-ramp_8000` ... `_20000` | ramp 3 -> 2, empty negative (= `cfg-ramp`) | same as `cfg-ramp` |The `cfg-ramp-neg_*` LoRAs are DMD only (no DMD2): the `cfg-ramp` recipe with the teacher's negative branchset to `blurry, jpeg artifacts` instead of the empty prompt, trained longer (updates 12000, 16000 and 20000 of2 unmodified lines`cfg-ramp_8000`, `_12000`, `_16000` and `_20000` are the A/B control for it: the `cfg-ramp` run itself (emptynegative) continued from update 4000 to 20000, with the same resume points (4000, 8000) as the negative-prompt run.## PartiPrompts (100 prompts, CLIP ViT-L/14, LoRA applied to OPD-priming, CFG 1)| LoRA | 4 steps | 8 steps |11 unmodified lines| `8-steps-dmd-lora_cfg-ramp_12000` | 28.13 | 27.82 || `8-steps-dmd-lora_cfg-ramp_16000` | 27.88 | **28.14** || `8-steps-dmd-lora_cfg-ramp_20000` | 28.01 | 28.11 |`8-steps-dmd-lora_cfg-ramp_16000` and `_20000` have the best 8-step CLIP (28.14 / 28.11, just above`cfg-ramp-neg_12000` at 28.02; head to head `_16000` wins 48 of 100 prompts against it, so a tie), and the longer-trained LoRAs (`cfg-ramp-neg_*`, `cfg-ramp_*`)31 unmodified lines| 16000 | 26.41 | 26.38 | 26.03 | 25.43 | 27.88 | **28.14** || 20000 | 26.44 | 26.31 | 26.09 | 25.70 | 28.01 | 28.11 |The data-space sampler does not improve with training and gets worse with more iterations; it often producesmulti-panel collages. From update 8000 on, the LoRA with Euler wins on CLIP by about 1 to 1.5 points, beatingthe data-space sample on 58 to 67 of the 100 prompts at the same step count. That is why only the LoRAs are released.### Training curves (cfg-ramp-neg up to ~20700, cfg-ramp control to 20000)EMA 0.98 lines, raw values faint. Each update is 24 captions (6 GPUs x grad accum 4). The fake score trainsevery update; the generator trains every 4th update (`fake_ratio` 4), so update 12000 is about 3000 generatorsteps, 16000 about 4000 and 20000 about 5000. `|Q|` is the norm of the x0 input mix used by the data-space sampler; it is notpart of the released LoRAs.17 unmodified lines181920212223242 unmodified lines27282930313233343511 unmodified lines4748495051525331 unmodified lines85868788899091929394959697989910010110210310410510610710810917 unmodified lines| `cfg-ramp-neg_16000` | same as `cfg-ramp-neg_12000` | same as `cfg-ramp` || `cfg-ramp-neg_20000` | same as `cfg-ramp-neg_12000` | same as `cfg-ramp` || `cfg-ramp_8000` ... `_20000` | ramp 3 -> 2, empty negative (= `cfg-ramp`) | same as `cfg-ramp` || `cfg-static_8000` | 3 at every noise level (= `cfg-static`) | same as `cfg-ramp` |The `cfg-ramp-neg_*` LoRAs are DMD only (no DMD2): the `cfg-ramp` recipe with the teacher's negative branchset to `blurry, jpeg artifacts` instead of the empty prompt, trained longer (updates 12000, 16000 and 20000 of2 unmodified lines`cfg-ramp_8000`, `_12000`, `_16000` and `_20000` are the A/B control for it: the `cfg-ramp` run itself (emptynegative) continued from update 4000 to 20000, with the same resume points (4000, 8000) as the negative-prompt run.`cfg-static_8000` is the `cfg-static` run continued the same way (4000 -> 8000 -> 20000, same resume points);it is still training.## PartiPrompts (100 prompts, CLIP ViT-L/14, LoRA applied to OPD-priming, CFG 1)| LoRA | 4 steps | 8 steps |11 unmodified lines| `8-steps-dmd-lora_cfg-ramp_12000` | 28.13 | 27.82 || `8-steps-dmd-lora_cfg-ramp_16000` | 27.88 | **28.14** || `8-steps-dmd-lora_cfg-ramp_20000` | 28.01 | 28.11 || `8-steps-dmd-lora_cfg-static_8000` | 27.86 | 27.65 |`8-steps-dmd-lora_cfg-ramp_16000` and `_20000` have the best 8-step CLIP (28.14 / 28.11, just above`cfg-ramp-neg_12000` at 28.02; head to head `_16000` wins 48 of 100 prompts against it, so a tie), and the longer-trained LoRAs (`cfg-ramp-neg_*`, `cfg-ramp_*`)31 unmodified lines| 16000 | 26.41 | 26.38 | 26.03 | 25.43 | 27.88 | **28.14** || 20000 | 26.44 | 26.31 | 26.09 | 25.70 | 28.01 | 28.11 |Static CFG 3 (`cfg-static`), same layout:| Update | data-space 1 | 2 | 4 | 8 NFE | LoRA (Euler) 4 | 8 steps || --- | --- | --- | --- | --- | --- | --- || 4000 | 27.73 | **28.07** | **27.73** | **27.07** | 27.28 | 27.44 || 8000 | 27.46 | 27.48 | 27.16 | 26.74 | **27.86** | **27.65** |The data-space sampler does not improve with training and gets worse with more iterations; it often producesmulti-panel collages. From update 8000 on, the LoRA with Euler wins on CLIP by about 1 to 1.5 points, beatingthe data-space sample on 58 to 67 of the 100 prompts at the same step count. That is why only the LoRAs are released.### Training curves (cfg-ramp-neg up to ~20700, cfg-ramp control to 20000, cfg-static up to ~9900)EMA 0.98 lines, raw values faint. Each update is 24 captions (6 GPUs x grad accum 4). The fake score trainsevery update; the generator trains every 4th update (`fake_ratio` 4), so update 12000 is about 3000 generatorsteps, 16000 about 4000 and 20000 about 5000. `|Q|` is the norm of the x0 input mix used by the data-space sampler; it is notpart of the released LoRAs. `cfg-static` has a larger DMD direction RMS throughout: its teacher keeps CFG 3 athigh noise, where the ramp drops to 2.
123version https://git-lfs.github.com/spec/v1oid sha256:aff2d23e7f879fe6cdf40188f30a853d739d01eafdb7e06179d548946db1d422size 1189176800experimental/README.md+15-2
experimental/cfg-ramp-neg_clip.png

Large File Pointer Details
- SHA256: 2b3cc41600401d4027d370e8c60bad2d75a7b476d809d863d3d3acf40ac003c1
- Pointer size: 131 Bytes
- Size of remote file: 205 kB

Large File Pointer Details
- SHA256: 74fcf6cdcd91aa364dbcf3268ab79a85442b45cbee612d7cf0e1b88297110715
- Pointer size: 131 Bytes
- Size of remote file: 230 kB
experimental/cfg-ramp-neg_losses.png

Large File Pointer Details
- SHA256: 695a1bdc72d25059dea14779a171557ba3306691ab905ba582a2f024a321f227
- Pointer size: 131 Bytes
- Size of remote file: 561 kB

Large File Pointer Details
- SHA256: 5013e62306b85b2716c9edb53f6333e4495fde428c8ae232f03371b7030e717e
- Pointer size: 131 Bytes
- Size of remote file: 651 kB
experimental/opd-priming-8-steps-dmd-lora_cfg-static_8000.safetensorsAdded+3