You’re the best, thanks so much for trying it and getting it working!
I don’t think it’s ever not worth chasing improved performance, so I’m definitely going to continue looking for optimizations. While cannibalizing the code for Comfy and A1111, I saw a lot (and I mean a lot) of shortcuts being made over the official Stability code release that improves performance in specific situations. I’m going to try and see how I can leverage some of those shortcuts into options for the user to tune to their hardware.
This latest release has attracted some more developer attention (and also some inquiries from hosting providers about offering Enfugue in the cloud!) I’m hoping that some of the authors of those improvements find their way to the Enfugue repository and perhaps are inspired to contribute.
With that being said, TensorRT will definitely knock your socks off in terms of speed if you haven’t used it before, if you’ve got the hardware for it. I’d be happy to troubleshoot whatever went wrong with your Windows install - there should be up to three enfugue-engine.log
files in your ~/.cache/
directory that will have more information about what went wrong, if you’d like to share them here (or we can start a GitHub thread if you have that.)
Thank you again for all your help!
YOU GOT IT WORKING?
You are the first person to stick through to the end and do it. Seriously. Thank you so much for confirming that it works on some machine besides mine and monster servers in the cloud.
The configuration is obviously a pain point, but we’re running along the cutting edge with TensorRT on Windows at all. I’m hoping Nvidia makes it easier soon, or at least relaxes the license so I’m not running afoul if I redistribute required dll’s (for comparison, Nvidia publishes TensorRT binary libraries for Linux directly on pip, no license required.)
It’s also a pain that 11.7 is the best CUDA version for Stable Diffusion with TensorRT. I couldn’t even get 11.8, 12.0 or 12.1 to work at all on Windows with TensorRT (they work fine on their own.) On Linux, they would work, but would at best give me the same speed as regular GPU inference, and at worst would be slower, completely defeating the point.