Lc0 will hardly ever win TCEC or CCCC?

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Raphexon
Posts: 476
Joined: Sun Mar 17, 2019 12:00 pm
Full name: Henk Drost

Re: Lc0 will hardly ever win TCEC or CCCC?

Post by Raphexon »

Milos wrote: Thu Jul 23, 2020 3:10 pm
Dann Corbit wrote: Thu Jul 23, 2020 7:44 am Everything is a moving target (all the mentioned engines) and so it is very hard to make predictions.

I guess the ultimate winner will be ...
Something new. At some point anyway.
It quite often turns out that way.

We get surprised and we get surprised and somehow, even after being surprised over and over and over, we get surprised again. It's pretty strange when you think about it.

Watch Olithink become world champion. Of course by then it might be bloated to nearly 100k.
:twisted:
Well it'll be over for quite some period. MCTS and big nets are not the way to go as it has been known for a while. And A/B with handcrafted eval is not using hardware in the best possible way. It's been clear for a while that A/B with fast small NN eval is a way to go. We lacked good implementation of it (we can now see how bad and "noob" was Giraffe NN for example). Now it's there. Once main SF devs embrace it and start tuning search together with eval, sky is the limit. This is a real paradigm shift, not A0 or Lc0.
Plus there is another aspect. New CPUs will be having more and more support for vector INT8 and BFLOAT16 multiplication operations. So running things on GPUs is not gonna make advantage.
They're already working on it to make it compatible with Fishtest.
But this won't be done in a week.
Dann Corbit
Posts: 12542
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Lc0 will hardly ever win TCEC or CCCC?

Post by Dann Corbit »

Milos wrote: Thu Jul 23, 2020 3:10 pm Plus there is another aspect. New CPUs will be having more and more support for vector INT8 and BFLOAT16 multiplication operations. So running things on GPUs is not gonna make advantage.
I think your analysis is pretty interesting, but there is something to think about with this last part. The AMD team is working on transparent memory access, including direct access to video ram by the CPU. So it is much more like a real co-processor than the current horrible paradigm of make a huge, slow copy to video RAM, have the GPU churn like mad, and then make a huge slow copy from video RAM.

And a second pause for thought is that CPUs do billions of operations per second and GPUs do trillions of operations per second. If we can eliminate the memory copy bottleneck and have the CPU and GPU do true cooperative processing that would really be something and perhaps allow a sort of synergy that has not been possible.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Milos
Posts: 4190
Joined: Wed Nov 25, 2009 1:47 am

Re: Lc0 will hardly ever win TCEC or CCCC?

Post by Milos »

Raphexon wrote: Thu Jul 23, 2020 3:25 pm
Milos wrote: Thu Jul 23, 2020 3:10 pm
Dann Corbit wrote: Thu Jul 23, 2020 7:44 am Everything is a moving target (all the mentioned engines) and so it is very hard to make predictions.

I guess the ultimate winner will be ...
Something new. At some point anyway.
It quite often turns out that way.

We get surprised and we get surprised and somehow, even after being surprised over and over and over, we get surprised again. It's pretty strange when you think about it.

Watch Olithink become world champion. Of course by then it might be bloated to nearly 100k.
:twisted:
Well it'll be over for quite some period. MCTS and big nets are not the way to go as it has been known for a while. And A/B with handcrafted eval is not using hardware in the best possible way. It's been clear for a while that A/B with fast small NN eval is a way to go. We lacked good implementation of it (we can now see how bad and "noob" was Giraffe NN for example). Now it's there. Once main SF devs embrace it and start tuning search together with eval, sky is the limit. This is a real paradigm shift, not A0 or Lc0.
Plus there is another aspect. New CPUs will be having more and more support for vector INT8 and BFLOAT16 multiplication operations. So running things on GPUs is not gonna make advantage.
They're already working on it to make it compatible with Fishtest.
But this won't be done in a week.
That's really good news, didn't have a clue they'd so quickly adopt it (I don't follow SFdev discord).
Milos
Posts: 4190
Joined: Wed Nov 25, 2009 1:47 am

Re: Lc0 will hardly ever win TCEC or CCCC?

Post by Milos »

Dann Corbit wrote: Thu Jul 23, 2020 3:38 pm
Milos wrote: Thu Jul 23, 2020 3:10 pm Plus there is another aspect. New CPUs will be having more and more support for vector INT8 and BFLOAT16 multiplication operations. So running things on GPUs is not gonna make advantage.
I think your analysis is pretty interesting, but there is something to think about with this last part. The AMD team is working on transparent memory access, including direct access to video ram by the CPU. So it is much more like a real co-processor than the current horrible paradigm of make a huge, slow copy to video RAM, have the GPU churn like mad, and then make a huge slow copy from video RAM.

And a second pause for thought is that CPUs do billions of operations per second and GPUs do trillions of operations per second. If we can eliminate the memory copy bottleneck and have the CPU and GPU do true cooperative processing that would really be something and perhaps allow a sort of synergy that has not been possible.
Yes, what AMD is working on is indeed very promising technology. One extra thing that is really required beside transparent RAM is cache coherence between CPU and GPU cache. However, that one is much more challenging to achieve.
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: Lc0 will hardly ever win TCEC or CCCC?

Post by Dr.Wael Deeb »

Dann Corbit wrote: Thu Jul 23, 2020 3:38 pm
Milos wrote: Thu Jul 23, 2020 3:10 pm Plus there is another aspect. New CPUs will be having more and more support for vector INT8 and BFLOAT16 multiplication operations. So running things on GPUs is not gonna make advantage.
I think your analysis is pretty interesting, but there is something to think about with this last part. The AMD team is working on transparent memory access, including direct access to video ram by the CPU. So it is much more like a real co-processor than the current horrible paradigm of make a huge, slow copy to video RAM, have the GPU churn like mad, and then make a huge slow copy from video RAM.

And a second pause for thought is that CPUs do billions of operations per second and GPUs do trillions of operations per second. If we can eliminate the memory copy bottleneck and have the CPU and GPU do true cooperative processing that would really be something and perhaps allow a sort of synergy that has not been possible.
Interesting concept indeed ....

Cheers,
Dr.D
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….