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

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
23.7 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
ixim's picture
ixim
Remove inaccurate summary.
01c7bb4 verified about 1 month ago
  • examples
    Remove inaccurate summary. about 1 month ago
  • pe
    Add files using upload-large-folder tool about 1 month ago
  • pe_tokenizer
    Add files using upload-large-folder tool about 1 month ago
  • scheduler
    Add files using upload-large-folder tool about 1 month ago
  • text_encoder
    Add files using upload-large-folder tool about 1 month ago
  • tokenizer
    Add files using upload-large-folder tool about 1 month ago
  • transformer
    Add files using upload-large-folder tool about 1 month ago
  • vae
    Add files using upload-large-folder tool about 1 month ago
  • .gitattributes
    4.16 kB
    Add files using upload-large-folder tool about 1 month ago
  • LICENSE
    11.4 kB
    Add files using upload-large-folder tool about 1 month ago
  • README.md
    10.7 kB
    Update README.md about 1 month ago
  • configuration.json
    64 Bytes
    Add files using upload-large-folder tool about 1 month ago
  • example_prompts.json
    1.26 kB
    Add files using upload-large-folder tool about 1 month ago
  • model_index.json
    547 Bytes
    Add files using upload-large-folder tool about 1 month ago
  • precision_manifest.json
    762 Bytes
    Add files using upload-large-folder tool about 1 month ago
  • quantization_config.json
    142 Bytes
    Add files using upload-large-folder tool about 1 month ago