Text-to-Image
Diffusers
English
Polish
quantization
torchao
diffusion-transformer
moss-image-sft
int8wo
Instructions to use WiktorMatuszek/MOSS-Image-SFT-INT8-WO-Core with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WiktorMatuszek/MOSS-Image-SFT-INT8-WO-Core with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("WiktorMatuszek/MOSS-Image-SFT-INT8-WO-Core", 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 example_layout.json from WiktorMatuszek/MOSS-Image-SFT-INT8-WO-Core: direct link, hf CLI and curl.
- Browser
- Download file 471 Bytes
-
https://huggingface.co/WiktorMatuszek/MOSS-Image-SFT-INT8-WO-Core/resolve/main/example_layout.json
- Command line
-
hf download hf://WiktorMatuszek/MOSS-Image-SFT-INT8-WO-Core/example_layout.json
-
curl -L -o example_layout.json https://huggingface.co/WiktorMatuszek/MOSS-Image-SFT-INT8-WO-Core/resolve/main/example_layout.json
471 Bytes
| { | |
| "bbox_coord_space": "abs_centralized", | |
| "bbox_format": "yxyx", | |
| "items": [ | |
| { | |
| "bbox": [ | |
| -195, | |
| -360, | |
| 195, | |
| 360 | |
| ], | |
| "caption": "large legible painted typography", | |
| "label": "text", | |
| "text": "Wróżka z Łęczycy" | |
| } | |
| ], | |
| "summary": { | |
| "canvas": "single", | |
| "caption": "Old wooden sign on a small town street in warm golden-hour sunlight, photorealistic.", | |
| "meta": [ | |
| "photo" | |
| ] | |
| } | |
| } | |