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

  • Log In
  • Sign Up

ixim
/
ERNIE-Image-INT8

Text-to-Image
Diffusers
Safetensors
ErnieImagePipeline
quantized
int8
ernie-image
Model card Files Files and versions
xet
Community

Instructions to use ixim/ERNIE-Image-INT8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ixim/ERNIE-Image-INT8 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ixim/ERNIE-Image-INT8", 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
ERNIE-Image-INT8 / examples
32.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
ixim's picture
ixim
Remove inaccurate summary.
01c7bb4 verified 19 days ago
  • int8_no_pe
    Add files using upload-large-folder tool 19 days ago
  • int8_pe_bf16_use_pe
    Add files using upload-large-folder tool 19 days ago
  • int8_pe_int8_use_pe
    Add files using upload-large-folder tool 19 days ago
  • turbo_reference
    Add files using upload-large-folder tool 19 days ago
  • benchmark_overview.md
    811 Bytes
    Add files using upload-large-folder tool 19 days ago