Skip to content
Other

MARROW-1.2-head

Generating 3D head internals from an outer shell

3 min read

MARROW-1.2-head by gardianofthedarkness tackles an unusual task for games and 3D simulations: given only a closed outer surface of a character's head, the model reconstructs 14 internal physical compartments — the skull, mandible, teeth, eyes, brain, masticatory muscles, tongue, airways, and fat tissue. Each compartment is designed as a separate material with its own physics (rigid skull, movable hinged jaw, soft tissues). The architecture combines a flow-matching transformer (a transformer that generates data through gradual denoising over 16 steps) and a patch-transformer VAE (a variational autoencoder that maps codes into a 3D voxel grid). Version 1.2 is a fine-tuned version of MARROW-1.1-head featuring cleaned-up airway labeling: the model no longer mistakes air pockets in ear folds or near the shoulders for the respiratory tract.

Key features

  • Generation from a single shell: takes only a closed head loop as input (including hair and custom ears) and outputs 14 compartments at a 1 mm resolution along with colored 3D meshes in .glb format.
  • Hair volume robustness: during training, the shell was artificially thickened up to 2.5 liters, so the model does not fill hairstyles with fat tissue — on a test elf, the fat layer measured 261 ml compared to 1976 ml without this augmentation.
  • Cleaned airways: the volume of extraneous disconnected air fragments dropped from 38 ml (196 pieces in version 1.1) to 7 ml (28 pieces — limited to the frontal sinus and ear canals), while the Dice overlap metric for airway increased from 0.61 to 0.65.
  • Stochastic generation: by changing the --seed parameter, you can get different yet anatomically plausible internal structures for the same character.

What you can do

  • In-game physics and destructibility: split a character's 3D head model into ready-made physical zones with different materials and attachment points for simulations and game engines.
  • VRM avatar preparation: use the model as the first stage of a model-to-vrm pipeline to automatically generate the anatomical structure of stylized characters (tested on an anime elf).
  • Visualization and rendering: open the resulting compartments_game.glb file in any glTF viewer or Blender — it already includes a semi-transparent layer of the original skin (skin_input) for easy inspection.

Example

pip install torch numpy scipy scikit-image safetensors trimesh fast-simplification
python marrow_head.py example/elf_shell.npz out --glb --max-faces 20000
Read moreDetails
Metrics (median Dice across 20 CT scans): brain — 0.95, eyes — 0.85, tongue — 0.84, skull — 0.78, jaw — 0.76 (median surface error 1.3 mm), airways — 0.65, teeth — 0.56.
Hardware and speed: generating an elf head takes about 5 minutes on a GTX 1650 GPU (4 GB VRAM) and about 4 minutes on a T4; running on CPU is supported via the --cpu flag.
Training and limitations: trained on 151 adult CT scans (TotalSegmentator, HaN-Seg, PDDCA); covers only the head and upper neck; not a medical tool.
License: CC BY-NC 4.0 (non-commercial use only).
Examples
Discuss Telegram 0

Will it run?

Runs in BF16

Fits without quantisation.

  • BF16weights 0.2 GB · ready files0.7 GB
  • FP8 / INT8recommendedweights 0.1 GB0.6 GB
  • 4-bitweights 0.0 GB0.5 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: FP8 / INT8 — from RTX 2060 · BF16 — from RTX 2060

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # gardianofthedarkness/MARROW-1.2-head
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download gardianofthedarkness/MARROW-1.2-head --local-dir ~/models/MARROW-1.2-head
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to MARROW-1.2-head
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b41from November 25, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of MARROW-1.2-head (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

gardianofthedarkness/MARROW-1.2-head
Author
gardianofthedarkness
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

00

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments