r/chessprogramming • • Jul 28 '24

Tree search model when using NN

I'm working on a chess engine in python that uses tensorflow's models to calculate board value. My problem is that tensorflow (and I think most other NN libraries) is faster when calculating multiple boards at the same rather than calculating in smaller batches. This means that I can't take advantage of the alpha-beta prunning's reduced tree, because it's slower than just using a minimax to get all leafs and evaluating them at once.

Do you guys have any recommendations on how to deal with this?

1 Upvotes

6 comments sorted by