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
Ctrl+K
- scheduler
- text_encoder
- tokenizer
- tokenizer_2
- transformer
- vae
- 6.21 kB
- 8.92 kB
- 246 MB xet
- 248 MB xet
- 4.21 GB xet
- 5.68 GB xet
- 5.35 GB xet
- 6.93 GB xet
- 6.56 GB xet
- 4.08 GB xet
- 6.84 GB xet
- 12.7 GB xet
- 23.8 GB xet
- 23.8 GB xet
- 4.11 GB xet
- 5.27 GB xet
- 5.13 GB xet
- 6.71 GB xet
- 7.45 GB xet
- 6.84 GB xet
- 6.71 GB xet
- 8.19 GB xet
- 8.94 GB xet
- 8.34 GB xet
- 8.19 GB xet
- 9.77 GB xet
- 12.7 GB xet
- 47.6 GB xet
- 6.79 GB xet
- 12.7 GB xet
- 4.02 GB xet
- 4.15 GB xet
- 6.93 GB xet
- 8.4 GB xet
- 9.98 GB xet
- 12.8 GB xet
- 6.93 GB xet
- 6.56 GB xet
- 3.95 GB xet
- 3.93 GB xet
- 4.11 GB xet
- 4 GB xet
- 3.98 GB xet
- 5.13 GB xet