benchmarkxprt/Z-Image-Turbo
1
Z-Image-Turbo
This repository provides an optimized ONNX version of [Tongyi-MAI/Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo), specifically tailored for efficient browser execution via WebNN and WebGPU using ONNX Runtime Web.
๐ Runtime Pipeline
The end-to-end inference flow runs sequentially across the ONNX sub-models under onnx/ per image generation:
Inference Flow
<div align="center"> <img src="https://cdn-uploads.huggingface.co/production/uploads/65ee995fc7b0ce53e4a91edb/2ckM0sTl3VVrRzJ-5recK.jpeg" style="max-width: 100%; height: auto;" alt="Z Image Turbo Pipeline"> </div>
๐งฉ Sub-model Components
๐ ๏ธ Export & Reproduction
Instructions and scripts for exporting and optimizing the ONNX models from the original PyTorch weights can be found in the model_exporter/README.md.
๐ Live Demo
Experience the model running in the browser:
- Interactive Demo: WebNN Developer Preview - Z-Image-Turbo
๐ Credits
- Original PyTorch Model: Tongyi-MAI/Z-Image-Turbo
- Web Runtime: ONNX Runtime Web / WebNN Developer Preview
