ml-stable-diffusion icon indicating copy to clipboard operation
ml-stable-diffusion copied to clipboard

EnumeratedShapes horrible performance

Open cchance27 opened this issue 2 years ago • 0 comments

I posted this over at ... https://github.com/aszc-dev/ComfyUI-CoreMLSuite/issues/35 because thats where i'm working with it, and basically found that when i converted to EnumeratedShapes and used 512x512 (one of the shapes) instead of a stock 512x512 conversion to coreml, the model ran 5x slower, 5s/it instead of 1s/it (without any coreml, it's only 1.3s/it, so the enumeratedshapes makes it 4-5x slower as just not using coreml at all.

Has anyone else experimented with the Enumerated Shapes and Ranges vs the single size selection?

cchance27 avatar Dec 19 '23 18:12 cchance27