Nibbler - Leela Chess Zero (Lc0) interface

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

Moderators: Harvey Williamson, bob, hgm

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Guenther
Posts: 3436
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Full name: Guenther Simon
Contact:

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Guenther » Tue Aug 06, 2019 8:54 pm

zullil wrote:
Tue Aug 06, 2019 1:01 pm
Guenther wrote:
Mon Aug 05, 2019 6: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
Greg Strong@ovyron wrote: What I think is that you have a very, very, VERY strong desire to post, and very little self-control.
All the time. In every conversation. You must post. Something. It's like you just can't help yourself.

Max
Posts: 247
Joined: Tue Apr 13, 2010 8:41 am

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Max » Sat Aug 10, 2019 12:08 pm

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
Attachments
Threads.png
Threads.png (122.12 KiB) Viewed 3312 times
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 8:41 am

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Max » Sat Aug 10, 2019 12:34 pm

.. and more Node limit options:
Attachments
Nodes 1.0.5.png
Nodes 1.0.5.png (103.98 KiB) Viewed 3298 times
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 8:41 am

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Max » Mon Aug 12, 2019 1:36 pm

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
blas.png (50.78 KiB) Viewed 3176 times
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: 5666
Joined: Sat Mar 11, 2006 2:44 am

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Kirk » Wed Aug 21, 2019 11:47 am

Max wrote:
Sun Aug 04, 2019 4: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: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by zullil » Wed Aug 21, 2019 12:15 pm

Kirk wrote:
Wed Aug 21, 2019 11:47 am
Max wrote:
Sun Aug 04, 2019 4: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: 5666
Joined: Sat Mar 11, 2006 2:44 am

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Kirk » Wed Aug 21, 2019 12:31 pm

zullil wrote:
Wed Aug 21, 2019 12:15 pm
Kirk wrote:
Wed Aug 21, 2019 11:47 am
Max wrote:
Sun Aug 04, 2019 4: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: 62
Joined: Thu Jan 31, 2019 3:54 pm
Full name: Sven Steppenwolf

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Steppenwolf » Mon Aug 26, 2019 3:32 pm

Thanks Max for updating to V1.1.1! :D

Max
Posts: 247
Joined: Tue Apr 13, 2010 8:41 am

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by Max » Sat Jan 11, 2020 11:10 am

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: 221
Joined: Thu Mar 10, 2016 5:17 pm
Location: Canada

Re: Nibbler - Leela Chess Zero (Lc0) interface

Post by maxdeg » Sat Jan 11, 2020 2:31 pm

Max wrote:
Sat Jan 11, 2020 11:10 am
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

Post Reply