Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

calcuis
/
kontext-gguf

Image-to-Image
Diffusers
Safetensors
GGUF
English
FluxKontextPipeline
gguf-node
gguf-connector
Model card Files Files and versions
xet
Community

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
kontext-gguf / tokenizer
1.59 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
calcuis's picture
calcuis
Upload 9 files
5dbda82 verified 11 months ago
  • merges.txt
    525 kB
    Upload 9 files 11 months ago
  • special_tokens_map.json
    588 Bytes
    Upload 9 files 11 months ago
  • tokenizer_config.json
    735 Bytes
    Upload 9 files 11 months ago
  • vocab.json
    1.06 MB
    Upload 9 files 11 months ago