A hybrid Stockfish NNUE?

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Dokterchen
Posts: 111
Joined: Wed Aug 15, 2007 10:18 am
Location: Munich

A hybrid Stockfish NNUE?

Post by Dokterchen » Tue Jul 21, 2020 12: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?
Torsten

Damir
Posts: 2402
Joined: Mon Feb 11, 2008 2:53 pm
Location: Denmark
Full name: Damir Desevac

Re: A hybrid Stockfish NNUE?

Post by Damir » Tue Jul 21, 2020 1:05 pm

You can do that with Eman Chimera… No need to make a hybrid on SF NNUE

Damir
Posts: 2402
Joined: Mon Feb 11, 2008 2:53 pm
Location: Denmark
Full name: Damir Desevac

Re: A hybrid Stockfish NNUE?

Post by Damir » Tue Jul 21, 2020 1:14 pm

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: 3421
Joined: Fri Apr 21, 2006 2:19 pm
Location: IASI (Romania) - the historical capital of MOLDOVA

Re: A hybrid Stockfish NNUE?

Post by Sylwy » Tue Jul 21, 2020 3:05 pm

Dokterchen wrote:
Tue Jul 21, 2020 12: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: 302
Joined: Sun Mar 17, 2019 11:00 am
Full name: Henk Drost

Re: A hybrid Stockfish NNUE?

Post by Raphexon » Tue Jul 21, 2020 3: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?

User avatar
Rebel
Posts: 5518
Joined: Thu Aug 18, 2011 10:04 am

Re: A hybrid Stockfish NNUE?

Post by Rebel » Tue Jul 21, 2020 3:22 pm

Raphexon wrote:
Tue Jul 21, 2020 3: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: 3674
Joined: Tue Apr 03, 2012 2:28 pm

Re: A hybrid Stockfish NNUE?

Post by chrisw » Tue Jul 21, 2020 3:25 pm

Rebel wrote:
Tue Jul 21, 2020 3:22 pm
Raphexon wrote:
Tue Jul 21, 2020 3: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: 3840
Joined: Wed Nov 25, 2009 12:47 am

Re: A hybrid Stockfish NNUE?

Post by Milos » Tue Jul 21, 2020 3:27 pm

Dokterchen wrote:
Tue Jul 21, 2020 12: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: 3840
Joined: Wed Nov 25, 2009 12:47 am

Re: A hybrid Stockfish NNUE?

Post by Milos » Tue Jul 21, 2020 3:27 pm

chrisw wrote:
Tue Jul 21, 2020 3:25 pm
Rebel wrote:
Tue Jul 21, 2020 3:22 pm
Raphexon wrote:
Tue Jul 21, 2020 3: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: 5518
Joined: Thu Aug 18, 2011 10:04 am

Re: A hybrid Stockfish NNUE?

Post by Rebel » Tue Jul 21, 2020 3:51 pm

Rebel wrote:
Tue Jul 21, 2020 3: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.

Post Reply