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
Krea-first name (License s3.1(b)) + Agreement obligations section
Browse files
README.md
CHANGED
|
@@ -11,7 +11,7 @@ tags:
|
|
| 11 |
- onyx
|
| 12 |
---
|
| 13 |
|
| 14 |
-
#
|
| 15 |
|
| 16 |
MLX 4-bit build of Krea 2 with the [krea2-identity-edit](https://huggingface.co/conradlocke/krea2-identity-edit)
|
| 17 |
adapter (v1.2 r64) **fused into the weights** - zero runtime LoRA cost, streams like a
|
|
@@ -22,3 +22,20 @@ Distilled 8-step base: fast, instruction-faithful - the recommended edit build.
|
|
| 22 |
|
| 23 |
See NOTICE for attribution and LICENSE.pdf for the Krea 2 Community License this
|
| 24 |
model is distributed under.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
- onyx
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# Krea 2 Onyx Edit mlx 4bit
|
| 15 |
|
| 16 |
MLX 4-bit build of Krea 2 with the [krea2-identity-edit](https://huggingface.co/conradlocke/krea2-identity-edit)
|
| 17 |
adapter (v1.2 r64) **fused into the weights** - zero runtime LoRA cost, streams like a
|
|
|
|
| 22 |
|
| 23 |
See NOTICE for attribution and LICENSE.pdf for the Krea 2 Community License this
|
| 24 |
model is distributed under.
|
| 25 |
+
|
| 26 |
+
## License
|
| 27 |
+
|
| 28 |
+
Krea 2 Onyx builds are Derivative Models of Krea 2 and are distributed under the
|
| 29 |
+
**Krea 2 Community License Agreement** (LICENSE.pdf in this repository;
|
| 30 |
+
https://krea.ai/krea-2-licensing). By downloading or using these weights you agree to
|
| 31 |
+
be bound by that Agreement, including:
|
| 32 |
+
|
| 33 |
+
- its **prohibited uses** and Acceptable Use Policy;
|
| 34 |
+
- the requirement that **deployments implement content filters** (prompt/output
|
| 35 |
+
filtering, abuse detection, moderation) to prevent prohibited uses and outputs;
|
| 36 |
+
- its **Commercial Use** terms (permitted under the Agreement only below the revenue
|
| 37 |
+
threshold in s2.3; above it, an Enterprise License from Krea is required);
|
| 38 |
+
- passing these same obligations to anyone you redistribute to (s3.1).
|
| 39 |
+
|
| 40 |
+
This is an unofficial community build - not an official Krea product, and not endorsed
|
| 41 |
+
by or affiliated with Krea.ai, Inc. See NOTICE for attribution.
|