Use the Files & Versions py file
#4
by
pftq
- opened
The code on the model card / readme is different and has memory issues compared to the one in Files & Versions (which has CPU offloading). Probably should just remove the code from the model card since it's confusing and probably a lot of people end up trying that first only to get out of memory errors.
You're right i missed this somehow. Will update the code to in the README enable cpu offloading
Probably better just to say look at the py file in the Files tab. It's confusing to have two versions to maintain.
Actually isn't this the newest version? What is the difference between the py file here and the github repo?
https://github.com/dashtoon/hunyuan-video-keyframe-control-lora/blob/main/hv_control_lora_inference.py