How can I force PyTorch NOT to use more than 1 threads

后端 未结 0 1513
深忆病人
深忆病人 2021-01-01 19:51

I use PyTorch 1.6 on a single CPU with multiple cores and want pytorch not to generate more than 1 threads. By using the following setting, I manage to redu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题