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

wabibito
/
Onyx-Z-Image-4bit

Text-to-Image
Diffusers
Safetensors
ZImagePipeline
Model card Files Files and versions
xet
Community

Instructions to use wabibito/Onyx-Z-Image-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use wabibito/Onyx-Z-Image-4bit with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("wabibito/Onyx-Z-Image-4bit", torch_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
Onyx-Z-Image-4bit
7.01 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
wabibito's picture
wabibito
CamelCase name + correct upstream license
dd9f07c verified 6 days ago
  • scheduler
    Upload folder using huggingface_hub 24 days ago
  • text_encoder
    Mixed 4/6-bit rebuild: sensitive layers 6-bit, FFN 4-bit β€” fixes the 16px DiT patch grid visible in smooth areas of the uniform 4-bit build 17 days ago
  • tokenizer
    Upload folder using huggingface_hub 24 days ago
  • transformer
    Mixed 4/6-bit rebuild: sensitive layers 6-bit, FFN 4-bit β€” fixes the 16px DiT patch grid visible in smooth areas of the uniform 4-bit build 17 days ago
  • vae
    Mixed 4/6-bit rebuild: sensitive layers 6-bit, FFN 4-bit β€” fixes the 16px DiT patch grid visible in smooth areas of the uniform 4-bit build 17 days ago
  • .gitattributes
    1.58 kB
    Upload folder using huggingface_hub 24 days ago
  • README.md
    78 Bytes
    CamelCase name + correct upstream license 6 days ago
  • model_index.json
    467 Bytes
    Upload folder using huggingface_hub 24 days ago
  • onyx_mlx.json
    56 Bytes
    Mixed 4/6-bit rebuild: sensitive layers 6-bit, FFN 4-bit β€” fixes the 16px DiT patch grid visible in smooth areas of the uniform 4-bit build 17 days ago