Koivisto 7.0

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

Moderator: Ras

User avatar
Rebel
Posts: 7378
Joined: Thu Aug 18, 2011 12:04 pm
Full name: Ed Schröder

Re: Koivisto 7.0

Post by Rebel »

Luecx wrote: Mon Nov 01, 2021 2:45 pm
Rebel wrote: Mon Nov 01, 2021 2:42 pm What is old ?

From the command line, thus tt=16Mb

Code: Select all

Koivisto 7.0 AVX2
go depth 30
NPS = 1.032.550

Code: Select all

Koivisto 6.23
go depth 30
AVX2     = 1.514.873
SSE 4.2  = 1.636.404
SSE      = 1.533.761
Popcount = 1.607.047
The loss of speed is expected due to the larger network. I am not sure what exactly is going on and your results seem to match (the elo difference to 6.23 and 6.0). I was just curious why we are struggling to beat SF 10 whereas it beats SF 11 on my machine.
Just 200 games statistically is not very sound. I started a match, Koivisto 7 vs SF10, normal openings, 1000 games.

http://rebel13.nl/a/grl.htm

Fyi we added the option to stack arguments after the executable name (probably irrelevant for most)

Code: Select all

Koivisto.exe "go depth 10" "print" "eval"
will do the 3 commands after each other
90% of coding is debugging, the other 10% is writing bugs.
Luecx
Posts: 138
Joined: Thu Jun 18, 2020 9:20 pm
Full name: Finn Eggers

Re: Koivisto 7.0

Post by Luecx »

Rebel wrote: Mon Nov 01, 2021 5:39 pm
Luecx wrote: Mon Nov 01, 2021 2:45 pm
Rebel wrote: Mon Nov 01, 2021 2:42 pm What is old ?

From the command line, thus tt=16Mb

Code: Select all

Koivisto 7.0 AVX2
go depth 30
NPS = 1.032.550

Code: Select all

Koivisto 6.23
go depth 30
AVX2     = 1.514.873
SSE 4.2  = 1.636.404
SSE      = 1.533.761
Popcount = 1.607.047
The loss of speed is expected due to the larger network. I am not sure what exactly is going on and your results seem to match (the elo difference to 6.23 and 6.0). I was just curious why we are struggling to beat SF 10 whereas it beats SF 11 on my machine.
Just 200 games statistically is not very sound. I started a match, Koivisto 7 vs SF10, normal openings, 1000 games.

http://rebel13.nl/a/grl.htm

Fyi we added the option to stack arguments after the executable name (probably irrelevant for most)

Code: Select all

Koivisto.exe "go depth 10" "print" "eval"
will do the 3 commands after each other
interesting result! thanks a lot for testing :)
The ability to speak does not make you intelligent. https://github.com/Luecx/Koivisto

Image
User avatar
Rebel
Posts: 7378
Joined: Thu Aug 18, 2011 12:04 pm
Full name: Ed Schröder

Re: Koivisto 7.0

Post by Rebel »

Madeleine Birchfield wrote: Mon Nov 01, 2021 3:57 pm
Rebel wrote: Mon Nov 01, 2021 2:42 pm What is old ?
You said this in July this year:
Rebel wrote: Tue Jul 06, 2021 11:30 pm
AndrewGrant wrote: Tue Jul 06, 2021 10:30 pm I would love to see a push for all rating lists to make use of AVX2 processors. Most NNUE engines are gimped without those.
I fear another PC in the living room will be at the cost my marriage.
My charm won :lol:

BTW, hardly any speed difference between ethereal 13.25 NNUE AVX2 and the popcount version.
90% of coding is debugging, the other 10% is writing bugs.
Madeleine Birchfield
Posts: 512
Joined: Tue Sep 29, 2020 4:29 pm
Location: Dublin, Ireland
Full name: Madeleine Birchfield

Re: Koivisto 7.0

Post by Madeleine Birchfield »

Rebel wrote: Mon Nov 01, 2021 9:44 pm
Madeleine Birchfield wrote: Mon Nov 01, 2021 3:57 pm
Rebel wrote: Mon Nov 01, 2021 2:42 pm What is old ?
You said this in July this year:
Rebel wrote: Tue Jul 06, 2021 11:30 pm
AndrewGrant wrote: Tue Jul 06, 2021 10:30 pm I would love to see a push for all rating lists to make use of AVX2 processors. Most NNUE engines are gimped without those.
I fear another PC in the living room will be at the cost my marriage.
My charm won :lol:

BTW, hardly any speed difference between ethereal 13.25 NNUE AVX2 and the popcount version.
Maybe not on your hardware because you don't have avx2 instructions on your hardware, but other people with avx2 instructions on their hardware can detect and have detected a speed difference.
User avatar
Rebel
Posts: 7378
Joined: Thu Aug 18, 2011 12:04 pm
Full name: Ed Schröder

Re: Koivisto 7.0

Post by Rebel »

Madeleine Birchfield wrote: Mon Nov 01, 2021 11:01 pm
Rebel wrote: Mon Nov 01, 2021 9:44 pm
Madeleine Birchfield wrote: Mon Nov 01, 2021 3:57 pm
Rebel wrote: Mon Nov 01, 2021 2:42 pm What is old ?
You said this in July this year:
Rebel wrote: Tue Jul 06, 2021 11:30 pm
AndrewGrant wrote: Tue Jul 06, 2021 10:30 pm I would love to see a push for all rating lists to make use of AVX2 processors. Most NNUE engines are gimped without those.
I fear another PC in the living room will be at the cost my marriage.
My charm won :lol:

