Nibbler - Leela Chess Zero (Lc0) interface

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

Moderators: hgm, Rebel, chrisw

User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Guenther »

zullil wrote: Tue Aug 06, 2019 3:01 pm
Guenther wrote: Mon Aug 05, 2019 8:51 am
It seems the old config option of max lines to display isn't valid anymore and it will always show 20 max lines now.
Using 'Top move only' does not work here and there seems to be no other option to shrink the number of displayed lines?
The developer just restored max_info_lines as a hidden configuration option, just for you. :D

Code: Select all

if (typeof config.max_info_lines === "number" && config.max_info_lines > 0) {		// Hidden option, request of rwbc
			info_list = info_list.slice(0, config.max_info_lines);
}

https://github.com/fohristiwhirl/nibble ... f2eb36a881
I know :) It is under closed issues meanwhile.
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
Max
Posts: 247
Joined: Tue Apr 13, 2010 10:41 am

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Max »

Nibbler version 1.0.5 arrived at https://github.com/fohristiwhirl/nibble ... tag/v1.0.5

Now you can play games against Lc0 - at a selected node limit - and Nibbler moves for Lc0 after the limit is reached.

From fohristiwhirl release notes
Added a threads menu option (thanks @ra1u).

Also, this version changes the method Nibbler uses to stay in sync with Leela. While it should be more correct, if I've made any mistake Nibbler could start ignoring valid Leela output and become totally unresponsive - do tell me if this ever happens (it shouldn't).
A macOS App version is available at https://github.com/twoplan/Nibbler-for- ... /tag/1.0.5
Hope we're not just the biological boot loader for digital super intelligence. Unfortunately, that is increasingly probable - Elon Musk
Max
Posts: 247
Joined: Tue Apr 13, 2010 10:41 am

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Max »

.. and more Node limit options:
Hope we're not just the biological boot loader for digital super intelligence. Unfortunately, that is increasingly probable - Elon Musk
Max
Posts: 247
Joined: Tue Apr 13, 2010 10:41 am

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Max »

Nibbler 1.0.8 with additional improvement for slow systems

From the release notes:
When we detect the BLAS backend, adjust its UCI settings to [MaxPrefetch = 0, MinibatchSize = 8] unless these are overridden in Nibbler's config.json. For many people, these settings are significantly - or even drastically - faster.

v1.0.8 only affects the BLAS (i.e. CPU) backend. No change for GPU systems.
blas.png
Benchmark on my mac with default settings for a T60 network:
./lc0 benchmark -w weights_run1_60225.pb.gz -b blas

Benchmark final time 10.5298s calculating 10.9214 nodes per second.
and with Nibblers settings:
./lc0 benchmark -w weights_run1_60225.pb.gz --minibatch-size=8 --max-prefetch=0 -b blas

Benchmark final time 8.72137s calculating 36.5768 nodes per second.
These settings are great for short time controls. At analysis (> 2 min) the nodes per second are (at least on a mac) much closer. But who uses cpu for this task with Lc0 anyway?
Hope we're not just the biological boot loader for digital super intelligence. Unfortunately, that is increasingly probable - Elon Musk
User avatar
Kirk
Posts: 5699
Joined: Sat Mar 11, 2006 3:44 am

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Kirk »

Max wrote: Sun Aug 04, 2019 6:47 pm Nibbler version 1.01 was just released at https://github.com/fohristiwhirl/nibbler/releases

No need for manual settings any more. Just download, unzip to a folder of your choice and start the Nibbler binary.

If this is your first start, Nibbler will probably not find the Lc0 engine and your weights file.
  • In this case, you notice a blue message "Engine not found...". Just open the menu entry Engine and click "Choose weights file..." and/or "Choose engine...".
Board and font size can now be changed with the menu entry Sizes. Your changes get saved.

Engine.png
Newbie here. What is the weights file it is looking for?
“He knew all the tricks, dramatic irony, metaphor, pathos, puns, parody, litotes and... satire. He was vicious”
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by zullil »

Kirk wrote: Wed Aug 21, 2019 1:47 pm
Max wrote: Sun Aug 04, 2019 6:47 pm Nibbler version 1.01 was just released at https://github.com/fohristiwhirl/nibbler/releases

No need for manual settings any more. Just download, unzip to a folder of your choice and start the Nibbler binary.

If this is your first start, Nibbler will probably not find the Lc0 engine and your weights file.
  • In this case, you notice a blue message "Engine not found...". Just open the menu entry Engine and click "Choose weights file..." and/or "Choose engine...".
Board and font size can now be changed with the menu entry Sizes. Your changes get saved.

Engine.png
Newbie here. What is the weights file it is looking for?
That's the network that Lc0 will be using. Something from here, like 42850 for example.
User avatar
Kirk
Posts: 5699
Joined: Sat Mar 11, 2006 3:44 am

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Kirk »

zullil wrote: Wed Aug 21, 2019 2:15 pm
Kirk wrote: Wed Aug 21, 2019 1:47 pm
Max wrote: Sun Aug 04, 2019 6:47 pm Nibbler version 1.01 was just released at https://github.com/fohristiwhirl/nibbler/releases

No need for manual settings any more. Just download, unzip to a folder of your choice and start the Nibbler binary.

If this is your first start, Nibbler will probably not find the Lc0 engine and your weights file.
  • In this case, you notice a blue message "Engine not found...". Just open the menu entry Engine and click "Choose weights file..." and/or "Choose engine...".
Board and font size can now be changed with the menu entry Sizes. Your changes get saved.

Engine.png
Newbie here. What is the weights file it is looking for?
That's the network that Lc0 will be using. Something from here, like 42850 for example.
Appreciate it!
“He knew all the tricks, dramatic irony, metaphor, pathos, puns, parody, litotes and... satire. He was vicious”
Steppenwolf
Posts: 75
Joined: Thu Jan 31, 2019 4:54 pm
Full name: Sven Steppenwolf

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Steppenwolf »

Thanks Max for updating to V1.1.1! :D
Max
Posts: 247
Joined: Tue Apr 13, 2010 10:41 am

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Max »

You've probably already noticed that Nibbler version 1.1.3 is available. It got an option to show WDL (win draw loss) stats in the infobox. This feature requires Lc0 0.23.x and recent Leela weights.

Download links for Windows, Linux and macOS. The mac version includes Lc0 0.23.2 for OpenCL & BLAS.
Hope we're not just the biological boot loader for digital super intelligence. Unfortunately, that is increasingly probable - Elon Musk
maxdeg
Posts: 229
Joined: Thu Mar 10, 2016 6:17 pm
Location: Canada

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by maxdeg »

Max wrote: Sat Jan 11, 2020 12:10 pm You've probably already noticed that Nibbler version 1.1.3 is available. It got an option to show WDL (win draw loss) stats in the infobox. This feature requires Lc0 0.23.x and recent Leela weights.

Download links for Windows, Linux and macOS. The mac version includes Lc0 0.23.2 for OpenCL & BLAS.
:D +2