Search found 37 matches

by grahamj
Sun Jan 20, 2019 12:06 pm
Forum: Computer Chess Club: General Topics
Topic: Why Lc0 eval (in cp) is asymmetric against AB engines?
Replies: 16
Views: 3799

Re: Why Lc0 eval (in cp) is asymmetric against AB engines?

I have found a quite different type of assymmetry. I use board positions taken randomly from various sets of games, evaluate them with both SF and LC0 using python-chess, convert to prob(win), and graph. I gave them 150ms each. The graph uses 1000 positions from 1000 games from LC0's Test20 self-pla...
by grahamj
Thu Jan 17, 2019 9:17 pm
Forum: Computer Chess Club: General Topics
Topic: Can somebody explain what makes Leela as strong as Komodo?
Replies: 50
Views: 7636

Re: Can somebody explain what makes Leela as strong as Komodo?

Is it the Hardware speed or some breakthrough programming innovation? So far what is the score between Komodo and Leela ? https://www.youtube.com/watch?v=ymDA7-hdkKA My answer is a bit different than others. Leela (following AlphaZero) has found a way to use a powerful GPU for chess, which is itsel...
by grahamj
Thu Jan 17, 2019 4:21 pm
Forum: Computer Chess Club: General Topics
Topic: Can somebody explain what makes Leela as strong as Komodo?
Replies: 50
Views: 7636

Re: Can somebody explain what makes Leela as strong as Komodo?

... But NN just seem to be an "natural" fit for gpus. Srdja Right and this is the essence. If NNs are such a natural fit for GPUs, why is NVIDIA's NN library so big? The Windows DLL is 280Mb, about 100x the size of the SF and LC0 binaries put together. It appears that NVIDIA have spent a huge amoun...
by grahamj
Thu Jan 17, 2019 2:01 pm
Forum: Computer Chess Club: General Topics
Topic: Can somebody explain what makes Leela as strong as Komodo?
Replies: 50
Views: 7636

Re: Can somebody explain what makes Leela as strong as Komodo?

... But NN just seem to be an "natural" fit for gpus. Srdja Right and this is the essence. If NNs are such a natural fit for GPUs, why is NVIDIA's NN library so big? The Windows DLL is 280Mb, about 100x the size of the SF and LC0 binaries put together. It appears that NVIDIA have spent a huge amoun...
by grahamj
Thu Jan 17, 2019 9:18 am
Forum: Computer Chess Club: General Topics
Topic: Can somebody explain what makes Leela as strong as Komodo?
Replies: 50
Views: 7636

Re: Can somebody explain what makes Leela as strong as Komodo?

Like lkaufman, I think it's mainly a successful exploitation of hardware. I look at the AlphaZero paper in two quite different ways. As a scientific contribution, the important thing is the generality of the algorithm. The importance of the `zero' approach is not to avoid human bias, it is to demons...
by grahamj
Sun Jan 13, 2019 8:07 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Writing bugs
Replies: 66
Views: 11755

Re: Writing bugs

mar wrote:
Sat Jan 12, 2019 7:46 pm
You mean something like this? :)
:)
by grahamj
Sat Jan 12, 2019 4:59 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Writing bugs
Replies: 66
Views: 11755

Re: Writing bugs

This is no excuse for using a bad PRNG. It isn't "bad", it's at worst unsuited for certain applications. A very long time ago, probably last century, I wanted to make a random texture for artistic purposes. I knew that Microsoft's rand() was bad, but I thought it would be good enough just to make a...
by grahamj
Fri Jan 11, 2019 11:39 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Writing bugs
Replies: 66
Views: 11755

Re: Writing bugs

Yes, it's Python parallel/delayed code which then calls up (8) C-threads, each thread plays out 1024 games (not chess). At the beginning of each game the piece square table is varied a bit, each entry has a small-ish randint based on rand() added to it.. The speed up is near linear, multiple parall...
by grahamj
Sat Jan 05, 2019 8:45 am
Forum: Computer Chess Club: General Topics
Topic: LCZero FAQ is missing one important fact
Replies: 9
Views: 1838

Re: LCZero FAQ is missing one important fact

Why are just GPUs fast with NN engines? Please explain it to me! Before AlphaZero even came out including its paper, there was already a thread here by someone asking about harnessing GPU power because this expensive piece of hardware was just uselessly sitting down inside our machines during that ...
by grahamj
Tue Jan 01, 2019 2:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 5625

Re: Generate EGTB with graphics cards?

I am learning how to program GPUs, in particular, NVIDIA GPUs. I think other GPUs are similar, but I'll stick to what I (half) know. On terminology, a single NVIDIA GPU has 100s or 1000s of 'CUDA cores'. 1. You will be launching LOTS of threads. It depends on the calculation, but to fully utilise th...