simonw commited on
Commit
5bf1ef5
Β·
verified Β·
1 Parent(s): 5db03f2

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +14 -10
README.md CHANGED
@@ -17,13 +17,16 @@ language:
17
 
18
  # Moebius β€” ONNX (browser / WebGPU)
19
 
20
- ONNX exports of the [**Moebius**](https://huggingface.co/hustvl/Moebius) 0.22B lightweight
21
- image-inpainting model ([hustvl/Moebius](https://github.com/hustvl/Moebius), ECCV'26), packaged
22
- to run **fully client-side in a web browser** via
23
- [ONNX Runtime Web](https://onnxruntime.ai/docs/tutorials/web/) on the **WebGPU** backend.
24
 
25
- No text encoder, no tokenizer β€” Moebius conditions on a small learned embedding table, so the
26
- whole pipeline is three graphs plus a short DDIM loop you drive in JS.
 
 
 
27
 
28
  ## Files
29
 
@@ -52,10 +55,11 @@ that loads these files lives in the accompanying web demo.
52
 
53
  ## Precision
54
 
55
- These are **fp32** exports (chosen for guaranteed numeric parity with the reference pipeline).
56
- Parity vs PyTorch on CPU EP: decoder `max|Ξ”|β‰ˆ5.7e-5`, unet `β‰ˆ3.6e-6`. A full-pipeline check vs the
57
- Torch reference (identical noise) gives a decoded-image `mean|Ξ”|β‰ˆ0.0022`. fp16 halves the download
58
- but is a quality gamble in the lambda layers and unstable for the VAE β€” validate before using.
 
59
 
60
  ## License & attribution
61
 
 
17
 
18
  # Moebius β€” ONNX (browser / WebGPU)
19
 
20
+ ONNX exports of the [Moebius](https://huggingface.co/hustvl/Moebius) image-inpainting model
21
+ ([hustvl/Moebius](https://github.com/hustvl/Moebius), ECCV'26; 0.22B parameters), for running in
22
+ a web browser with [ONNX Runtime Web](https://onnxruntime.ai/docs/tutorials/web/) on the WebGPU
23
+ backend.
24
 
25
+ Moebius conditions on a learned embedding table rather than a text encoder, so there is no
26
+ tokenizer or text model to export. The export is three graphs β€” VAE encoder, UNet, VAE decoder β€”
27
+ and the sampling loop (DDIM with classifier-free guidance) runs in JavaScript.
28
+
29
+ Live demo in your browser here: **[simonw.github.io/moebius-web/](https://simonw.github.io/moebius-web/)**. [Source code on GitHub](https://github.com/simonw/moebius-web).
30
 
31
  ## Files
32
 
 
55
 
56
  ## Precision
57
 
58
+ These are fp32 exports, for numeric parity with the reference pipeline. Parity vs PyTorch on the
59
+ CPU execution provider: decoder `max|Ξ”|β‰ˆ5.7e-5`, unet `β‰ˆ3.6e-6`. A full-pipeline check against the
60
+ PyTorch reference (identical initial noise) gives a decoded-image `mean|Ξ”|β‰ˆ0.0022`. fp16 halves the
61
+ download size, but can reduce quality in the lambda layers and is numerically unstable for this
62
+ VAE; validate before use.
63
 
64
  ## License & attribution
65