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

  • Log In
  • Sign Up

CompVis
/
ldm-text2im-large-256

Text-to-Image
Diffusers
PyTorch
LDMTextToImagePipeline
Model card Files Files and versions
xet
Community
10

Instructions to use CompVis/ldm-text2im-large-256 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use CompVis/ldm-text2im-large-256 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("CompVis/ldm-text2im-large-256", 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
ldm-text2im-large-256
6.15 GB
Ctrl+K
Ctrl+K
  • 6 contributors
History: 15 commits
patrickvonplaten's picture
patrickvonplaten
murphyk's picture
murphyk
fix broken arxiv url (#8)
30de525 over 3 years ago
  • bert
    upload almost 4 years ago
  • images
    Add images almost 4 years ago
  • scheduler
    upload almost 4 years ago
  • tokenizer
    upload almost 4 years ago
  • unet
    convert weights almost 4 years ago
  • vqvae
    upload new weights almost 4 years ago
  • .gitattributes
    1.17 kB
    initial commit almost 4 years ago
  • README.md
    2.95 kB
    fix broken arxiv url (#8) over 3 years ago
  • model_index.json
    376 Bytes
    Update model_index.json almost 4 years ago