Skip to content
Other

UniRig

automatic skeleton and skinning for 3D models

2 min readupdated

The UniRig framework solves the problem of automated 3D model rigging: from the object's geometry, it builds a skeleton hierarchy and predicts skinning weights (binding mesh vertices to bones for deformation during animation). The output gives you a skeleton and skinned meshes that can be combined with the original model into a ready asset. The development is based on the SIGGRAPH'25 (TOG) architecture from Tsinghua University and Tripo: skeleton prediction is handled autoregressively via a GPT-like transformer with a Skeleton Tree Tokenization scheme, while skinning weights are computed by a Bone-Point Cross Attention mechanism. It is suitable for 3D artists, game developers, and anyone automating the preparation of characters, animals, and objects for animation.

Key features

  • A unified approach for different categories of 3D models: humans, animals, and objects.
  • Autoregressive skeleton generation with compact bone tree tokenization and support for seed selection to get variations.
  • Vertex-based mesh skinning weight prediction with the ability to refine the skeleton before the skinning stage.
  • Support for .obj, .fbx, .glb, and .vrm input formats, along with a modified add-on for importing and exporting .vrm in Blender.

What you can do

  • Quickly generate a base skeleton and skinning for a character or animal in .glb or .fbx format to immediately move on to keyframe setup.
  • Set up a batch processing pipeline for a directory of 3D models using startup scripts and combine the skeleton or skinning with the original geometry.
  • Fine-tune the model on your own dataset using the Rignet configuration or test it on pre-made Rig-XL and VRoid datasets.

Example

bash launch/inference/generate_skeleton.sh --input examples/giraffe.glb --output results/giraffe_skeleton.fbx
bash launch/inference/generate_skin.sh --input examples/skeleton/giraffe.fbx --output results/giraffe_skin.fbx
bash launch/inference/merge.sh --source results/giraffe_skin.fbx --target examples/giraffe.glb --output results/giraffe_rigged.glb
Read moreDetails
Training on Rignet: best results are usually around epoch 120, taking about 18 hours on 4× RTX 4090 (multi-node training was not tested).
The release includes a skeleton and skinning checkpoint trained on Articulation-XL2.0, as well as the Rig-XL datasets (based on Objaverse, values in float16) and VRoid.
Limitations: skinning accuracy drops noticeably with an inaccurate skeleton (for example, if tail or wing bones are missed); bone attribute prediction for physics is marked as Coming Soon.
Examples and video
Discuss Telegram 0

Will it run?

Runs in BF16

Fits without quantisation.

  • BF16weights 1.3 GB · ready files2.0 GB
  • FP8 / INT8recommendedweights 0.7 GB1.2 GB
  • 4-bitweights 0.4 GB0.9 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.

    # bahae98/unirig-mlx
    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 bahae98/unirig-mlx --local-dir ~/models/unirig-mlx
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to unirig-mlx
  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.0b40from November 18, 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, 2026new release

    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 unirig-mlx (quants, finetunes, LoRAs) will show up under the bell.

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

About the model

bahae98/unirig-mlx
Author
bahae98
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