A hybrid Stockfish NNUE?

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

Moderators: hgm, Rebel, chrisw

Dokterchen
Posts: 133
Joined: Wed Aug 15, 2007 12:18 pm
Location: Munich

A hybrid Stockfish NNUE?

Post by Dokterchen »

I wonder if it would be possible to make a hybrid version of Stockfish NNUE, with the search running on CPU and the evaluation on GPU. If so, would it be possible to use larger networks?
Damir
Posts: 2801
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: A hybrid Stockfish NNUE?

Post by Damir »

You can do that with Eman Chimera… No need to make a hybrid on SF NNUE
Damir
Posts: 2801
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: A hybrid Stockfish NNUE?

Post by Damir »

Instead us with normal CPU who not use graphic cards have had enough of such engines…. If you want one, go and make it yourself.
User avatar
Sylwy
Posts: 4468
Joined: Fri Apr 21, 2006 4:19 pm
Location: IASI - the historical capital of MOLDOVA
Full name: SilvianR

Re: A hybrid Stockfish NNUE?

Post by Sylwy »

Dokterchen wrote: Tue Jul 21, 2020 2:44 pm I wonder if it would be possible to make a hybrid version of Stockfish NNUE, with the search running on CPU and the evaluation on GPU. If so, would it be possible to use larger networks?
...................and quantum programmed code.............................

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

Re: A hybrid Stockfish NNUE?

Post by Raphexon »

And then you could replace A/B pruning with MCTS-like search (let's call it PUCT)
And then you can adjust minibatch size to increase speed.
Wait, isn't that Leela?
User avatar
Rebel
Posts: 6997
Joined: Thu Aug 18, 2011 12:04 pm
Full name: Ed Schröder

Re: A hybrid Stockfish NNUE?

Post by Rebel »

Raphexon wrote: Tue Jul 21, 2020 5:06 pm And then you could replace A/B pruning with MCTS-like search (let's call it PUCT)
And then you can adjust minibatch size to increase speed.
Wait, isn't that Leela?
Yeah and likely stronger.

BTW, is there a parameter to change "eval\nn.bin" ?
90% of coding is debugging, the other 10% is writing bugs.
chrisw
Posts: 4319
Joined: Tue Apr 03, 2012 4:28 pm

Re: A hybrid Stockfish NNUE?

Post by chrisw »

Rebel wrote: Tue Jul 21, 2020 5:22 pm
Raphexon wrote: Tue Jul 21, 2020 5:06 pm And then you could replace A/B pruning with MCTS-like search (let's call it PUCT)
And then you can adjust minibatch size to increase speed.
Wait, isn't that Leela?
Yeah and likely stronger.

BTW, is there a parameter to change "eval\nn.bin" ?
Is the source code for this binary available anywhere?
Milos
Posts: 4190
Joined: Wed Nov 25, 2009 1:47 am

Re: A hybrid Stockfish NNUE?

Post by Milos »

Dokterchen wrote: Tue Jul 21, 2020 2:44 pm I wonder if it would be possible to make a hybrid version of Stockfish NNUE, with the search running on CPU and the evaluation on GPU. If so, would it be possible to use larger networks?
Yes, that's certainly possible. And you'd end up with an engine much weaker and slower than SF-NNUE running on CPU.
Milos
Posts: 4190
Joined: Wed Nov 25, 2009 1:47 am

Re: A hybrid Stockfish NNUE?

Post by Milos »

chrisw wrote: Tue Jul 21, 2020 5:25 pm
Rebel wrote: Tue Jul 21, 2020 5:22 pm
Raphexon wrote: Tue Jul 21, 2020 5:06 pm And then you could replace A/B pruning with MCTS-like search (let's call it PUCT)
And then you can adjust minibatch size to increase speed.
Wait, isn't that Leela?
Yeah and likely stronger.

BTW, is there a parameter to change "eval\nn.bin" ?
Is the source code for this binary available anywhere?
Gee, how come after founding this forum and being on it for 20 years you still can't use a search function???
https://github.com/nodchip/Stockfish
User avatar
Rebel
Posts: 6997
Joined: Thu Aug 18, 2011 12:04 pm
Full name: Ed Schröder

Re: A hybrid Stockfish NNUE?

Post by Rebel »

Rebel wrote: Tue Jul 21, 2020 5:22 pm BTW, is there a parameter to change "eval\nn.bin" ?
Reply to self, yes there is you stupid.
90% of coding is debugging, the other 10% is writing bugs.