Instructions to use Rin247/MOSS-Image-SFT-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Rin247/MOSS-Image-SFT-FP8 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-FP8", 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 text_encoder/quantization.json from Rin247/MOSS-Image-SFT-FP8: direct link, hf CLI and curl.
- Browser
- Download file 154 Bytes
-
https://huggingface.co/Rin247/MOSS-Image-SFT-FP8/resolve/main/text_encoder/quantization.json
- Command line
-
hf download hf://Rin247/MOSS-Image-SFT-FP8/text_encoder/quantization.json
-
curl -L -o quantization.json https://huggingface.co/Rin247/MOSS-Image-SFT-FP8/resolve/main/text_encoder/quantization.json
154 Bytes
| { | |
| "format": "FP8", | |
| "scale": "per-tensor", | |
| "per_tensor_relative_error": 0.02041, | |
| "per_tensor_weights_lost": 0.027051, | |
| "matrices_measured": 312 | |
| } |