3 ms·
People don't usually write the rules of a game or a MCTS to run on the GPU. They write it in Python, Lua, or C. If they write it in Python, then the GPU will id
by anonymoushn 5y ago
People don't usually write the rules of a game or a MCTS to run on the GPU. They write it in Python, Lua, or C. If they write it in Python, then the GPU will idle all the time. If they write it in Lua or C then it will not.
- dklend122 5y agoIn Julia it's easy to run the entire thing on CUDA: https://github.com/fabricerosay/AlphaGPU https://github.com/fabricerosay/AlphaGPU No C or any other language required because Julia has GPU codegen. You can also keep MCTS on the CPU and be competitive with cpp despite the code being higher level, easier to read and more generic and composable. See: https://github.com/jonathan-laurent/AlphaZero.jl https://github.com/jonathan-laurent/AlphaZero.jl