mlboydaisuke commited on
Commit
e1e707f
·
verified ·
1 Parent(s): 547669d

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +6 -4
README.md CHANGED
@@ -22,9 +22,12 @@ no prompt, no noise — so it is fast and small enough to run fully on-device, i
22
 
23
  ## What it is
24
 
25
- - **fp16, ~870 MB.** On the GPU the Core AI output matches the fp32 reference (cosine 1.000008).
 
26
  - **Image → image, one step.** Input a low-resolution tile, get a 4× tile back. No text, no noise.
27
  - **456 M parameters** (pruned SD-2.1 UNet + half VAE decoder).
 
 
28
 
29
  ## I/O contract (per tile)
30
 
@@ -40,9 +43,8 @@ let sr = try await SuperResolver(model: .adcsrX4) // downloads this repo on fi
40
  let big = try await sr.upscale(cgImage) // ×4; tiles any-size input + feather-blends
41
  ```
42
 
43
- `SuperResolver` splits any-size input into overlapping 128-px LR windows, runs each, and blends.
44
- Load uses explicit GPU specialization options (GraphModel does this) the runtime's *default*-
45
- options load path has a GPU-delegate JIT bug, but an explicit `.gpu` load is clean.
46
 
47
  ## License & attribution
48
 
 
22
 
23
  ## What it is
24
 
25
+ - **fp32, ~1.7 GB.** Output matches the torch reference (cosine 1.000012). fp32 because the
26
+ pruned SD-2.1 UNet's attention/group-norm overflow in fp16 (NaN on smooth tiles).
27
  - **Image → image, one step.** Input a low-resolution tile, get a 4× tile back. No text, no noise.
28
  - **456 M parameters** (pruned SD-2.1 UNet + half VAE decoder).
29
+ - The graph outputs the **raw** SR; AdcSR's per-image color-match is applied host-side by
30
+ `SuperResolver` after tiling (baking it per-tile blows up uniform tiles).
31
 
32
  ## I/O contract (per tile)
33
 
 
43
  let big = try await sr.upscale(cgImage) // ×4; tiles any-size input + feather-blends
44
  ```
45
 
46
+ `SuperResolver` splits any-size input into overlapping 128-px LR windows, runs each, and blends
47
+ (and caps very large inputs so the result stays a reasonable size).
 
48
 
49
  ## License & attribution
50