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

ixim
/
Image21-INT4

Text-to-Image
Diffusers
Safetensors
English
Chinese
QwenImage21Pipeline
sdnq
int4
uint4
image-generation
image-editing
apple-silicon
8-bit precision
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use ixim/Image21-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("ixim/Image21-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
Image21-INT4 / scripts
63.9 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
ixim's picture
ixim
Release verified Image21-INT4 conversion
9116984 verified about 3 hours ago
  • __init__.py
    49 Bytes
    Release verified Image21-INT4 conversion about 3 hours ago
  • benchmark.py
    8.46 kB
    Release verified Image21-INT4 conversion about 3 hours ago
  • device.py
    959 Bytes
    Release verified Image21-INT4 conversion about 3 hours ago
  • editing_protocol.py
    1.23 kB
    Release verified Image21-INT4 conversion about 3 hours ago
  • infer.py
    2.84 kB
    Release verified Image21-INT4 conversion about 3 hours ago
  • integrity.py
    2.15 kB
    Release verified Image21-INT4 conversion about 3 hours ago
  • model_card.py
    5.48 kB
    Release verified Image21-INT4 conversion about 3 hours ago
  • provenance.py
    4.68 kB
    Release verified Image21-INT4 conversion about 3 hours ago
  • quantize.py
    7.76 kB
    Release verified Image21-INT4 conversion about 3 hours ago
  • release.py
    12.5 kB
    Release verified Image21-INT4 conversion about 3 hours ago
  • report.py
    7.95 kB
    Release verified Image21-INT4 conversion about 3 hours ago
  • runtime.py
    6.38 kB
    Release verified Image21-INT4 conversion about 3 hours ago
  • upload.py
    3.4 kB
    Release verified Image21-INT4 conversion about 3 hours ago