Based on hunyuan video wrapper by kijai.
Update 1/1/25
This adds device selection nodes to hunyuan video wrapper.
I have included the workflow.
AND there is a download for the changed files if you want to just manually replace the 2 files in /custom_nodes/Comfyui-HunyuanVideoWrapper/
Or you can download the git from here.
https://github.com/MrReclusive/ComfyUI-HunyuanVWMultiGPU
This has be recoded from the last version to make this all optional, so I could get the pull request approved.
so this IS coming to base hunyuanvideowrapper.
I've modified the nodes to allow selection of device for those with multiple gpu's, this was necessary for me as my system has 2 4090's on a 1x pcie switch, so unloading and loading was slower then generating, with 2 4090's and the 4080 I don't have to unload anything during generation anymore.
Description
FAQ
Comments (5)
nice!!!
Is it possible to use it now? If yes, how? ...the steps.
yeah, I've been using it. you will need this.
https://github.com/MrReclusive/ComfyUI-HunyuanVWMultiGPU
and then this workflow.
I do need to update the multigpu git with the changes they have made to the video wrapper, im 1 day out of date ATM, They added a video enhancer, I need to dig into that, give me a day or 2 on that.
This workflow was purposely built for my setup, which is probably incredibly rare in the fact that my 4090's sit on a 1x pcie switch, so I don't use block swap or ANY unloading because transferring to 2 cards over 1x pcie bandwidth is dogshit, but its a setup I run for 3d rendering, and 3d rendering is fine over that.
The multigpu video wrapper git just adds device selection to various nodes of the video wrapper, so you can load text model one gpu, sampler to another, and decode to another if you have 3 gpu's, if you only have 2 you probably want to run the text encoder and video decoder on the same gpu and have the text encoder unload.
@mrreclusive3545 I maintain the kijai wrapper on custom nodes, right? You propaply need to open issues tab in this repo.
@zazoum I asked them to add gpu selection to kajai, never heard a response, so I added it, and shared it on git, I opened a pull request when I did, that was 3 days ago, and now they added the video enhancer, which broke the pull request, so I need to update this to work with that, but it still works on its own, just won't have the video enhancer.
