Instructions to use wabibito/Krea2-Onyx-Edit-mlx-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use wabibito/Krea2-Onyx-Edit-mlx-4bit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("wabibito/Krea2-Onyx-Edit-mlx-4bit", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - MLX
How to use wabibito/Krea2-Onyx-Edit-mlx-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Krea2-Onyx-Edit-mlx-4bit wabibito/Krea2-Onyx-Edit-mlx-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Draw Things
- DiffusionBee
- Atomic Chat
- Xet hash:
- d9d10d088a8ad2743c34a610ec61b0aa8759898b6d333475eed3b99e125b5a77
- Size of remote file:
- 254 MB
- SHA256:
- 2e87baefc88a80d8b02a9a89f6a02b857da1a5a9f1cc284d237fe5fded8c3b2d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.