Instructions to use rootlocalghost/ERNIE-Image-Turbo-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use rootlocalghost/ERNIE-Image-Turbo-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("rootlocalghost/ERNIE-Image-Turbo-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
Commit History
-
Copy pe/tokenizer_config.json from original repo
Verified signaturefe0fb33 -
Copy pe/tokenizer.json from original repo
Verified signatureec3c6bd -
Upload FP8 quantized pe/model.safetensors
Verified signature2db9549 -
Copy pe/generation_config.json from original repo
Verified signature1a0b47e -
Copy pe/config.json from original repo
Verified signature9de2367 -
Copy pe/chat_template.jinja from original repo
Verified signatureb88e0f1