Instructions to use digitalbrain79/sdxl-lightning-4step-coreml-6bits-compiled with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use digitalbrain79/sdxl-lightning-4step-coreml-6bits-compiled with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("digitalbrain79/sdxl-lightning-4step-coreml-6bits-compiled", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,5 +5,7 @@ tags:
|
|
| 5 |
- coreml
|
| 6 |
- stablediffusion
|
| 7 |
---
|
|
|
|
|
|
|
| 8 |
## Usage
|
| 9 |
[https://github.com/digitalbrain79/diffusers_coreml.git](https://github.com/digitalbrain79/diffusers_coreml.git)
|
|
|
|
| 5 |
- coreml
|
| 6 |
- stablediffusion
|
| 7 |
---
|
| 8 |
+
Converted [SDXL Lightning](https://huggingface.co/ByteDance/SDXL-Lightning) to CoreML.
|
| 9 |
+
|
| 10 |
## Usage
|
| 11 |
[https://github.com/digitalbrain79/diffusers_coreml.git](https://github.com/digitalbrain79/diffusers_coreml.git)
|