Open agarwalml opened 5 days ago
Hi, diffusers doesn't load in a loop, so if you're getting the file reloading multiple times it's probably because of something in your code and not in diffusers. For what I remember, the only thing that could happen is that the custom pipeline doesn't get loaded but in no instance diffusers will try to reload a file in a loop multiple times.
Also that pipeline it's old and doesn't get any updates, the same author did an awesome external library you can use that works better with the current changes and you don't have to use a custom pipeline.
I'm trying the same thing as https://github.com/huggingface/diffusers/issues/3567 using from_single_file() (assuming this is a renamed from_ckpt().
So far, this is what I have:
The file keeps getting reloaded every single iteration, which causes my server to shut down. Any clue how I can keep the .py file stable?
Originally posted by @agarwalml in https://github.com/huggingface/diffusers/issues/3567#issuecomment-2381028483