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

  • Log In
  • Sign Up

Elvenson
/
diffuser_inference

Diffusers
stable-diffusion
stable-diffusion-diffusers
endpoints-template
Model card Files Files and versions
xet
Community

Instructions to use Elvenson/diffuser_inference with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Elvenson/diffuser_inference with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Elvenson/diffuser_inference", 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
diffuser_inference
17.5 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 18 commits
Quoc Bao Bui
Add local request script
57ccf6b over 3 years ago
  • stable-diffusion-v1-5
    add stable-diffusion-v1-5 over 3 years ago
  • .gitattributes
    1.48 kB
    add handler, README over 3 years ago
  • README.md
    1.96 kB
    Optimize handler, update README over 3 years ago
  • handler.py
    1.33 kB
    Optimize handler, update README over 3 years ago
  • local_request.py
    971 Bytes
    Add local request script over 3 years ago
  • test_image.jpg
    179 kB
    Add test image over 3 years ago