utility-models

Utility models used by my ComfyUI workflows and downloaded on first use by the nodes of ComfyUI-BCNodes and ComfyUI-BCVideoNodes: segmentation, upscaling, person detection and pose, and frame interpolation.

One model each here. A model family with several variants has its own repository, from which the nodes download only the variant picked:

Folder names match ComfyUI's models/ folders, so the repo downloads straight into it:

hf download beycanai/utility-models --local-dir ComfyUI/models

Files

File Size Original source
checkpoints/sam3.1_multiplex_fp16.safetensors 1.75 GB Comfy-Org/sam3.1
sams/sam_vit_b_01ec64.pth 0.38 GB Meta segment-anything
diffusion_models/seedvr2_7b_sharp_int8_convrot.safetensors 8.33 GB Comfy-Org/SeedVR2
vae/seedvr2_ema_vae_fp16.safetensors 0.50 GB Comfy-Org/SeedVR2
detection/yolov10m.onnx 0.06 GB -
detection/yolov10x.onnx 0.12 GB onnx-community/yolov10x
detection/yolov10x_fp32.safetensors 0.12 GB onnx-community/yolov10x, converted (below)
detection/vitpose_h_wholebody_fp16.safetensors 1.28 GB Kijai/vitpose_comfy, converted (below)
frame_interpolation/rife_v4.25.safetensors 0.02 GB -
frame_interpolation/film_net_fp16.safetensors 0.07 GB Comfy-Org/Frame-Interpolation

Files are copied unchanged from their original sources and keep their original licenses, except the two detection/*.safetensors files, converted as described below.

Licenses

  • SAM 3.1: Meta's SAM License, in licenses/sam3.1_LICENSE.
  • YOLOv10 (the detection/yolov10* files): AGPL-3.0 (THU-MIG/yolov10). Running them locally is unaffected; offering a service over a network that runs them (a hosted workflow, a SaaS) brings AGPL-3.0's network clause into play, which requires making the corresponding source available to that service's users.
  • ViTPose-H: Apache-2.0.
  • FILM (frame_interpolation/film_net_fp16.safetensors): Apache-2.0 (google-research/frame-interpolation), in licenses/Apache-2.0.txt.

The BCVideoNodes pose models

detection/yolov10x_fp32.safetensors and detection/vitpose_h_wholebody_fp16.safetensors are the person detector and the wholebody pose model of ComfyUI-BCVideoNodes' Pose Detection, which downloads them into ComfyUI/models/detection/.

Why these are not the original files

Upstream ships these as ONNX. The nodes run them as plain torch modules instead β€” the architecture is written out by hand and the weights are loaded into it, which removes the onnx dependency, removes a protobuf parse and a graph walk from every model load, and replaces ViTPose's two-file external-data export (a 420 KB graph plus a 2.5 GB .bin) with one file.

Each file carries its architecture in the safetensors metadata, so the loader needs nothing but the file.

Precision

ViTPose-H is fp16, YOLOv10x is fp32, because fp16 is not free and only ViTPose-H is large enough for it to pay:

model fp32 fp16 saved
ViTPose-H 2.43 GB 1.22 GB 1.2 GB
YOLOv10x 113 MB 57 MB 56 MB

What it costs, measured on 3,073 real crops against the fp32 ONNX model under onnxruntime (what the official Wan preprocess runs): 27 draw decisions flip, 4 body and 23 hand keypoints, each sitting at the draw threshold. The same native module in fp32 flips none (largest move 0.065 px), so the flips are fp16's. Running fp32 end to end was no net gain on the pose; fp16 stays and saves 1.2 GB.

Keypoints the model does not draw are left out of such comparisons, and that matters: on those the score distribution is flat, so the argmax is noise in either precision, and fp16 appears to move them by up to 215 px (an earlier 60-frame check). That number is what a flat distribution does, not what fp16 does.

Conversion

The converter lives in the node repository, scripts/convert_models.py. It reads the upstream ONNX file, builds the native module from it, and writes the module's own state dict plus its architecture. Rerun it to update a model; do not hand-edit the files here.

Credit

The pose models are OpenMMLab's and the ViTPose authors' work; YOLOv10 is THU-MIG. This repository only re-packages them. The wholebody pose utilities in the node repository are vendored from the Alibaba Wan team's WanAnimate preprocess and keep their copyright header.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support