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

  • Log In
  • Sign Up

echarlaix
/
tiny-random-stable-diffusion-xl

Text-to-Image
Diffusers
StableDiffusionXLPipeline
Model card Files Files and versions
xet
Community
2

Instructions to use echarlaix/tiny-random-stable-diffusion-xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use echarlaix/tiny-random-stable-diffusion-xl with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("echarlaix/tiny-random-stable-diffusion-xl", 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
tiny-random-stable-diffusion-xl
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
echarlaix's picture
echarlaix HF Staff
add tiny random model
434a002 almost 3 years ago
  • scheduler
    add tiny random model almost 3 years ago
  • text_encoder
    add tiny random model almost 3 years ago
  • text_encoder_2
    add tiny random model almost 3 years ago
  • tokenizer
    add tiny random model almost 3 years ago
  • tokenizer_2
    add tiny random model almost 3 years ago
  • unet
    add tiny random model almost 3 years ago
  • vae
    add tiny random model almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    28 Bytes
    initial commit almost 3 years ago
  • model_index.json
    582 Bytes
    add tiny random model almost 3 years ago