texturize icon indicating copy to clipboard operation
texturize copied to clipboard

Running on multiple GPUs

Open Crubert-digit opened this issue 3 years ago • 1 comments

Hi! First, Thanks for texturize, it's a really great job.

I was wondering if it's possible to run the application on multiple GPUs. I'm trying to mashup on images of size 1024x1024px and it takes a long time depending on the parameters(quality, VGGXX, octaves, etc.), between 5 and 30 minutes.

My system has two Nvidia GPUs of 16GB but only one is being used during the process. So now I'm trying to compute the mashup on both GPU simultaneously to reduce the time.

Crubert-digit avatar May 12 '21 14:05 Crubert-digit

I haven't worked on multi-GPU for this code yet. If you're willing to sacrifice some quality, then splitting up the image and running multiple critics in parallel on different tiles could do the trick... I'm not sure how the current code would need to be changed, but I'll keep it in mind for the next iteration!

alexjc avatar Sep 14 '21 19:09 alexjc