Ethereal Pawn-King NN

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

Moderators: hgm, Rebel, chrisw

peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Ethereal Pawn-King NN

Post by peter »

AndrewGrant wrote: Fri Sep 25, 2020 7:27 am
MikeB wrote: Fri Sep 25, 2020 7:20 am Awesome , Windows with with above plus -mavx2 please. Thanks!


I'm assuming you have a Ryzen? If not, it should still work I imagine.
Pity not for Xeon X5670.
:( regards
Peter.
User avatar
pohl4711
Posts: 2439
Joined: Sat Sep 03, 2011 7:25 am
Location: Berlin, Germany
Full name: Stefan Pohl

Re: Ethereal Pawn-King NN

Post by pohl4711 »

AndrewGrant wrote: Fri Sep 25, 2020 7:27 am
MikeB wrote: Fri Sep 25, 2020 7:20 am Awesome , Windows with with above plus -mavx2 please. Thanks!


I'm assuming you have a Ryzen? If not, it should still work I imagine.

Thats compiled with march=znver1 as the target architecture.
Awesome binary! On my Ryzen 3900 this one is more than +8% faster than popcount-compile and popcount-see41 compile !
I will use this one (of course) for my testrun. Testrun starts tomorrow, should end on monday.
AndrewGrant
Posts: 1758
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Ethereal Pawn-King NN

Post by AndrewGrant »

peter wrote: Fri Sep 25, 2020 10:40 am
AndrewGrant wrote: Fri Sep 25, 2020 7:27 am
MikeB wrote: Fri Sep 25, 2020 7:20 am Awesome , Windows with with above plus -mavx2 please. Thanks!


I'm assuming you have a Ryzen? If not, it should still work I imagine.
Pity not for Xeon X5670.
:( regards
Its not clear to me what target would be chosen for an Xeon X5670. I cannot find any good documentation.

However, it appears that the Xeon x5670s have the same instructions I covered in the SEE4.1 build. So thats what you would want.
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Ethereal Pawn-King NN

Post by peter »

AndrewGrant wrote: Fri Sep 25, 2020 5:59 pm
peter wrote: Fri Sep 25, 2020 10:40 am
AndrewGrant wrote: Fri Sep 25, 2020 7:27 am
MikeB wrote: Fri Sep 25, 2020 7:20 am Awesome , Windows with with above plus -mavx2 please. Thanks!


I'm assuming you have a Ryzen? If not, it should still work I imagine.
Pity not for Xeon X5670.
:( regards
Its not clear to me what target would be chosen for an Xeon X5670. I cannot find any good documentation.

However, it appears that the Xeon x5670s have the same instructions I covered in the SEE4.1 build. So thats what you would want.
Pity it doesn't, Andrew. Westmere's the nearest to my Xeon, I think.
Does a certain nnue- net have to be in installation folder?
Last edited by peter on Fri Sep 25, 2020 7:59 pm, edited 1 time in total.
Peter.
AndrewGrant
Posts: 1758
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Ethereal Pawn-King NN

Post by AndrewGrant »

peter wrote: Fri Sep 25, 2020 7:44 pm Pity it doesn't Andrew. Westmere's the nearest to my Xeon, I think.
Does a certain nnue- net have to be in installation folder?
This is not an NNUE; it has nothing to do with SF or Leela or A0.
Its just an NN thats hard coded into the evaluation for Pawns.
There is no setup -- it will work as is.
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Ethereal Pawn-King NN

Post by peter »

AndrewGrant wrote: Fri Sep 25, 2020 7:53 pm
peter wrote: Fri Sep 25, 2020 7:44 pm Pity it doesn't Andrew. Westmere's the nearest to my Xeon, I think.
Does a certain nnue- net have to be in installation folder?
This is not an NNUE; it has nothing to do with SF or Leela or A0.
Its just an NN thats hard coded into the evaluation for Pawns.
There is no setup -- it will work as is.
I see and I thought so anyhow.
Yet the SSE4.1-popcnt compile doesn't work in console (Win7x64 Pro closes the window with error- message).
Peter.
AndrewGrant
Posts: 1758
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Ethereal Pawn-King NN

Post by AndrewGrant »

peter wrote: Fri Sep 25, 2020 8:01 pm
AndrewGrant wrote: Fri Sep 25, 2020 7:53 pm
peter wrote: Fri Sep 25, 2020 7:44 pm Pity it doesn't Andrew. Westmere's the nearest to my Xeon, I think.
Does a certain nnue- net have to be in installation folder?
This is not an NNUE; it has nothing to do with SF or Leela or A0.
Its just an NN thats hard coded into the evaluation for Pawns.
There is no setup -- it will work as is.
I see and I thought so anyhow.
Yet the SSE4.1-popcnt compile doesn't work in console (Win7x64 Pro closes the window with error- message).
Then just use the regular popcnt version. The NN is minimal. SSE won't do much.
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Ethereal Pawn-King NN

Post by peter »

AndrewGrant wrote: Fri Sep 25, 2020 8:05 pm Then just use the regular popcnt version. The NN is minimal. SSE won't do much.
This one works well.
About 3/4 the n/s of Ethereal 12.50 popcnt, which is quite good compared to other NNUE- binaries I know for my CPU.

Crashes in Fritz- GUI when number of MultiPV- lines is changed, ("error in the engine") but starts running again at once with stop-start by GUI.

Thanks again regards
Peter.
AndrewGrant
Posts: 1758
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Ethereal Pawn-King NN

Post by AndrewGrant »

peter wrote: Fri Sep 25, 2020 9:00 pm
AndrewGrant wrote: Fri Sep 25, 2020 8:05 pm Then just use the regular popcnt version. The NN is minimal. SSE won't do much.
This one works well.
About 3/4 the n/s of Ethereal 12.50 popcnt, which is quite good compared to other NNUE- binaries I know for my CPU.

Crashes in Fritz- GUI when number of MultiPV- lines is changed, ("error in the engine") but starts running again at once with stop-start by GUI.

Thanks again regards
75% the original speed is slow. The slowdown is < 10%, so I'm not sure what you are seeing.

As for Fritz, I don't have or use Fritz GUI. Are you trying to change MultiPV during a search? Thats not allowable.
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Ethereal Pawn-King NN

Post by peter »

AndrewGrant wrote: Fri Sep 25, 2020 9:02 pm
peter wrote: Fri Sep 25, 2020 9:00 pm
AndrewGrant wrote: Fri Sep 25, 2020 8:05 pm Then just use the regular popcnt version. The NN is minimal. SSE won't do much.
This one works well.
About 3/4 the n/s of Ethereal 12.50 popcnt, which is quite good compared to other NNUE- binaries I know for my CPU.

Crashes in Fritz- GUI when number of MultiPV- lines is changed, ("error in the engine") but starts running again at once with stop-start by GUI.

Thanks again regards
75% the original speed is slow. The slowdown is < 10%, so I'm not sure what you are seeing.

As for Fritz, I don't have or use Fritz GUI. Are you trying to change MultiPV during a search? Thats not allowable.
As a matter of fact it freezes with longer pondering now and then too without any GUI- command, just out of curiosity, how to change MultiPV if search isn't running? (in any GUI, ok, Arena has the feature to give in number of primary lines in engine- options, didn't try that till now.)

Nevermind, all's good for me so far regards
Peter.