ComfyUI-Precision-Detector
Three simple ComfyUI nodes that show the precision ComfyUI is actually using at runtime.
ComfyUI Runtime Precision Detector
<img width="988" height="338" alt="image" src="https://github.com/user-attachments/assets/15f176f5-0b4a-4f26-b1e2-016a8e083659" />Three simple ComfyUI nodes that show the precision ComfyUI is actually using at runtime.
- Detect Model Precision —
MODELto text - Detect CLIP Precision —
CLIPto text - Detect VAE Precision —
VAEto text
The report appears inside the node and is also available as a STRING output.
Active compute: BF16
Runtime weights: NVFP4
Quantization: NVFP4 (layout TensorCoreNVFP4Layout; logical BF16; storage UINT8)
Install
- Download this repository.
- Copy the
ComfyUI-Precision-Detectorfolder intoComfyUI/custom_nodes. - Restart ComfyUI and refresh the browser.
No extra Python packages are required.
Use
- Add a detector from
utils/precision. - Connect a loaded MODEL, CLIP, or VAE.
- Queue the workflow.
The detector reports active compute separately from weight storage. For example, an NVFP4 model that computes in BF16 shows both values.
Supported labels include FP64, FP32, FP16, BF16, PyTorch FP8 variants, FP4, NVFP4, MXFP8, INT8, INT4/ConvRot W4A4, mixed weights, and other PyTorch numeric dtypes exposed by the connected object.
An example is included in example_workflows/precision_detection.json. Select models installed in your own ComfyUI before running it.
Test
From the ComfyUI directory:
..\python_embeded\python.exe -m unittest discover -s custom_nodes\ComfyUI-Precision-Detector\tests -v
License
MIT