Text-to-Image
Diffusers
Safetensors
MOSSImagePipeline
quantized
mecha
weight-only
fp4
experimental
image
8-bit precision
Instructions to use Rin247/MOSS-Image-SFT-FP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Rin247/MOSS-Image-SFT-FP4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Rin247/MOSS-Image-SFT-FP4", 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
File size: 180 Bytes
b751a8f | 1 2 3 4 5 6 7 8 | {
"format": "FP8",
"scale": "per-tensor",
"per_tensor_relative_error": 0.004317,
"per_tensor_weights_lost": 0.006015,
"matrices_measured": 4,
"package_format": "FP4"
} |