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
NOTICE: verbatim s3.1(c) attribution + s3.2(a) modification statement
Browse files
NOTICE
CHANGED
|
@@ -1,14 +1,17 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
| 13 |
https://huggingface.co/conradlocke/krea2-identity-edit) - face/head/person-swap
|
| 14 |
skill trained on stablellama's MIT-licensed change_eye_face_head_person dataset.
|
|
|
|
| 1 |
+
Krea 2 is licensed under the Krea 2 Community License Agreement. For more information, visit https://krea.ai/krea-2-licensing.
|
| 2 |
+
|
| 3 |
+
MODIFICATIONS: this repository does NOT contain the Krea Model as released. It is a
|
| 4 |
+
Derivative Model created by Onyx (wabibito): the weights of krea/Krea-2-Turbo were quantized to 4-bit MLX with the conradlocke/krea2-identity-edit adapter (v1.2 r64) fused into the weights.
|
| 5 |
+
|
| 6 |
+
This is an unofficial community build. It is not an official Krea product and is not
|
| 7 |
+
endorsed by or affiliated with Krea.ai, Inc.
|
| 8 |
+
|
| 9 |
+
Use is governed by the Krea 2 Community License Agreement, a copy of which is
|
| 10 |
+
distributed with this repository as LICENSE.pdf and published at https://krea.ai/krea-2-licensing.
|
| 11 |
+
By downloading or using these weights you agree to be bound by that Agreement,
|
| 12 |
+
including its prohibited-use restrictions, its content-filtering requirements for
|
| 13 |
+
deployments, and its terms on Commercial Use.
|
| 14 |
+
|
| 15 |
+
Credits: Krea.ai, Inc. (base model) - conradlocke (identity-edit adapter,
|
| 16 |
https://huggingface.co/conradlocke/krea2-identity-edit) - face/head/person-swap
|
| 17 |
skill trained on stablellama's MIT-licensed change_eye_face_head_person dataset.
|