Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

TensorStack
/
FLUX.1-Kontext-dev-ts

Text-to-Image
Diffusers
Safetensors
FluxKontextPipeline
Model card Files Files and versions
xet
Community

Instructions to use TensorStack/FLUX.1-Kontext-dev-ts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use TensorStack/FLUX.1-Kontext-dev-ts with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("TensorStack/FLUX.1-Kontext-dev-ts", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
FLUX.1-Kontext-dev-ts / transformer
23.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
saddam213's picture
saddam213
Upload 24 files
db0efd8 verified 4 months ago
  • config.json
    452 Bytes
    Upload 24 files 4 months ago
  • diffusion_pytorch_model-00001-of-00003.safetensors
    9.98 GB
    xet
    Upload 24 files 4 months ago
  • diffusion_pytorch_model-00002-of-00003.safetensors
    9.95 GB
    xet
    Upload 24 files 4 months ago
  • diffusion_pytorch_model-00003-of-00003.safetensors
    3.87 GB
    xet
    Upload 24 files 4 months ago
  • diffusion_pytorch_model.safetensors.index.json
    121 kB
    Upload 24 files 4 months ago