Nodes/VNCCS - Visual Novel Character Creation Suite/VNCCS WorldMirror V2 Model Loader
ComfyUI Node

VNCCS WorldMirror V2 Model Loader

Two switches, one 3D model, zero setup

By AHEKOT·Created about a year ago·Updated 2 days ago· 1,817
VNCCS WorldMirror V2 Model Loader
    • model
    ◄devicecuda►
    ◄precisionbf16►

    What you're loading

    WorldMirror is Tencent's scene-reconstruction model from the HY-World 2.0 line - the same lineage behind the HunyuanWorld releases that made "generate an explorable room from one picture and get engine-ready geometry out" sound plausible. VNCCS WorldMirror V2 Model Loader is the boring, essential half of using it inside ComfyUI: it fetches the weights and hands them downstream as a model object that VNCCS WorldMirror V2 3D Reconstruction can actually run.

    Boring is good here. This node has no required inputs. Two optional drop-downs. That's it. Which is worth appreciating, because the 3D corner of the ComfyUI ecosystem is the most install-fragile part of the whole stack - the notorious packs want compiled CUDA extensions built against your exact torch version. This one wants a Hugging Face download and a restart.

    How it works

    On first run it looks for two files under ComfyUI/models/WorldMirror-V2/HY-WorldMirror-2.0/ - config.json and model.safetensors. If they're not there, it pulls them from tencent/HY-World-2.0 on the Hub at a pinned revision, into exactly that directory, with token=False (so no auth needed, and nothing private leaks anywhere). Then it builds the network on the meta device, loads the state dict on CPU, and verifies that no tensor was left uninitialised - if the checkpoint and the code disagree, you get WorldMirror checkpoint did not initialize every inference tensor instead of a mystery crash three nodes later. Everything is set to eval, gradients off, cast to bf16, then wrapped in a ComfyUI ModelPatcher so ComfyUI's own memory management knows about it.

    Both paths are path-checked: the loader refuses to touch anything outside ComfyUI's model directory. If you've pointed models_dir somewhere clever with symlinks, that's where it'll complain.

    The two inputs

    device - cuda (default) or cpu. Use cuda unless you're debugging. cpu isn't a fallback that quietly works in the background; it'll be glacial, and it's mostly there so a broken CUDA path produces a diagnosable error rather than an OOM. If CUDA is selected and ComfyUI's torch device isn't actually CUDA, it says so plainly: WorldMirror CUDA mode requires a CUDA device in ComfyUI.

    precision - bf16 (default), convrot8, convrot4. The author's tooltip is the whole story: "ConvRot8 uses rotated INT8 and ConvRot4 uses rotated INT4 via Comfy Kitchen." Practically, this is your VRAM dial. Reconstruction is a memory-hungry job - think tens of gigabytes for a decent-size scene at default settings - so on a 16GB or 24GB card, convrot8 is the option that turns "it OOMs" into "it runs slower". convrot4 goes further and starts to cost quality. Start at bf16 if your card can take it, drop to convrot8 and only drop further if you must.

    One output: model, type VNCCS_WORLDMIRROR_V2_MODEL. Wire it into VNCCS WorldMirror V2 3D Reconstruction's model input. Nothing else consumes it.

    Install

    cd ComfyUI/custom_nodes
    git clone https://github.com/AHEKOT/ComfyUI_VNCCS.git vnccs
    cd vnccs
    python -m pip install -r requirements.txt
    

    Restart. There is no separate 3D install step and no manual model placement required - the loader downloads on first execution, so the first run of a workflow containing it will sit there printing [VNCCS WorldMirror V2] Downloading HY-WorldMirror-2.0/... while a multi-gigabyte file lands. Budget for that once, and don't kill ComfyUI halfway through.

    If you'd rather pre-fetch, the layout is fixed, so you can seed the files yourself before the first run:

    ls ComfyUI/models/WorldMirror-V2/HY-WorldMirror-2.0/
    # config.json  model.safetensors
    

    Where people get burned

    The download runs inside the queue. It's not a background prefetch - the node downloads during execution, so a workflow that looks frozen is usually just fetching. Check the console.

    Wrong precision, wrong error. convrot8/convrot4 route through Comfy Kitchen's quantisation path. If you're on an older ComfyUI or a torch build that doesn't cooperate, the failure shows up as a quantisation or kernel error, not a clear "unsupported". If you're troubleshooting at all, set precision back to bf16 and confirm the model runs before reintroducing quantisation.

    It loads and then the reconstruction OOMs anyway. That's not the loader's fault - the loader is holding bf16 weights idle, the inference node is what balloons. Go to the reconstruction node's low_vram_mode and offload_scheme before you go hunting for a different model.

    CPU mode as a Hail Mary. It will run. It will take a very long time, and some of the inference paths are chunked assuming GPU throughput. Treat it as a smoke test rather than a workflow.

    CategoryVNCCS/3D

    Inputs (2)

    NameTypeDefaultDescription
    deviceoptCOMBOcuda2 options: cuda, cpu
    precisionoptCOMBObf16ConvRot8 uses rotated INT8 and ConvRot4 uses rotated INT4 via Comfy Kitchen.

    Outputs (1)

    NameTypeDescription
    modelVNCCS_WORLDMIRROR_V2_MODEL—