Search found 3555 matches

by Daniel Shawul
Mon Oct 19, 2020 11:33 pm
Forum: Computer Chess Club: General Topics
Topic: CTF Survey
Replies: 64
Views: 2357

Re: CTF Survey

Ofcouse (1) is the stupidest thing to do, but that is exactly what a few in CTF desperately want so that they continue to use the forum for their racist, neo-nazi, homophobic propaganda. One person, in particular, is hell-bent on preventing CCC folks from voting, since he badly wants (1). So I ask C...
by Daniel Shawul
Sun Oct 18, 2020 3:04 am
Forum: Computer Chess Club: General Topics
Topic: Embedding Stockfish NNUE to ANY CHESS ENGINE: YouTube series
Replies: 6
Views: 708

Re: Embedding Stockfish NNUE to ANY CHESS ENGINE: YouTube series

Linux version only for now, I'm working on windows compatibility. If you manage to compile it on windows faster than I please share your solution. Btw, if I'm now using SF NNUE does it mean that I need to change the licence to GNU GPL 3 like in SF? A couple of notes. You need to define compiler fla...
by Daniel Shawul
Sat Oct 17, 2020 7:21 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to scale stockfish NNUE score?
Replies: 13
Views: 637

Re: How to scale stockfish NNUE score?

Some may want to do scaling to get better compatibility with search prunings such as
futility pruning and razoring, etc. where the margins are tuned probably with your old centi-pawn scores.
Other than that, you don't need scaling unless you use classic evaluation in some way.
by Daniel Shawul
Sat Oct 17, 2020 3:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to scale stockfish NNUE score?
Replies: 13
Views: 637

Re: How to scale stockfish NNUE score?

Hi guys, thanks to amazing library to probe stockfish NNUE by Daniel Shawul even a noob like me can now get NNUE score for each position, but it turns out that using that score directly leads to a VERY STRANGE behavior of my engine = it makes strange moves from time to time and sacrifices the queen...
by Daniel Shawul
Fri Oct 16, 2020 2:03 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hacking around CFish NNUE
Replies: 31
Views: 1019

Re: Hacking around CFish NNUE

I wonder why auto-vectorization is not used instead of the manual SIMD code NNUE currently has. There is separate code for AVX2, SSE3,SSE2,SSE etc which is kind of ugly. Your code above can be easily auto-vectorized by the compiler, so I wonder why this approach is not taken. I don't see any operat...
by Daniel Shawul
Fri Oct 16, 2020 12:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hacking around CFish NNUE
Replies: 31
Views: 1019

Re: Hacking around CFish NNUE

I wonder why auto-vectorization is not used instead of the manual SIMD code NNUE currently has. There is separate code for AVX2, SSE3,SSE2,SSE etc which is kind of ugly. Your code above can be easily auto-vectorized by the compiler, so I wonder why this approach is not taken. I don't see any operat...
by Daniel Shawul
Fri Oct 16, 2020 12:49 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hacking around CFish NNUE
Replies: 31
Views: 1019

Re: Hacking around CFish NNUE

I just finished implementing the library without incremental updates. https://github.com/dshawul/nnue-probe.git It has a FEN interface and a pieces[],squares[] interface as well DLLExport void _CDECL nnue_init(const char * evalFile); DLLExport int _CDECL nnue_evaluate(int player, int* pieces, int* ...
by Daniel Shawul
Thu Oct 15, 2020 10:56 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hacking around CFish NNUE
Replies: 31
Views: 1019

Re: Hacking around CFish NNUE

I just finished implementing the library without incremental updates. https://github.com/dshawul/nnue-probe.git It has a FEN interface and a pieces[],squares[] interface as well DLLExport void _CDECL nnue_init(const char * evalFile); DLLExport int _CDECL nnue_evaluate(int player, int* pieces, int* s...
by Daniel Shawul
Thu Oct 15, 2020 6:06 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hacking around CFish NNUE
Replies: 31
Views: 1019

Re: Hacking around CFish NNUE

I wonder why auto-vectorization is not used instead of the manual SIMD code NNUE currently has. There is separate code for AVX2, SSE3,SSE2,SSE etc which is kind of ugly. Your code above can be easily auto-vectorized by the compiler, so I wonder why this approach is not taken. I don't see any operat...
by Daniel Shawul
Thu Oct 15, 2020 5:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hacking around CFish NNUE
Replies: 31
Views: 1019

Re: Hacking around CFish NNUE

Think of Position*, containing your FEN and (Accumulator and DirtyPiece) structures. NNUE populate these structures using the function. void half_kp_append_active_indices Modify that to be based on your FEN rather than the bitboards code that it assumes the engine uses exactly like Stockfish does. A...