Stockfish NPS by Joachim26 (TriNet Engine)

Stockfish and derivatives

Moderators: Elijah, Igbo, timetraveller

Triton6654

Top contribute Forum
Inactive User
Points: 12 457,00 
Posts: 12
Joined: 11/02/2022, 23:44
Status: Offline (Active 2 Days, 19 Hours, 2 Minutes ago)
Medals: 1
Topics: 3
Reputation: 30
Has thanked: 21 times
Been thanked: 44 times

Stockfish NPS by Joachim26 (TriNet Engine)

Post by Triton6654 »

Experimental version by Joachim26, featuring 3 NNUE networks, source code attached.

https://pixeldrain.com/u/uNP8GniS
Triton6654

Top contribute Forum
Inactive User
Points: 12 457,00 
Posts: 12
Joined: 11/02/2022, 23:44
Status: Offline (Active 2 Days, 19 Hours, 2 Minutes ago)
Medals: 1
Topics: 3
Reputation: 30
Has thanked: 21 times
Been thanked: 44 times

Stockfish NPS by Joachim26 (TriNet Engine)

Post by Triton6654 »

Triton6654 wrote: 08/04/2024, 0:10 Experimental version by Joachim26, featuring 3 NNUE networks, source code attached.

https://pixeldrain.com/u/uNP8GniS
https://pixeldrain.com/u/LmvSsdix

Stockfish NPS did not perform well, but got a very aggressive playing style.

Crystal 8 played well despite a lower search depth n HynoS seem to be the most stable n strongest engine right now.
LittleJoe

Top contribute Forum Engines Maker
Forum Contributions
Points: 14 078,00 
Posts: 327
Joined: 17/10/2020, 22:28
Status: Offline (Active 2 Days, 10 Hours, 4 Minutes ago)
Medals: 2
Topics: 5
Reputation: 506
Has thanked: 349 times
Been thanked: 671 times

Stockfish NPS by Joachim26 (TriNet Engine)

Post by LittleJoe »

Triton6654 wrote: 08/04/2024, 0:10 Experimental version by Joachim26, featuring 3 NNUE networks, source code attached.

https://pixeldrain.com/u/uNP8GniS
There are now prereleases of SFNNv9.5.3 with 3 nets for Windows and Android available:
https://github.com/Joachim26/StockfishNPS/releases

The two main nets are gen SFNNv9 and SFNNv5, the L1=128 smallnet (no official name thus the .3 in the engine name) is the one used in Stockfish master.

For short TCs the whole game is played with the SFNNv5 net, for longer TCs more and more moves of the game are played with the new SFNNv9 net.

With "Mediumnet threshold" in the uci-option the point (move) where the medium net starts to evaluate the positions can be chosen:
0: only SFNNv9 is used in the whole game
10000: Most of the game is played with the SFNNv5 net
Default in the MOMENT: 300
mraz64
Inactive User
Points: 23,00 
Posts: 2
Joined: 02/03/2024, 20:51
Status: Offline (Active 4 Hours, 54 Minutes ago)
Topics: 0
Reputation: 0
Has thanked: 1 time
Been thanked: 1 time

Stockfish NPS by Joachim26 (TriNet Engine)

Post by mraz64 »

