Instructions to use Silan10/flux-quantized-bitsandbytes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Silan10/flux-quantized-bitsandbytes with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Silan10/flux-quantized-bitsandbytes", 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
|
@@ -59,6 +59,7 @@ image = pipe(
|
|
| 59 |
image.save("output_bitsandbytes.png")
|
| 60 |
print(f"✓ Image generated successfully.")
|
| 61 |
print("DONE!")
|
|
|
|
| 62 |
|
| 63 |
## Credits
|
| 64 |
|
|
|
|
| 59 |
image.save("output_bitsandbytes.png")
|
| 60 |
print(f"✓ Image generated successfully.")
|
| 61 |
print("DONE!")
|
| 62 |
+
```
|
| 63 |
|
| 64 |
## Credits
|
| 65 |
|