Image-to-Image
Diffusers
Safetensors
GGUF
English
FluxKontextPipeline
gguf-node
gguf-connector
8-bit precision
Instructions to use calcuis/kontext-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use calcuis/kontext-gguf with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("calcuis/kontext-gguf", dtype=torch.bfloat16, device_map="cuda") prompt = "the anime girl with massive fennec ears is wearing cargo pants while sitting on a log in the woods biting into a sandwitch beside a beautiful alpine lake" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -49,7 +49,7 @@ ggc k0
|
|
| 49 |
>Enter your choice (1 to 3): _
|
| 50 |
>
|
| 51 |
- opt a `gguf` file in your current directory to interact with; nothing else
|
| 52 |
-
- *new 8-step operation
|
| 53 |
|
| 54 |
## **run it with gguf-node via comfyui**
|
| 55 |
- drag **kontext** to > `./ComfyUI/models/diffusion_models`
|
|
|
|
| 49 |
>Enter your choice (1 to 3): _
|
| 50 |
>
|
| 51 |
- opt a `gguf` file in your current directory to interact with; nothing else
|
| 52 |
+
- *new 8-step operation (k0); save up to 70% loading time
|
| 53 |
|
| 54 |
## **run it with gguf-node via comfyui**
|
| 55 |
- drag **kontext** to > `./ComfyUI/models/diffusion_models`
|