punctuator2 icon indicating copy to clipboard operation
punctuator2 copied to clipboard

Punctuate with GPU

Open MeteorBurn opened this issue 6 years ago • 2 comments

Hello! I try to use GPU with CUDA with cuDNN for punctuating on Windows. My Theano tests show that CPU (i7 7700) spend 11 sec and GPU (GTX 1060 6 GB) 0,2 sec.

But I noticed interesting thing, when I punctuate a big text with more 75 000 symbols, GPU punctuates texts faster than CPU, but when text has less 50 000 symbols, then CPU punctuates texts faster than GPU.

How can this be? And how to make the GPU punctuate texts faster regardless of their size?

MeteorBurn avatar Aug 03 '18 18:08 MeteorBurn

There's some overhead involved in loading to and from the GPU so it makes sense you would see a threshold like that. Not sure how to get around that, it's more of a hardware thing.

robinsax avatar Aug 25 '18 02:08 robinsax

Thank you!

MeteorBurn avatar Aug 26 '18 17:08 MeteorBurn