Skip to content

zmwv823/ComfyUI-PMRF

 
 

Repository files navigation

ComfyUI-PMRF

ComfyUI node for PMRF

workflow in node dir.

Checkpoint in ComfyUI\custom_nodes\ComfyUI-PMRF\checkpoint or huggingface_cache_dir. Auto download or manual download into ComfyUI\custom_nodes\ComfyUI-PMRF\checkpoint.

Install by git cloning this repo to your ComfyUI custom_nodes directory and then restarting ComfyUI, after which all the PMRF models will be downloaded and necessary packages like NATTEN will be automatically installed for you...

from your main ComfyUI dir:
cd custom_nodes
git clone https://github.com/zmwv823/ComfyUI-PMRF

PMRF uses NATTEN, which requires matching its builds to your ComfyUI's venv/conda environment's CUDA and Torch versions.

This isn't a problem on linux as there are ample builds available for CUDA 11.8 to 12.4 and Torch 2.1 to 2.4, but if you are on Windows it is another story. NATTEN doesn't provide any Windows builds, just a means to build/install NATTEN on Windows yourself if you have MSVC and the CUDA toolkit installed, etc.

Therefore to make this ComfyUI-PMRF node a bit more accessible to Windows users I have spent the time to build 3 variants of NATTEN for Windows which are located here: https://huggingface.co/2kpr/NATTEN-Windows. These 3 variants are for python 3.10, 3.11, and 3.12, each tied to CUDA 12.4 and Torch 2.4.

So, if you are on Windows and you meet those specs then NATTEN will be automatically installed for you from one of those 3 variant builds and there is nothing you need to do extra, but if you happen to be on Windows and have a python version below 3.10 or above 3.12 and/or you don't have both CUDA 12.4 and Torch 2.4 installed in your ComfyUI's venv/conda environment, then you will have to build/install NATTEN on Windows yourself.


PMRF Links:

https://pmrf-ml.github.io/
https://github.com/ohayonguy/PMRF
https://arxiv.org/abs/2410.00418
https://huggingface.co/spaces/ohayonguy/PMRF

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%