pls,ver AVX2 [thank you
Hurnavich

Top contribute Forum Book Maker Top Active Users
Administrators
Points: 37 607,00 
Forum Contributions
Posts: 2870
Joined: 01/11/2019, 14:33
Status: Offline (Active 4 Hours, 29 Minutes ago)
Medals: 3
Topics: 112
Reputation: 10421
Has thanked: 3811 times
Been thanked: 8972 times

Stockfish NPS by Joachim26 (TriNet Engine)

Post by Hurnavich »

Just lost a game with the latest one all 3 nets running and in folder on default not a good start :aha: and i'm on 16 cores and 7 man TB's

"May your next game be your best"
Triton6654

Top contribute Forum
Inactive User
Points: 12 457,00 
Posts: 12
Joined: 11/02/2022, 23:44
Status: Offline (Active 2 Days, 19 Hours, 2 Minutes ago)
Medals: 1
Topics: 3
Reputation: 30
Has thanked: 21 times
Been thanked: 44 times

Stockfish NPS by Joachim26 (TriNet Engine)

Post by Triton6654 »

My testing result shows that SFNNv9 240409 is on par with 11 stockfish clones which are on D3072.

XXXXX
Admin Message:
Your test results include Stockfish derivatives without source code, please read the rules again before posting them, as this violates the rule 8c, thanks.
- IbaiBuR
LittleJoe

Top contribute Forum Engines Maker
Forum Contributions
Points: 14 078,00 
Posts: 327
Joined: 17/10/2020, 22:28
Status: Offline (Active 2 Days, 10 Hours, 4 Minutes ago)
Medals: 2
Topics: 5
Reputation: 506
Has thanked: 349 times
Been thanked: 671 times

Stockfish NPS by Joachim26 (TriNet Engine)

Post by LittleJoe »

Please PM me your deleted results, Triton. This does not violate any forum rule I guess.
Over night I run my first(!) test with more than one thread namely with two, TC was/is 40+0.4s and the performance of SFNNv9.5.3 was/is disappointing.
I'm not sure if there is a "bug" in my code or if the reason for the bad performance comes e. g. from the tens of parameters which are not optimized for the old SFNNv5 net. To do this optimization with my hardware is just impossible.
So for the moment I suggest: If you are not satisfied with this new engine concept just set "Mediumnet threshold" to zero smile3 or use another engine....
LittleJoe

Top contribute Forum Engines Maker
Forum Contributions
Points: 14 078,00 
Posts: 327
Joined: 17/10/2020, 22:28
Status: Offline (Active 2 Days, 10 Hours, 4 Minutes ago)
Medals: 2
Topics: 5
Reputation: 506
Has thanked: 349 times
Been thanked: 671 times

Stockfish NPS by Joachim26 (TriNet Engine)

Post by LittleJoe »

Could someone please inform Eduard that he just has to delete
the line:

std::cout << "OptimalTime " << SE::tmOptTime << sync_endl;

and recompile it to make Lichess happy. The line is only used during debugging, something which is useless for Eduard.
One of the SF maintainer is the origin of this Lichess/uci problem since he loves to do one refactoring after the other :argh:
Joachim will fix this after fixing much bigger problems already merged.
M.Z

Top contribute Forum Engines Maker
Founder
Points: 32 115,00 
Forum Contributions
Posts: 1453
Joined: 31/10/2019, 8:50
Status: Online (Active 2 Hours, 27 Minutes ago)
Medals: 2
Topics: 217
Reputation: 4112
Has thanked: 655 times
Been thanked: 3103 times

Stockfish NPS by Joachim26 (TriNet Engine)

Post by M.Z »

LittleJoe wrote: 24/04/2024, 17:19 Could someone please inform Eduard that he just has to delete
the line:

std::cout << "OptimalTime " << SE::tmOptTime << sync_endl;

and recompile it to make Lichess happy. The line is only used during debugging, something which is useless for Eduard.
One of the SF maintainer is the origin of this Lichess/uci problem since he loves to do one refactoring after the other :argh:
Joachim will fix this after fixing much bigger problems already merged.
@LittleJoe
I had already written to him...
Image
LittleJoe

Top contribute Forum Engines Maker
Forum Contributions
Points: 14 078,00 
Posts: 327
Joined: 17/10/2020, 22:28
Status: Offline (Active 2 Days, 10 Hours, 4 Minutes ago)
Medals: 2
Topics: 5
Reputation: 506
Has thanked: 349 times
Been thanked: 671 times

Stockfish NPS by Joachim26 (TriNet Engine)

Post by LittleJoe »

M.Z wrote: 24/04/2024, 17:44
LittleJoe wrote: 24/04/2024, 17:19 Could someone please inform Eduard that he just has to delete
the line:

std::cout << "OptimalTime " << SE::tmOptTime << sync_endl;

and recompile it to make Lichess happy. The line is only used during debugging, something which is useless for Eduard.
One of the SF maintainer is the origin of this Lichess/uci problem since he loves to do one refactoring after the other :argh:
Joachim will fix this after fixing much bigger problems already merged.
@LittleJoe
I had already written to him...
Image
Thanks, if only all bugs could be solved so quickly. I already realized that there will be a potential problem when I saw Disservin's like 5th refactoring.

Today's SF updating with 3 commits including the Finny-tables will make much more problems for updating the triple net engine. And it's impossible to skip Finny's tables commit since on my PC I have just measured 15% speedup. Wow, congrats to Finny!
And thanks to Gabe and Disservin for the implementation.
Post Reply

Return to “Stockfish NNUE”