rq icon indicating copy to clipboard operation
rq copied to clipboard

Machine learning models are forced to use single thread

Open AIApprentice101 opened this issue 1 year ago • 0 comments

Thank you for the great tool. I have an issue when implementing RQ in my project, where I use a Transformer model (Pytorch backend). Without RQ, the model is using multiple threads of the CPU. But when I spin up the model in RQ's SimpleWorker, the model is forced to use just one thread; causing it to be super slow.

Any help would be much appreciated.

AIApprentice101 avatar Oct 10 '23 16:10 AIApprentice101