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
/
Z-Image-Turbo-OpenVINO-INT4

Text-to-Image
Diffusers
OpenVINO
ZImagePipeline
int4
optimum
optimum-intel
nncf
z-image
transformer
cpu
Model card Files Files and versions
xet
Community

Instructions to use HelloSun/Z-Image-Turbo-OpenVINO-INT4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use HelloSun/Z-Image-Turbo-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/Z-Image-Turbo-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
Z-Image-Turbo-OpenVINO-INT4
5.56 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 21 commits
HelloSun's picture
HelloSun
docs: restructure README/REPORT and clean metadata
eab6841 about 3 hours ago
  • examples
    docs: restructure README/REPORT and clean metadata about 3 hours ago
  • scheduler
    Add Z-Image-Turbo OpenVINO INT4 (optimum, NNCF) 1 day ago
  • text_encoder
    Add Z-Image-Turbo OpenVINO INT4 (optimum, NNCF) 1 day ago
  • tokenizer
    Add Z-Image-Turbo OpenVINO INT4 (optimum, NNCF) 1 day ago
  • transformer
    docs: restructure README/REPORT and clean metadata about 3 hours ago
  • vae_decoder
    docs: restructure README/REPORT and clean metadata about 3 hours ago
  • vae_encoder
    docs: restructure README/REPORT and clean metadata about 3 hours ago
  • .gitattributes
    3.24 kB
    Add 10 art style examples (seeds 42-51) + updated README about 7 hours ago
  • README.md
    13.8 kB
    docs: restructure README/REPORT and clean metadata about 3 hours ago
  • REPORT.md
    8.52 kB
    docs: restructure README/REPORT and clean metadata about 3 hours ago
  • generate5.py
    6.39 kB
    docs: restructure README/REPORT and clean metadata about 3 hours ago
  • inference_int4.py
    1.11 kB
    Add inference_int4.py 1 day ago
  • model_index.json
    446 Bytes
    Add Z-Image-Turbo OpenVINO INT4 (optimum, NNCF) 1 day ago
  • openvino_config.json
    1.74 kB
    Add Z-Image-Turbo OpenVINO INT4 (optimum, NNCF) 1 day ago
  • quantize_int4.py
    1.86 kB
    docs: restructure README/REPORT and clean metadata about 3 hours ago