Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Duplicated from  hf-internal-testing/tiny-sdxl-custom-components

hf-internal-testing
/
tiny-sdxl-custom-all

Text-to-Image
Diffusers
ONNX
Model card Files Files and versions
xet
Community
5

Instructions to use hf-internal-testing/tiny-sdxl-custom-all with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use hf-internal-testing/tiny-sdxl-custom-all with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("hf-internal-testing/tiny-sdxl-custom-all", 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-sdxl-custom-all
53.1 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 6 commits

This model has 1 file scanned as suspicious.

sayakpaul's picture
sayakpaul HF Staff
Update unet/my_unet_model.py
c1f4a0e verified almost 2 years ago
  • scheduler
    Duplicate from hf-internal-testing/tiny-sdxl-custom-components over 2 years ago
  • text_encoder
    Duplicate from hf-internal-testing/tiny-sdxl-custom-components over 2 years ago
  • text_encoder_2
    Duplicate from hf-internal-testing/tiny-sdxl-custom-components over 2 years ago
  • tokenizer
    Duplicate from hf-internal-testing/tiny-sdxl-custom-components over 2 years ago
  • tokenizer_2
    Duplicate from hf-internal-testing/tiny-sdxl-custom-components over 2 years ago
  • unet
    Update unet/my_unet_model.py almost 2 years ago
  • vae
    Duplicate from hf-internal-testing/tiny-sdxl-custom-components over 2 years ago
  • vae_decoder
    Duplicate from hf-internal-testing/tiny-sdxl-custom-components over 2 years ago
  • vae_encoder
    Duplicate from hf-internal-testing/tiny-sdxl-custom-components over 2 years ago
  • .gitattributes
    1.52 kB
    Duplicate from hf-internal-testing/tiny-sdxl-custom-components over 2 years ago
  • README.md
    600 Bytes
    Update README.md over 2 years ago
  • model_index.json
    566 Bytes
    Update model_index.json over 2 years ago
  • my_pipeline.py
    51.9 kB
    Update implementation so that it actually uses the custom classes (#3) about 2 years ago