It is currently Tue Apr 16, 2024 6:12 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 216 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next
Author Message
Offline
 Post subject: KataGo V1.3
Post #1 Posted: Sun Jan 12, 2020 9:22 pm 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
KataGo 1.3 released! Lots of new features, and neural nets from the new run! :)

All the details here:
https://github.com/lightvector/KataGo/releases/

There's always some chance I overlooked some major bug or problem in my testing, so apologies in advance if you find any such thing - please let me know and I will fix it over the next several days. :study:

Edit: And a quick followup release is out, v1.3.1, along with a stronger net from the current ongoing run! (updated the link above)

Edit: And now v1.3.2 is out! Same link above, but better nets, better OpenCL performance, more bugfixes and fixes to missing features.

Edit: And now v1.3.3 is out, with some early versions of some new big neural nets that are training, better 20-block nets, and a variety of interface improvements and minor feature additions.

Edit: The latest version is now v1.3.5, and also there are some nets more recent than that with significant strength improvements.


Last edited by lightvector on Wed Apr 15, 2020 6:59 pm, edited 6 times in total.

This post by lightvector was liked by 11 people: And, bernds, Bill Spight, dfan, Dusk Eagle, ez4u, Gomoto, marvin, SHKD19, wineandgolover, xela
Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #2 Posted: Mon Jan 13, 2020 1:49 am 
Oza
User avatar

Posts: 2411
Location: Ghent, Belgium
Liked others: 359
Was liked: 1019
Rank: KGS 2d OGS 1d Fox 4d
KGS: Artevelde
OGS: Knotwilg
Online playing schedule: UTC 18:00 - 22:00
lightvector wrote:
KataGo 1.3 released! Lots of new features, and neural nets from the new run! :)

All the details here:
https://github.com/lightvector/KataGo/releases/tag/v1.3

There's always some chance I overlooked some major bug or problem in my testing, so apologies in advance if you find any such thing - please let me know and I will fix it over the next several days. :study:


Hi, I wanted to replace my Kata in Lizzie with the new version.

1) I replaced the network by one of the attached networks
2) I replaced the KataGo folder with an unpacked windows version of KataGo as published in your link.

Engine keeps loading. What did I do wrong?

Thanks

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #3 Posted: Mon Jan 13, 2020 4:11 am 
Oza
User avatar

Posts: 2401
Location: Tokyo, Japan
Liked others: 2338
Was liked: 1332
Rank: Jp 6 dan
KGS: ez4u
First you should run your new Katago 1.3 from a command window. That way you can see any error messages from Katago itself. I was using the cuda version and it could not find cudnn64_7.dll so I copied it to the directory. I ran the benchmark command and then the gtp command. After you can get a reply to "genmove black", you are ready for Lizzie.

Did you copy the new config file to the Lizzie directory? It is unclear in your post. I set up version 1.3 as a new engine. Needless to say, I made a mistake typing in the command line into lizzie. I run Lizzie from a command window and that allows me to see any error messages from Java, in this case that it could not find my file.

After these hiccups, 1.3 runs fine for me.

_________________
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21


This post by ez4u was liked by: Knotwilg
Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #4 Posted: Mon Jan 13, 2020 6:17 am 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
@Knotwilg - please see also the section about Upgrading on the releases page above: https://github.com/lightvector/KataGo/releases/tag/v1.3

It is highly likely you will also want to discard your old config, except to copy any settings you specifically changed into the new config, otherwise you will be missing a few features and improvements. If you didn't ever edit the old config that Lizzie came with either, then probably also KataGo was running with not as good performance on your computer as it could have before.

To better adjust settings for good performance, and to debug why KataGo isn't working in the first place, both are easier to solve if you run the benchmark command directly in a console first rather than trying to immediately use KataGo with a GUI.


This post by lightvector was liked by: Knotwilg
Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #5 Posted: Mon Jan 13, 2020 7:46 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
when to expect a version or option cpu-only? and versions with support up to 25x25?

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #6 Posted: Tue Jan 14, 2020 5:20 pm 
Gosei

Posts: 1733
Location: Earth
Liked others: 621
Was liked: 310
Both networks up and running with Lizzie 0.7.2
I like fast loading of the 10 block network very much

