Instructions to use ApacheOne/SD15_no_vae_dwd_trained with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ApacheOne/SD15_no_vae_dwd_trained with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ApacheOne/SD15_no_vae_dwd_trained", 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
|
Download README.md from ApacheOne/SD15_no_vae_dwd_trained: direct link, hf CLI and curl.
- Browser
- Download file 5.83 kB
-
https://huggingface.co/ApacheOne/SD15_no_vae_dwd_trained/resolve/main/README.md
- Command line
-
hf download hf://ApacheOne/SD15_no_vae_dwd_trained/README.md
-
curl -L -o README.md https://huggingface.co/ApacheOne/SD15_no_vae_dwd_trained/resolve/main/README.md
5.83 kB
| license: creativeml-openrail-m | |
| base_model: Lykon/dreamshaper-8-lcm | |
| pipeline_tag: text-to-image | |
| tags: | |
| - stable-diffusion | |
| - lcm | |
| - dwd | |
| # SD15 no-VAE DWD | |
| DreamShaper 8 LCM adapted for direct pixel prediction with DWD. The final LCM | |
| evaluation predicts Oklab pixel patches and converts them to RGB. The export | |
| contains the U-Net, trained EMA tail and pixel head, CLIP text encoder, tokenizer, | |
| and LCM scheduler. Text-to-image inference runs without a VAE. | |
| | Setting | Value | | |
| | --- | --- | | |
| | Training updates | 10,000 | | |
| | Gallery resolution | 512Γ512 | | |
| | LCM evaluations | 8 | | |
| | Gallery CFG | 2 | | |
| ## Run inference | |
| With PyTorch and torchvision installed, run the commands below. For a private | |
| repo, sign in first with `hf auth login`. | |
| ```bash | |
| pip install diffusers==0.35.2 transformers==4.57.6 accelerate==1.11.0 | |
| hf download ApacheOne/SD15_no_vae_dwd_trained dreamshaper_dwd.py dwd_inference.pt --local-dir ./sd15_dwd | |
| python ./sd15_dwd/dreamshaper_dwd.py infer --checkpoint ./sd15_dwd/dwd_inference.pt --prompt "An old stone lighthouse by a stormy sea" --guidance 2 --seed 42 --output lighthouse.png | |
| ``` | |
| The first inference run fetches the model components from this repo. | |
| ## Example images | |
| ### Storm lighthouse | |
|  | |
| **Prompt** β A real-life photo of an old stone lighthouse by a stormy sea, crashing waves, dark blue clouds | |
| **Seed** β `42` | |
| ### Cat by the window | |
|  | |
| **Prompt** β A realistic photo of a ginger cat on a wooden windowsill, raindrops on the glass, soft gray daylight | |
| **Seed** β `43` | |
| ### Desert observatory | |
|  | |
| **Prompt** β A wide landscape photograph of a white astronomical observatory in a red desert, distant mountains, golden hour | |
| **Seed** β `44` | |
| ### Mountain climber | |
|  | |
| **Prompt** β An outdoor action photograph of a rock climber on a granite wall, a red jacket, dramatic morning sunlight | |
| **Seed** β `45` | |
| ### Tea and ceramics | |
|  | |
| **Prompt** β A still life photograph of a handmade blue ceramic teapot and two cups, oak table, gentle window light | |
| **Seed** β `46` | |
| ### Greenhouse on Mars | |
|  | |
| **Prompt** β A cinematic concept painting of an astronaut tending a lush greenhouse on Mars, red dunes beyond the glass | |
| **Seed** β `47` | |
| ### Night market | |
|  | |
| **Prompt** β A documentary street photograph of a busy night market in the rain, warm food stalls, neon reflections on wet pavement | |
| **Seed** β `48` | |
| ### Jewel beetle | |
|  | |
| **Prompt** β A macro photograph of an iridescent green jewel beetle on a leaf, tiny water droplets, sharp insect details | |
| **Seed** β `49` | |
| ### Forest in watercolor | |
|  | |
| **Prompt** β A delicate watercolor illustration of mushrooms and ferns on a forest floor, muted colors, textured paper | |
| **Seed** β `50` | |
| ### Art nouveau garden | |
|  | |
| **Prompt** β An art nouveau illustration of white lilies, dragonflies, and flowing gold curves on a dark teal background | |
| **Seed** β `51` | |
| ### Pixel village | |
|  | |
| **Prompt** β A 16-bit pixel art scene of a snowy mountain village, warm windows, fir trees, purple evening sky | |
| **Seed** β `52` | |
| ### Clockmaker's shop | |
|  | |
| **Prompt** β An isometric 3D clay render of a tiny clockmaker's workshop, brass gears, tools, pastel colors | |
| **Seed** β `53` | |
| ### Oil-painted harbor | |
|  | |
| **Prompt** β An impressionist oil painting of fishing boats in a quiet harbor at dawn, thick brushstrokes and peach-colored light | |
| **Seed** β `54` | |
| ### Concrete atrium | |
|  | |
| **Prompt** β Architectural photography of a brutalist concrete atrium, geometric stairs, a beam of sun and long shadows | |
| **Seed** β `55` | |
| ### Goldfish above the city | |
|  | |
| **Prompt** β A surreal illustration of a giant goldfish floating above a quiet city at twilight, glowing translucent fins | |
| **Seed** β `56` | |
| ### Orbital repair | |
|  | |
| **Prompt** β A detailed science-fiction illustration of two astronauts repairing a satellite above Earth, bright rim lighting | |
| **Seed** β `57` | |
| ### Last train home | |
|  | |
| **Prompt** β An anime-style illustration of a quiet passenger on a late train, blue night outside the window, warm carriage lights | |
| **Seed** β `58` | |
| ### Fashion portrait | |
|  | |
| **Prompt** β An editorial fashion photograph of an adult model in a sculptural ivory coat, pale studio background, crisp side light | |
| **Seed** β `59` | |
| ### Arctic fox | |
|  | |
| **Prompt** β A wildlife photograph of an arctic fox in fresh snow, pale blue shadows, sharp white fur and curious eyes | |
| **Seed** β `60` | |
| ### Underwater ruins | |
|  | |
| **Prompt** β A fantasy environment painting of sunken stone ruins with fish, sea grass and shafts of turquoise sunlight | |
| **Seed** β `61` | |
| ## Credits | |
| - Base checkpoint: [Lykon/dreamshaper-8-lcm](https://huggingface.co/Lykon/dreamshaper-8-lcm) | |
| - Method: [Decoding Without a Decoder](https://arxiv.org/abs/2611.22287) | |
| - Model license: [CreativeML Open RAIL-M](LICENSE) | |