Page 4 of 5

Re: Nibbler - Leela Chess Zero (Lc0) interface

Posted: Tue Aug 06, 2019 10:54 pm
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.

Re: Nibbler - Leela Chess Zero (Lc0) interface

Posted: Sat Aug 10, 2019 2:08 pm
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

Re: Nibbler - Leela Chess Zero (Lc0) interface

Posted: Sat Aug 10, 2019 2:34 pm
by Max
.. and more Node limit options:

Re: Nibbler - Leela Chess Zero (Lc0) interface

Posted: Mon Aug 12, 2019 3:36 pm
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?

Re: Nibbler - Leela Chess Zero (Lc0) interface

Posted: Wed Aug 21, 2019 1:47 pm
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?

Re: Nibbler - Leela Chess Zero (Lc0) interface

Posted: Wed Aug 21, 2019 2:15 pm
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.

Re: Nibbler - Leela Chess Zero (Lc0) interface

Posted: Wed Aug 21, 2019 2:31 pm
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!

Re: Nibbler - Leela Chess Zero (Lc0) interface

Posted: Mon Aug 26, 2019 5:32 pm
by Steppenwolf
Thanks Max for updating to V1.1.1! :D

Re: Nibbler - Leela Chess Zero (Lc0) interface

Posted: Sat Jan 11, 2020 12:10 pm
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.

Re: Nibbler - Leela Chess Zero (Lc0) interface

Posted: Sat Jan 11, 2020 3:31 pm
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