Thank you lightvector!


(And no more coil whine with V1.3 and the new config by the way :-))


This post by Gomoto was liked by: lightvector
Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #7 Posted: Wed Jan 15, 2020 2:47 pm 
Lives in gote

Posts: 586
Location: Adelaide, South Australia
Liked others: 208
Was liked: 265
Rank: Australian 2 dan
GD Posts: 200
Leela Zero has recently been hinting that its strength is approaching a plateau. If I understand correctly, KataGo has had a fraction of the training (in terms of CPU-hours or number of games) of LZ. Is it possible to get any hints (from learning rates or other metrics) whether KataGo is also approaching the ceiling of its strength, or whether it could go significantly beyond LZ given enough training?

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #8 Posted: Wed Jan 15, 2020 7:26 pm 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
KataGo should not plateau for a long time, or at least I will run out of my compute budget before that happens.

The current 20-block network probably still has 200 Elo (hopefully more than that!) to grow beyond the released version, which might actually put it not too far from visit-parity with Leela Zero's 40-block (and therefore quite a bit stronger at equal compute time).

KataGo has a 30 block or a 40 block brewing which theoretically should have quite a bit more capacity than that, which we will switch to at some point.


Last edited by lightvector on Wed Jan 15, 2020 7:45 pm, edited 1 time in total.

This post by lightvector was liked by: wineandgolover
Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #9 Posted: Wed Jan 15, 2020 7:38 pm 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
Also, I suspect Leela Zero is not plateauing, or if they genuinely are, then minimal changes such as to the training window, game variety, gating, etc, should "unplateau" them. I'd be a little surprised if a 40-block network cannot improve further, if KataGo's merely 20 block network is going to be approaching its strength.

Except for the network *actually* becoming "saturated" and finally capping out, the issue is that Elo gain is roughly proportional to log(selfplay compute spent). Log is a very, very slow growing function, so it can feel like you're on a plateau even if you're not. But different enhancements can translate the curve in logspace so that you are N times faster all the way through, which is hopefully how KataGo might pass the point where Leela Zero *feels like* they've plateaued, we'll see.

Or maybe you feel that log grows so slowly that once you are far enough into the tail of the log you call it a plateau anyways. That's also okay. ;-)

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #10 Posted: Wed Jan 15, 2020 8:47 pm 
Honinbo

Posts: 10905
Liked others: 3651
Was liked: 3374
lightvector wrote:
Also, I suspect Leela Zero is not plateauing, or if they genuinely are, then minimal changes such as to the training window, game variety, gating, etc, should "unplateau" them. I'd be a little surprised if a 40-block network cannot improve further, if KataGo's merely 20 block network is going to be approaching its strength.


There is the possibility that LZ is near the top of a hill. (Not that I have any idea, but it is a possibility.) If so, KataGo's different architecture may be causing it to climb a different hill. :)

_________________
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #11 Posted: Thu Jan 16, 2020 1:03 am 
Lives in gote

Posts: 586
Location: Adelaide, South Australia
Liked others: 208
Was liked: 265
Rank: Australian 2 dan
GD Posts: 200
OK, so not technically a plateau (if we believe the assumptions of the Elo rating system). But perhaps near enough for most practical purposes. Thanks for the explanations, this makes a lot of sense.

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #12 Posted: Thu Jan 16, 2020 2:17 am 
Lives in gote

Posts: 445
Liked others: 0
Was liked: 37
I doubt LZ is near a real peak yet, the same slowdown happened with 15 blocks some time ago, yet the same 15 blocks networks keep getting stronger when fed strong 40b data. Any small change can restart improvement (for a while), it's just that there were no changes so far.


This post by jann was liked by: Bill Spight
Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #13 Posted: Thu Jan 16, 2020 7:18 am 
Dies in gote

Posts: 62
Liked others: 8
Was liked: 4
lightvector, I'm enjoying your KataGo tremendously.

I use it on my iPad for playing and it works great!

I also experiment a little with it under Sabaki on my PC.
But when I let KataGo play it self with different settings I have no way to see what the instances of KataGo thinks of the position or what the playouts/visits was for a move.