BTW, hardly any speed difference between ethereal 13.25 NNUE AVX2 and the popcount version.
Maybe not on your hardware because you don't have avx2 instructions on your hardware, but other people with avx2 instructions on their hardware can detect and have detected a speed difference.
You are wrong, an AVX2 compile will crash if the processor doesn't support AVX2.
90% of coding is debugging, the other 10% is writing bugs.
Jouni
Posts: 3642
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Re: Koivisto 7.0

Post by Jouni »

In CCC there is already 7.1 playing.
Jouni
User avatar
CMCanavessi
Posts: 1142
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: Koivisto 7.0

Post by CMCanavessi »

Rebel wrote: Mon Nov 01, 2021 11:36 pm
Madeleine Birchfield wrote: Mon Nov 01, 2021 11:01 pm
Rebel wrote: Mon Nov 01, 2021 9:44 pm
Madeleine Birchfield wrote: Mon Nov 01, 2021 3:57 pm
Rebel wrote: Mon Nov 01, 2021 2:42 pm What is old ?
You said this in July this year:
Rebel wrote: Tue Jul 06, 2021 11:30 pm
AndrewGrant wrote: Tue Jul 06, 2021 10:30 pm I would love to see a push for all rating lists to make use of AVX2 processors. Most NNUE engines are gimped without those.
I fear another PC in the living room will be at the cost my marriage.
My charm won :lol:

BTW, hardly any speed difference between ethereal 13.25 NNUE AVX2 and the popcount version.
Maybe not on your hardware because you don't have avx2 instructions on your hardware, but other people with avx2 instructions on their hardware can detect and have detected a speed difference.
You are wrong, an AVX2 compile will crash if the processor doesn't support AVX2.
Are you using an AMD processor? The problem is that while older Ryzen processors "support" AVX2, it's not a hardware instruction. It's done in software by dividing it in 2 and using normal AVX to process it, so, while it's supported, it works exactly the same (speed wise) as normal AVX so there's no boost in speed. In Intel processors (and Ryzen 3000 and newer), avx2 is real and you see almost a 100% speed increase.
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls
Krzysztof Grzelak
Posts: 1585
Joined: Tue Jul 15, 2014 12:47 pm

Re: Koivisto 7.0

Post by Krzysztof Grzelak »

CMCanavessi wrote: Wed Nov 03, 2021 7:16 pm Are you using an AMD processor? The problem is that while older Ryzen processors "support" AVX2, it's not a hardware instruction. It's done in software by dividing it in 2 and using normal AVX to process it, so, while it's supported, it works exactly the same (speed wise) as normal AVX so there's no boost in speed. In Intel processors (and Ryzen 3000 and newer), avx2 is real and you see almost a 100% speed increase.
Sorry to ask, and how do you know about this? I have an AMD processor - how to check if it is fully used AVX2.
User avatar
Rebel
Posts: 7378
Joined: Thu Aug 18, 2011 12:04 pm
Full name: Ed Schröder

Re: Koivisto 7.0

Post by Rebel »

CMCanavessi wrote: Wed Nov 03, 2021 7:16 pm
Rebel wrote: Mon Nov 01, 2021 11:36 pm
Madeleine Birchfield wrote: Mon Nov 01, 2021 11:01 pm
Rebel wrote: Mon Nov 01, 2021 9:44 pm
Madeleine Birchfield wrote: Mon Nov 01, 2021 3:57 pm
Rebel wrote: Mon Nov 01, 2021 2:42 pm What is old ?
You said this in July this year:
Rebel wrote: Tue Jul 06, 2021 11:30 pm
AndrewGrant wrote: Tue Jul 06, 2021 10:30 pm I would love to see a push for all rating lists to make use of AVX2 processors. Most NNUE engines are gimped without those.
I fear another PC in the living room will be at the cost my marriage.
My charm won :lol:

BTW, hardly any speed difference between ethereal 13.25 NNUE AVX2 and the popcount version.
Maybe not on your hardware because you don't have avx2 instructions on your hardware, but other people with avx2 instructions on their hardware can detect and have detected a speed difference.
You are wrong, an AVX2 compile will crash if the processor doesn't support AVX2.
Are you using an AMD processor? The problem is that while older Ryzen processors "support" AVX2, it's not a hardware instruction. It's done in software by dividing it in 2 and using normal AVX to process it, so, while it's supported, it works exactly the same (speed wise) as normal AVX so there's no boost in speed. In Intel processors (and Ryzen 3000 and newer), avx2 is real and you see almost a 100% speed increase.
Intel.
90% of coding is debugging, the other 10% is writing bugs.
User avatar
CMCanavessi
Posts: 1142
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: Koivisto 7.0

Post by CMCanavessi »

Krzysztof Grzelak wrote: Wed Nov 03, 2021 7:34 pm
CMCanavessi wrote: Wed Nov 03, 2021 7:16 pm Are you using an AMD processor? The problem is that while older Ryzen processors "support" AVX2, it's not a hardware instruction. It's done in software by dividing it in 2 and using normal AVX to process it, so, while it's supported, it works exactly the same (speed wise) as normal AVX so there's no boost in speed. In Intel processors (and Ryzen 3000 and newer), avx2 is real and you see almost a 100% speed increase.
Sorry to ask, and how do you know about this? I have an AMD processor - how to check if it is fully used AVX2.
Easy, if you have a Zen 2 processor or newer, you're good to go. Zen 2 processors are Ryzen 3xxx and newer. If you have a Zen 1 or Zen + like I do (Ryzen 1xxx or 2xxx) you're busted :mrgreen:
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls