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

  • Log In
  • Sign Up

YuCollection
/
FLUX.1-schnell-Diffusers

Text-to-Image
Diffusers
Safetensors
English
FluxPipeline
image-generation
flux
Model card Files Files and versions
xet
Community

Instructions to use YuCollection/FLUX.1-schnell-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use YuCollection/FLUX.1-schnell-Diffusers with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("YuCollection/FLUX.1-schnell-Diffusers", 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-schnell-Diffusers / transformer
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
YuCollection's picture
YuCollection
Upload transformer/diffusion_pytorch_model.safetensors.index.json with huggingface_hub
2939589 verified 4 months ago
  • config.json
    321 Bytes
    Upload transformer/config.json with huggingface_hub 4 months ago
  • diffusion_pytorch_model-00001-of-00003.safetensors
    9.96 GB
    xet
    Upload transformer/diffusion_pytorch_model-00001-of-00003.safetensors with huggingface_hub 4 months ago
  • diffusion_pytorch_model-00002-of-00003.safetensors
    9.95 GB
    xet
    Upload transformer/diffusion_pytorch_model-00002-of-00003.safetensors with huggingface_hub 4 months ago
  • diffusion_pytorch_model-00003-of-00003.safetensors
    3.87 GB
    xet
    Upload transformer/diffusion_pytorch_model-00003-of-00003.safetensors with huggingface_hub 4 months ago
  • diffusion_pytorch_model.safetensors.index.json
    121 kB
    Upload transformer/diffusion_pytorch_model.safetensors.index.json with huggingface_hub 4 months ago