Would it be hard for you to implement the command that Sabaki uses to show that for LZ?
I think the name of the (Sabaki) gtp-command is: genmove_analyze <color> <interval>
https://github.com/SabakiHQ/Sabaki/blob ... gration.md
and will be used by Sabaki if added to the KataGo's GTP. The <interval> argument could be ignored

I don't need the full move list that LZ displays, but the following would be very nice:
- Win% for the move selected
- number of playouts used
- number of visits used
- actual time used

It would be so nice if it was possible to get that information from KataGo

Thanks in advance :-)
Regards,
Limez

EDIT: After scrutinising the .cfg file I tried the sdtErr stuff and it kind of got me what I wanted.
I still think implementing the genmove_analyze command would be very attractive to me.

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #14 Posted: Fri Jan 17, 2020 11:57 pm 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
v1.3.1 is released now with some bugfixes, as a quick followup to v1.3. And a new stronger neural net!

https://github.com/lightvector/KataGo/r ... tag/v1.3.1

With v1.3.1 you can (and probably should) also now delete a big chunk of your GTP config - defaults are built into KataGo directly and you can just use those directly unless you specifically want to specify some of these parameters to be nonstandard values, to play with KataGo's behavior. The advantage of this is that if parameters improve in future releases (including actually one such change in this release itself), you pick up those changes, instead of your config being hardcoded to old less-good values.

@Limeztone - new version implements lz-genmove_analyze and kata-genmove_analyze, as requested. A quick test with Sabaki indicates that Sabaki seems to be using it now. Enjoy!


This post by lightvector was liked by 6 people: Bill Spight, dfan, ez4u, MikeKyle, Waylon, xela
Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #15 Posted: Tue Jan 21, 2020 10:43 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
how to set up KataGo in Sabaki on a rectangular board? after each move the warning "GTP engines don't support non-square boards"

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #16 Posted: Tue Jan 21, 2020 1:03 pm 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
yes, found https://github.com/SabakiHQ/Sabaki/issues/75
except q5go there are no programs with support for rectangular boards?

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #17 Posted: Thu Jan 23, 2020 6:17 am 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
Thanks for the great program! on ogs, wha are the maximum number of visits used by kata-bot? Also, which new neural net is used? This is the best go bot!

_________________
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #18 Posted: Fri Jan 24, 2020 2:41 am 
Dies in gote

Posts: 62
Liked others: 8
Was liked: 4
In a rough estimate how strong are current KataGo (in human ranking) at 1600 visits/move?

Current KataGo:
1.3.1
g170-b20c256x2-s1039565568-d285739972

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #19 Posted: Fri Jan 24, 2020 3:18 am 
Lives with ko

Posts: 198
Liked others: 4
Was liked: 16
Hello,
I heard about katago recently. I am using lizzie with leela zero and is it possible to download a weight(katago file) with lizzie?

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #20 Posted: Fri Jan 24, 2020 6:49 am 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
go4thewin wrote:
Thanks for the great program! on ogs, wha are the maximum number of visits used by kata-bot? Also, which new neural net is used? This is the best go bot!


It uses 2500 but may go over due to pondering. The going over doesn't add much strength actually (since usually your strength has to do with the moves and mistakes that you're the worst on), it's mainly just to make it always be thinking and responding quickly.

Limeztone wrote:
In a rough estimate how strong are current KataGo (in human ranking) at 1600 visits/move?

Umm... 9d+? Human ranks make no sense to use here.

At this point, for small playout numbers, it's close to as strong as Leela Zero's latest networks at equal playouts or visits and possibly somewhat stronger at equal time depending on your hardware setup. For very high playouts, it's somewhat weaker at equal playouts or visits and possibly close to as strong at equal time. The difference between low and high playouts is since KataGo is using a 20 block net and LZ is a 40 block.

KataGo is improving on only 20 blocks and next net should be around 100 Elo better than the one released with v1.3.1 last week (I will post it shortly) - so there's some chance that this amount of gain and/or continued training surpasses LZ without even switching to 40 blocks - although I have that brewing too and KataGo does also plan to increase network size before too long.


This post by lightvector was liked by: ez4u
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 216 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group