From daa6124dcffafbe45280614d530c7767ec9488e9 Mon Sep 17 00:00:00 2001 From: m3ultra Date: Sun, 19 Jul 2026 00:22:41 +1000 Subject: [PATCH] =?UTF-8?q?benchmarks:=20first=20trellis=5Fmac=20vs=20fal?= =?UTF-8?q?=20trellis-2=20head-to-head=20=E2=80=94=20local=20faster,=20qua?= =?UTF-8?q?lity=20gap=20=3D=20hole-fill=20+=20pre-simplify?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- docs/TRELLIS2_MLX_RECON.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/TRELLIS2_MLX_RECON.md b/docs/TRELLIS2_MLX_RECON.md index 8373dbc..d86e18c 100644 --- a/docs/TRELLIS2_MLX_RECON.md +++ b/docs/TRELLIS2_MLX_RECON.md @@ -82,3 +82,25 @@ pieces matter, and the community has replaced all four. The open work is - Local: HANDOFF_HY3D_MLX.md, CORRIDORKEY.md, BENCHMARKS.md, vendor/trellis-mac/README, vendor/corridorkey-mlx/prompts/ (the 6-phase parity-first port template — the blueprint if we ever do ladder step 3) + +## First benchmark (2026-07-19, m3ultra, anatomy écorché test image) + +| run | tris | time | peak mem | cost | +|---|---|---|---|---| +| trellis_mac 1024-cascade, tex 2048 | 191,336 | **124.8 s** compute (248.8 s wall, 103 s load) | 20.8 GB | $0 | +| fal trellis-2, same image | 468,049 | 298.6 s wall (queue incl.) | — | $0.30 | + +**Local already beats fal on wall-clock.** Quality is the gap, not speed: +the local master shows shattered dark patches — CuMesh hole-fill skipped + +forced 858k→191k pre-simplify before baking (the un-simplified master IS +saved as .obj alongside the GLB). Fix quality first, then fuse kernels. + +Tri-budget ladder (Blender decimate on the fal master): 2k = confetti +(ratio floors at 0.01 → 4,674 min), 8k = torn, 30k = good, 50k ≈ master. +**Écorché-class meshes (many disconnected thin shells) cannot pure-decimate +below ~30k** — game budgets need the MESHGOD solidify/remesh route. +Discovered in passing: MESHGOD finish_glb.py's tri budget is silently +ignored on Blender 5 (modifier_apply cancels — fix task spawned 2026-07-19). + +Bench artifacts: m3ultra ~/Documents/trellis2-bench/ (masters, sweeps, +renders, logs, sweep2.csv / sweep_fal.csv).