A new run of KataGo released - strength comparable to ELFv2
-
veikko
- Beginner
- Posts: 11
- Joined: Fri Feb 08, 2019 6:36 pm
- Rank: OGS 3k
- GD Posts: 0
- Has thanked: 11 times
- Been thanked: 3 times
A new run of KataGo released - strength comparable to ELFv2
https://www.reddit.com/r/cbaduk/comment ... and_other/
https://github.com/lightvector/KataGo/releases/tag/v1.1
https://github.com/lightvector/KataGo/releases/tag/v1.1
-
lightvector
- Lives in sente
- Posts: 759
- Joined: Sat Jun 19, 2010 10:11 pm
- Rank: maybe 2d
- GD Posts: 0
- Has thanked: 114 times
- Been thanked: 916 times
Re: A new run of KataGo released - strength comparable to EL
Summary:
* New run learns twice as fast as the old LZ130 run and now reaches ELFv2 level at visit parity in about 19 days, and using no more than 27 GPUs for most of the run (19 for early parts, 28 briefly) instead of hundreds or thousands as in Leela Zero/ELF/AlphaZero. Self-play games and training data all released: https://d3dndmfyhecmj0.cloudfront.net/g104/index.html
* Major steps forward on OpenCL and Windows support. More work still to be done, I'm working on it.
* The OpenCL/Windows issue aside, should work fine with Lizzie and other tools at this point (and if not, I should be able to make any fixes quickly and easily if it's just a matter of outputting the data the right way for a tool to read). Capable of also predicting final score and territory heatmap, as soon as any tool wants to add support for how that tool wants to display it.
* Still have many research ideas for how to continue to improve it. I'll be continuing to test these these ideas over the next months, and if any of these ideas test out well, we should be able to do an even better third run.
I'm happy to answer any questions or whatever. Yay.
* New run learns twice as fast as the old LZ130 run and now reaches ELFv2 level at visit parity in about 19 days, and using no more than 27 GPUs for most of the run (19 for early parts, 28 briefly) instead of hundreds or thousands as in Leela Zero/ELF/AlphaZero. Self-play games and training data all released: https://d3dndmfyhecmj0.cloudfront.net/g104/index.html
* Major steps forward on OpenCL and Windows support. More work still to be done, I'm working on it.
* The OpenCL/Windows issue aside, should work fine with Lizzie and other tools at this point (and if not, I should be able to make any fixes quickly and easily if it's just a matter of outputting the data the right way for a tool to read). Capable of also predicting final score and territory heatmap, as soon as any tool wants to add support for how that tool wants to display it.
* Still have many research ideas for how to continue to improve it. I'll be continuing to test these these ideas over the next months, and if any of these ideas test out well, we should be able to do an even better third run.
I'm happy to answer any questions or whatever. Yay.
- spook
- Lives with ko
- Posts: 151
- Joined: Thu Jul 24, 2014 1:34 pm
- Rank: 2d
- GD Posts: 0
- KGS: LordVader
- Location: Belgium
- Has thanked: 11 times
- Been thanked: 48 times
- Contact:
Re: A new run of KataGo released - strength comparable to EL
@lightvector
Wanted to congratulate you and the entire KataGo team with the 1.1 release.
I am convinced that it will have a big impact on the AI study tools.
Installed it this evening on an ubuntu test server. Looks promising.
Will play around with it in the coming days.
PS: are you also "@lightvector" on twitter ?
Wanted to congratulate you and the entire KataGo team with the 1.1 release.
I am convinced that it will have a big impact on the AI study tools.
Installed it this evening on an ubuntu test server. Looks promising.
Will play around with it in the coming days.
PS: are you also "@lightvector" on twitter ?
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
https://www.zbaduk.com
-
lightvector
- Lives in sente
- Posts: 759
- Joined: Sat Jun 19, 2010 10:11 pm
- Rank: maybe 2d
- GD Posts: 0
- Has thanked: 114 times
- Been thanked: 916 times
Re: A new run of KataGo released - strength comparable to EL
Thanks! Seems like the main big remaining obstacles to usability are Windows support and CUDA dependence. Hope to address both of those over the next few weeks.
No, I am not on Twitter at all.
No, I am not on Twitter at all.
- Bonobo
- Oza
- Posts: 2223
- Joined: Fri Dec 23, 2011 6:39 pm
- Rank: OGS 9k
- GD Posts: 0
- OGS: trohde
- Universal go server handle: trohde
- Location: Germany
- Has thanked: 8262 times
- Been thanked: 924 times
- Contact:
Re: A new run of KataGo released - strength comparable to EL
Very exciting … any chance we can get this for macOS?
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? 
- EdLee
- Honinbo
- Posts: 8859
- Joined: Sat Apr 24, 2010 6:49 pm
- GD Posts: 312
- Location: Santa Barbara, CA
- Has thanked: 349 times
- Been thanked: 2070 times
- Bonobo
- Oza
- Posts: 2223
- Joined: Fri Dec 23, 2011 6:39 pm
- Rank: OGS 9k
- GD Posts: 0
- OGS: trohde
- Universal go server handle: trohde
- Location: Germany
- Has thanked: 8262 times
- Been thanked: 924 times
- Contact:
Re:
… or http://leela-one-playout.herokuapp.com/ (had to add it to the list)EdLee wrote:Or an OS-indep browser version like deepleela or zbaduk ( greedy... for macOS?)
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? 
-
lightvector
- Lives in sente
- Posts: 759
- Joined: Sat Jun 19, 2010 10:11 pm
- Rank: maybe 2d
- GD Posts: 0
- Has thanked: 114 times
- Been thanked: 916 times
Re: A new run of KataGo released - strength comparable to EL
I have a friend who I think has managed to compile it for mac already, so I think the answer is already yes? Let me know if you run into problems, happy to troubleshoot. If you're looking for pre-compiled executables, I'll try to figure that out once the OpenCL implementation is fast enough for real use, since figuring out how to link with CUDA and deal with CUDNN is a headache, even sometimes right on the same OS I do all my development on (linux).Bonobo wrote:Very exciting … any chance we can get this for macOS?
Well, I hope whatever dev or devs like to develop sites like that in their spare time find KataGo worth picking up.Bonobo wrote: … or http://leela-one-playout.herokuapp.com/ (had to add it to the list)
- Bonobo
- Oza
- Posts: 2223
- Joined: Fri Dec 23, 2011 6:39 pm
- Rank: OGS 9k
- GD Posts: 0
- OGS: trohde
- Universal go server handle: trohde
- Location: Germany
- Has thanked: 8262 times
- Been thanked: 924 times
- Contact:
Re: A new run of KataGo released - strength comparable to EL
Oh wow, sounds good … but meanwhile I’m elderly and not so adventurous as I once was … so, I’ll wait for click-ready executableslightvector wrote:I have a friend who I think has managed to compile it for mac already, so I think the answer is already yes? Let me know if you run into problems, happy to troubleshoot.
Why not talk to Andreas M. Hauenstein about it? His mail address is on the “About” page.Well, I hope whatever dev or devs like to develop sites like that in their spare time find KataGo worth picking up.Bonobo wrote: … or http://leela-one-playout.herokuapp.com/ (had to add it to the list)
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? 
-
bernds
- Lives with ko
- Posts: 259
- Joined: Sun Apr 30, 2017 11:18 pm
- Rank: 2d
- GD Posts: 0
- Has thanked: 46 times
- Been thanked: 116 times
Re: A new run of KataGo released - strength comparable to EL
I've pushed some code to the q5go github to support kata-analyze and save/display the score data it reports (it's added to the comment in batch analysis, and the evaluation graph now has a context menu item to switch between score and win rate).
-
splee99
- Dies with sente
- Posts: 101
- Joined: Thu Nov 15, 2012 9:46 pm
- Rank: KGS 2 D
- GD Posts: 0
- Has thanked: 2 times
- Been thanked: 16 times
Re: A new run of KataGo released - strength comparable to EL
Compared to ELFv2, Katago's handicap game style is really the best. It can play 5 handicap games ( I haven't test more handicaps yet) without any bad moves (remember ELF's ladder moves?).
-
splee99
- Dies with sente
- Posts: 101
- Joined: Thu Nov 15, 2012 9:46 pm
- Rank: KGS 2 D
- GD Posts: 0
- Has thanked: 2 times
- Been thanked: 16 times
Re: A new run of KataGo released - strength comparable to EL
Here is a 4 stone handicap game with Leela 0.11 with 20 second per move time setting. With the same time setting Leela Zero 40b weights have only small chance to win in 3 handicap games. The obvious style of Katago is that it likes to cut and deal with multiple groups properly. It even outsmarts Leela 0.11 in ladder reading.
Re: A new run of KataGo released - strength comparable to EL
Here is an example of a fascinating game between LZ and KataGo I played out tonight in Sabaki while working out. Hey, gotta watch something, right? It's like baduk TV!
The hardware was:
AMD Ryzen 2600x
NVIDIA RTX 2060
The settings were as follows:
KataGo 1.1
Leela Zero #226
I made the first four moves myself, because I didn't want to watch a bunch of 3-3 invasions this time. The game features an early ko and a complicated fight in the center that decides the entire game. Neither engine was sure who was winning until the very end.
The hardware was:
AMD Ryzen 2600x
NVIDIA RTX 2060
The settings were as follows:
KataGo 1.1
Code: Select all
C:\KataGo\main.exe
gtp -model C:\KataGo\20b.txt -config C:\KataGo\configs\gtp_example.cfg
time_settings 0 16 1
(all default except numSearchThreads = 16, cudaUseFP16 = true, cudaUseNHWC = true, no limits on playouts/visits, ponderingEnabled = false)Code: Select all
C:\LeelaZero\LZ017\leelaz.exe
--gtp -r 5 -w C:\LeelaZero\networks\LZ226.gz --noponder
time_settings 0 16 1- Attachments
-
- LZ226_KataGo1-1_15sec_RTX2060.sgf
- (2.64 KiB) Downloaded 3065 times
-
lightvector
- Lives in sente
- Posts: 759
- Joined: Sat Jun 19, 2010 10:11 pm
- Rank: maybe 2d
- GD Posts: 0
- Has thanked: 114 times
- Been thanked: 916 times
Re: A new run of KataGo released - strength comparable to EL
I find high level bot v bot games both confusing and amazing. The midgame fights that break out can become so complicated.
-
Bill Spight
- Honinbo
- Posts: 10905
- Joined: Wed Apr 21, 2010 1:24 pm
- Has thanked: 3651 times
- Been thanked: 3373 times
Re: A new run of KataGo released - strength comparable to EL
FWIW, my 2014 Macbook Pro has an NVIDIA GPU:Marcel Grünauer wrote:As far as I understand, KataGo needs CUDA/CuDNN, which requires NVIDIA GPUs, so there might be no way to run the current version of KataGo on Apple hardware (macOS or any other OS), since Macs use Radeon GPUs.
"Chipset Model: NVIDIA GeForce GT 750M"
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins
Visualize whirled peas.
Everything with love. Stay safe.
At some point, doesn't thinking have to go on?
— Winona Adkins
Visualize whirled peas.
Everything with love. Stay safe.