DFlow2-WebGPU / README.md
Nekochu's picture
Moved to WeReCooking: load weights from WeReCooking, keep files already stored in the browser
9fac93f verified
|
Raw History Blame Contribute Delete
1.47 kB
metadata
title: DFlow2 WebGPU
emoji: 🐆
colorFrom: yellow
colorTo: gray
sdk: static
app_file: index.html
pinned: false
license: other
short_description: dflow_2b 4-step text to image, on your GPU in the browser
models:
  - WeReCooking/DFlow2-4step-ONNX-WebGPU
  - data-archetype/dflow_2b
  - lvladikov/DFlow2-Distill-4steps-eDMD-LADD-LoRA
  - data-archetype/dinac3_96

Text to image with dflow_2b and its 4-step LoRA, running entirely in your browser tab on your own GPU through WebGPU and ONNX Runtime Web. Nothing is sent to a server.

  • Needs WebGPU: Chrome or Edge 121+ (Android 12+ on phones), or Safari 26.
  • Downloads once, then works from the browser's storage: about 2.7 GB with the default 8-bit weights (same output as the original model), 1.7 GB with the optional 4-bit ones (softer, for low-memory devices).
  • Picks the trained size (about 1 MP) when your GPU allows it. 512×512 is a quick preview with far less detail, since the model was trained at 1 MP and above.

Weights and conversion details: WeReCooking/DFlow2-4step-ONNX-WebGPU.

This project uses dflow_2b by Data Archetype. https://huggingface.co/data-archetype/dflow_2b Non-commercial use only (MG-BY-NC-2.0). Gemma is provided under and subject to the Gemma Terms of Use found at gemma.ai/resources/terms.