Search found 685 matches

by Rein Halbersma
Thu Apr 25, 2019 7:18 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Wouldn't it be nice if C++ GPU
Replies: 24
Views: 1845

Re: Wouldn't it be nice if C++ GPU

If you require GPU support on Ubuntu, please also install Bazel (from https://github.com/FloopCZ/tensorflow_cc) Thanks for correcting me! But at least it's a one time use and you don't need to integrate Bazel into your own project build. I've also just found another package that is installable on D...
by Rein Halbersma
Thu Apr 25, 2019 6:23 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Wouldn't it be nice if C++ GPU
Replies: 24
Views: 1845

Re: Wouldn't it be nice if C++ GPU

LeelaChessZero uses the 3rd party tensorflow_cc wrapper library around the official Tensorflow C++ API, to avoid the Bazel build stuff. See https://github.com/LeelaChessZero/lc0/blob/master/tensorflow.md Thanks for the link. Bazel is still necessary to build the library itself. This is in fact what...
by Rein Halbersma
Thu Apr 25, 2019 4:58 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Wouldn't it be nice if C++ GPU
Replies: 24
Views: 1845

Re: Wouldn't it be nice if C++ GPU

I developed my own home-made C++ deep-learning framework just to be able to do that. I used tensorflow for a while, but it was too painful to use from C++. What you describe can be done with tensorflow, but last time I tried, I had to use undocumented/unsupported features of the low-level C++ tenso...
by Rein Halbersma
Mon Mar 18, 2019 7:50 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: delaying tactics: prune or extend?
Replies: 5
Views: 1045

Re: delaying tactics: prune or extend?

Thanks, looking forward to it. You have a knack for raising such intricate points.
by Rein Halbersma
Sun Mar 17, 2019 10:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: delaying tactics: prune or extend?
Replies: 5
Views: 1045

Re: delaying tactics: prune or extend?

@hgm, you post a lengthy analysis, two people respond, and then you drop the subject? Nothing of interest to comment on?
by Rein Halbersma
Mon Mar 11, 2019 3:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: delaying tactics: prune or extend?
Replies: 5
Views: 1045

Re: delaying tactics: prune or extend?

In Stratego, there is a similar problem with such interposing attacks that lead to nowhere. There is the rule that you can't do more than 3 consecutive moves with the same piece between 2 squares. To implement this, the position struct keeps track of a small circular buffer of the last 3 squares per...
by Rein Halbersma
Tue Jan 15, 2019 3:52 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Reinforcement Learning (RL) in real time paradigm
Replies: 12
Views: 1726

Re: Reinforcement Learning (RL) in real time paradigm

HOW IT CAN BE DONE USING ONLY ONE THREAD From any given position using more shallow alpha-beta searches play a game of chess (or fragment of a game) until a decisive (or pseudo decisive) result. Add the moves into a tree structure in ram updating the the RL values. Play as many games as possible in...
by Rein Halbersma
Sat Dec 08, 2018 12:16 pm
Forum: Computer Chess Club: General Topics
Topic: Alphazero news
Replies: 381
Views: 45432

Re: Alphazero news

So why is it that A0's learning curve seems to flatten to almost no progress beyond it's current level? If e.g. the number of layers or channels is expanded, would you expect that a few hundred Elo more could be obtained? Or is A0 approaching perfection with its current network and is an absolute up...
by Rein Halbersma
Sat Nov 17, 2018 11:23 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: std::cout or printf
Replies: 27
Views: 3867

Re: std::cout or printf

Oh and speaking of ISO, if you want to read the C++ standard, you have to buy it :) It should be a good read, most likely more pages than War and Peace Nobody buys the official Standard, the latent draft is always freely available: https://github.com/cplusplus/draft (unders papers, most recent doc)...
by Rein Halbersma
Sun Oct 28, 2018 2:09 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: std::cout or printf
Replies: 27
Views: 3867

Re: std::cout or printf

I’ve been wanting to try https://github.com/fmtlib/fmt
There is an ongoing attempt to have this in the next C++ Standard.