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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

HelloSun
/
animagine-xl-4.0-Lightning-OpenVINO-INT4

Text-to-Image
Diffusers
OpenVINO
StableDiffusionXLPipeline
int8
optimum
optimum-intel
sdxl
animagine-xl-4.0
lightning
anime
cpu
Model card Files Files and versions
xet
Community

Instructions to use HelloSun/animagine-xl-4.0-Lightning-OpenVINO-INT4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use HelloSun/animagine-xl-4.0-Lightning-OpenVINO-INT4 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("HelloSun/animagine-xl-4.0-Lightning-OpenVINO-INT4", 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 Settings
  • Draw Things
  • DiffusionBee
animagine-xl-4.0-Lightning-OpenVINO-INT4
6.22 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
HelloSun's picture
HelloSun
docs: restructure README/REPORT and clean metadata
eeeada6 5 days ago
  • examples
    docs: restructure README/REPORT and clean metadata 5 days ago
  • scheduler
    Upload folder using huggingface_hub 4 months ago
  • text_encoder
    Upload folder using huggingface_hub 4 months ago
  • text_encoder_2
    Upload folder using huggingface_hub 4 months ago
  • tokenizer
    Upload folder using huggingface_hub 4 months ago
  • tokenizer_2
    Upload folder using huggingface_hub 4 months ago
  • unet
    docs: restructure README/REPORT and clean metadata 5 days ago
  • vae_decoder
    docs: restructure README/REPORT and clean metadata 5 days ago
  • vae_encoder
    docs: restructure README/REPORT and clean metadata 5 days ago
  • .gitattributes
    3.15 kB
    Add 10 art style examples (seeds 42-51) + updated README 6 days ago
  • README.md
    13.9 kB
    docs: restructure README/REPORT and clean metadata 5 days ago
  • REPORT.md
    7.92 kB
    docs: restructure README/REPORT and clean metadata 5 days ago
  • convert_int8.py
    2.6 kB
    Unify card style with siblings: same 5 prompts/seeds, examples naming, generate5/inference/REPORT 6 days ago
  • generate5.py
    6.61 kB
    docs: restructure README/REPORT and clean metadata 5 days ago
  • inference_ov.py
    1.15 kB
    docs: restructure README/REPORT and clean metadata 5 days ago
  • model_index.json
    724 Bytes
    docs: restructure README/REPORT and clean metadata 5 days ago