Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
Apple Silicon Core ML conversion of
Microsoft/MoGe
(commit
925b8ed835a7a9cdb7578ba15c658a0afc969030
). All variants share the identical op graph
(traced at 1x3x512x768, fp16 compute, macOS 15 target); they differ only in
weight storage
(const dequantize ops). At runtime all computation is fp32.
Variants (branch per variant)
Precision
Branch
Size
Parity (worst median rel-depth err)
Mask IoU
Storage
fp16
fp16
72.4 MB
worst med-rel-depth n/a
IoU n/a
fp16 (baseline, all-fp32 compute)
int8
int8
36.4 MB
worst med-rel-depth 0.0318
IoU 0.9989
int8 blockwise linear_symmetric, bs32
int4
int4
18.6 MB
worst med-rel-depth 0.1664
IoU 0.9971
int4 blockwise linear (asymmetric), bs32
int4-sym
int4-sym
18.5 MB
worst med-rel-depth 0.2104
IoU 0.9974
int4 blockwise linear_symmetric, b64
pal8
pal8
36.4 MB
worst med-rel-depth 0.0336
IoU 0.999
int8 palettized (kmeans, 8-bit)
Parity = per-scene median relative depth error vs the author's reference
outputs (03 scenes, same photos/artifacts as the upstream
moge infer
release
test), computed with this repo's harness (
--diff
). fp16/int8/pal8 match the
reference; int4 (asymmetric) and int4-sym carry a small-accuracy-gap
documented per scene. The int4
palettized
4-bit variant does NOT meet
parity (~0.90) and is excluded. FOV: int8/pal8 within ~0.3 deg of reference.
Real-hardware latency: single predict on a 1x3x512x768 input, mean of 5 runs
after warmup, measured with the tooling venv (no ANE — this model's ops are
arch-gated to CPU/GPU on A13/M1):
Checkpoint SHA-256 verified against the reference RESULTS.md manifest before
conversion. This repo is an artifact mirror of an MIT-licensed open model;
conversion metadata in
provenance.json
.
Usage
import coremltools as ct
model = ct.models.MLModel("moge-2-vits-normal-coreml", compute_units=ct.ComputeUnit.ALL)
# input: image (1, 3, 512, 768) float32, RGB, 0..1
out = model.predict({"image": img})
# out["points"] (1,512,768,3) affine point map, out["normal"], out["mask"], out["metric_scale"]
Numerical post-processing (focal/shift recovery, depth map, intrinsics, FOV,
UV) is pure numpy — see the accompanying harness/postprocess sources in the
publisher's repo (
zoo/moge/
).
Notes & limitations
Apple Silicon only (Core ML mlprogram). No iOS deployment target shipped.
No ANE network on M1/A13 (layer_norm/gelu/sdpa/linear are arch-gated);
runs CPU/GPU via CoreML.
Fixed input size 512x768 — resize before predict.
int4: recommend for storage-sensitive CPU paths; expect the accuracy gap
listed above (blockwise asymmetric linear, bs32).
Runs of ebowwa moge-2-vits-normal-coreml on huggingface.co
35
Total runs
-1
24-hour runs
1
3-day runs
4
7-day runs
22
30-day runs
More Information About moge-2-vits-normal-coreml huggingface.co Model
More moge-2-vits-normal-coreml license Visit here:
moge-2-vits-normal-coreml huggingface.co is an AI model on huggingface.co that provides moge-2-vits-normal-coreml's model effect (), which can be used instantly with this ebowwa moge-2-vits-normal-coreml model. huggingface.co supports a free trial of the moge-2-vits-normal-coreml model, and also provides paid use of the moge-2-vits-normal-coreml. Support call moge-2-vits-normal-coreml model through api, including Node.js, Python, http.
moge-2-vits-normal-coreml huggingface.co is an online trial and call api platform, which integrates moge-2-vits-normal-coreml's modeling effects, including api services, and provides a free online trial of moge-2-vits-normal-coreml, you can try moge-2-vits-normal-coreml online for free by clicking the link below.
ebowwa moge-2-vits-normal-coreml online free url in huggingface.co:
moge-2-vits-normal-coreml is an open source model from GitHub that offers a free installation service, and any user can find moge-2-vits-normal-coreml on GitHub to install. At the same time, huggingface.co provides the effect of moge-2-vits-normal-coreml install, users can directly use moge-2-vits-normal-coreml installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
moge-2-vits-normal-coreml install url in huggingface.co: