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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

nunchaku-ai
/
nunchaku-flux.1-schnell-pix2pix-turbo

Image-to-Image
Diffusers
English
SVDQuant
FLUX.1-schnell
Diffusion
Quantization
ICLR2025
sketch
Model card Files Files and versions
xet
Community

Instructions to use nunchaku-ai/nunchaku-flux.1-schnell-pix2pix-turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use nunchaku-ai/nunchaku-flux.1-schnell-pix2pix-turbo 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("nunchaku-ai/nunchaku-flux.1-schnell-pix2pix-turbo", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    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
nunchaku-flux.1-schnell-pix2pix-turbo
597 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
Lmxyy's picture
Lmxyy
Upload ./README.md with huggingface_hub
e72abb5 verified 11 months ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    3.06 kB
    Upload ./README.md with huggingface_hub 11 months ago
  • sketch.safetensors
    184 MB
    xet
    Upload sketch.safetensors with huggingface_hub about 1 year ago
  • svdq-int4-sketch.safetensors
    412 MB
    xet
    Upload svdq-int4-sketch.safetensors with huggingface_hub about 1 year ago