Run this model with HF Jobs

Run melmass/liveportrait-decoder-coreml on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/melmass/liveportrait-decoder-coreml. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/melmass/liveportrait-decoder-coreml on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

LivePortrait SPADE decoder, Core ML

LivePortrait's SPADE decoder (KwaiVGI) as a Core ML ML Program in float16, built with coremltools' MIL builder from spade_generator.pth

  • Input feature: float32 [1, 256, 64, 64], the warping network's output (NCHW).
  • Output face: [1, 3, 512, 512] in [0, 1].
  • Instance norms read their input 256Γ— smaller and the res-block convs 64Γ— smaller (results scaled back): the activations reach ~10⁴, past float16 otherwise.
  • Run it on the GPU (.cpuAndGPU): 32 ms on an M5, 0.15–0.21 levels mean from the float32 decoder. The Neural Engine is slower (41 ms) and 3 levels off.
Downloads last month
30
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for melmass/liveportrait-decoder-coreml

Quantized
(3)
this model