Zeta36 / connect4-alpha-zero

Connect4 reinforcement learning by AlphaGo Zero methods.
MIT License
114 stars 38 forks source link

Accerleration with asynchronous MCTS is unstable #6

Closed xuehy closed 5 years ago

xuehy commented 5 years ago

Hi! When running your code, I monitored the size of prediction_queue. I find that every time the prediction_worker carries out its computation, the size of the queue is different. And the size can never reach the prediction_queue_size I set, which means the parallelism is far from enough. The queue size is usually very small. Do you have any ideas how to increase the parallelism so that every time the worker computes the result, the queue size is large enough to better utilize the GPU?

xuehy commented 5 years ago

solved!