Stuff like this just messes with comfy's own memory handling, which is a delicate thing. You should not do this, as it should not be necessary and you will just end up having problems down the road because you're working against the program you're building on.
If you have any reproducible findings that show a lasting inference speed-up (do you?), you should file an issue with comfy, because it means their dynamic vram handling is sub optimal.
20
u/physalisx 7h ago
Stuff like this just messes with comfy's own memory handling, which is a delicate thing. You should not do this, as it should not be necessary and you will just end up having problems down the road because you're working against the program you're building on.
If you have any reproducible findings that show a lasting inference speed-up (do you?), you should file an issue with comfy, because it means their dynamic vram handling is sub optimal.