xay2001's picture
Add complete DreamLite source components including text encoder and tokenizer
16596af verified
|
Raw History Blame Contribute Delete
694 Bytes
---
license: cc-by-nc-4.0
library_name: diffusers
pipeline_tag: text-to-image
base_model: carlofkl/DreamLite-base
---
# DreamLite-Mobile
Distilled single-branch variant of
[DreamLite-base](https://huggingface.co/carlofkl/DreamLite-base) for fast,
on-device inference. No CFG; runs in ~4–8 steps at 1024×1024.
```python
import torch
from diffusers import DreamLiteMobilePipeline
pipe = DreamLiteMobilePipeline.from_pretrained(
"carlofkl/DreamLite-mobile", torch_dtype=torch.bfloat16
).to("cuda")
image = pipe("a corgi astronaut", num_inference_steps=8).images[0]
```
License: CC BY-NC 4.0 (non-commercial). A full model card will be added once
the diffusers integration PR is merged.