Instructions to use ovedrive/ERNIE-Image-nf4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ovedrive/ERNIE-Image-nf4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ovedrive/ERNIE-Image-nf4", 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
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -19,7 +19,14 @@ base_model_relation: quantized
|
|
| 19 |
|
| 20 |
Ovedrive version of mixed precision targetting 12GB VRAM or less than. It is not widely tested, please do share your results and optimal steps.
|
| 21 |
|
| 22 |
-
thank you https://
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
## Quick Start
|
| 25 |
|
|
|
|
| 19 |
|
| 20 |
Ovedrive version of mixed precision targetting 12GB VRAM or less than. It is not widely tested, please do share your results and optimal steps.
|
| 21 |
|
| 22 |
+
thank you [Justlab.ai](https://Justlab.ai) for the GPUs
|
| 23 |
+
|
| 24 |
+
Steps 20, CFG 4 for both (random seed)
|
| 25 |
+
| Original ERNIE-Image | Ovedrive NF4 quantized |
|
| 26 |
+
|---|---|
|
| 27 |
+
|  |  |
|
| 28 |
+
| Full precision baseline | Mixed precision NF4 |
|
| 29 |
+
|
| 30 |
|
| 31 |
## Quick Start
|
| 32 |
|