Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

darioooooo0o
/
Lightning-4step-Qwen-Image-2.1-Diffusers

Text-to-Image
Diffusers
Safetensors
QwenImage21Pipeline
lightning
4-step
image-editing
qwen-image
Model card Files Files and versions
xet
Community

Instructions to use darioooooo0o/Lightning-4step-Qwen-Image-2.1-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use darioooooo0o/Lightning-4step-Qwen-Image-2.1-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("darioooooo0o/Lightning-4step-Qwen-Image-2.1-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 Settings
  • Draw Things
  • DiffusionBee
Lightning-4step-Qwen-Image-2.1-Diffusers
33.1 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
darioooooo0o's picture
darioooooo0o
Add X handle (@imdariotoo)
7e11c71 verified about 1 month ago
  • processor
    Add processor about 1 month ago
  • scheduler
    Add scheduler about 1 month ago
  • text_encoder
    Add text_encoder about 1 month ago
  • transformer
    Add transformer about 1 month ago
  • vae
    Add vae about 1 month ago
  • .gitattributes
    1.58 kB
    Add processor about 1 month ago
  • LICENSE
    7.83 kB
    License, notice, placeholder card about 1 month ago
  • NOTICE
    719 Bytes
    License, notice, placeholder card about 1 month ago
  • README.md
    3.46 kB
    Add X handle (@imdariotoo) about 1 month ago
  • model_index.json
    510 Bytes
    Add model_index.json about 1 month ago