SmartGo new version & KataGo & Leela Zero

For discussing go computing, software announcements, etc.
User avatar
Jujube
Lives in gote
Posts: 308
Joined: Sun Nov 14, 2010 8:49 am
Rank: EGF 5k Foxy 2k
GD Posts: 0
Has thanked: 54 times
Been thanked: 71 times
Contact:

Re: SmartGo new version & KataGo & Leela Zero

Post by Jujube »

Yes, apparently this is a quirk of SmartGo. I have seen the same Q&A on the Baduk subreddit before. In fact it doesn't need to be the exe name. You could say potatoes gtp etc etc with the same effect.
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: SmartGo new version & KataGo & Leela Zero

Post by And »

Jujube I may have found a reason why KataGo does not work. a network of 20 blocks does not work, but 10 blocks work! checked several times. check if it will work for you.

EDIT 15 blocks does not work either. model.txt.gz also works, but only 10 blocks
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: SmartGo new version & KataGo & Leela Zero

Post by And »

it turned out to be even more confusing

g104 10 block s1.10G: katago 1.3 - OK, katago 1.3.2 - not working, katago 1.3.1 - OK
g170 10 block s1.97G: katago 1.3 - not working, katago 1.3.2 - OK, katago 1.3.1 - OK
g170e 10 block s1.14G: katago 1.3 - not working, katago 1.3.2 - OK, katago 1.3.1 - OK

apparently, before launch, you need to flip a coin :D
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: SmartGo new version & KataGo & Leela Zero

Post by lightvector »

And wrote:it turned out to be even more confusing

g104 10 block s1.10G: katago 1.3 - OK, katago 1.3.2 - not working, katago 1.3.1 - OK
g170 10 block s1.97G: katago 1.3 - not working, katago 1.3.2 - OK, katago 1.3.1 - OK
g170e 10 block s1.14G: katago 1.3 - not working, katago 1.3.2 - OK, katago 1.3.1 - OK

apparently, before launch, you need to flip a coin :D
There's a good chance that most of those combinations are working, but you didn't let it run long enough?

When KataGo encounters a neural net that is of a different size than it has encountered before, it will need to re-tune the first time it sees that size. Different versions of the code (1.3, 1.3.1, 1.3.2) may not always be able to share this tuning, so each one separately does it. The re-tuning can take a minute or two - and during that time, KataGo will output messages that make it obvious that it is computing and tuning and working. But many GUIs are terrible at displaying those messages to the user, so it may look like it just hangs and doesn't load, if you aren't patient enough to wait out the minutes. But it only needs to do this once, so long as it is allowed to finish and succeed.

I know Jujube has reported that their issue is with running it in SmartGo specifically and that the command line works, so really maybe it has something to do with SmartGo, but how about for you? Can you try running those not working combinations directly in the command line too, so you can see if it is tuning?
xela
Lives in gote
Posts: 652
Joined: Sun Feb 09, 2014 4:46 am
Rank: Australian 3 dan
GD Posts: 200
Location: Adelaide, South Australia
Has thanked: 219 times
Been thanked: 281 times

Re: SmartGo new version & KataGo & Leela Zero

Post by xela »

And wrote:Jujube I may have found a reason why KataGo does not work. a network of 20 blocks does not work, but 10 blocks work!
First thing that comes to mind is that the smaller network starts up quicker, and SmartGo gives up if it has to wait too long?

(I don't use SmartGo myself so am unable to test this theory.)

At this point I'm wondering if someone should ping Anders and get him to look at this thread.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: SmartGo new version & KataGo & Leela Zero

Post by And »

lightvector thank you! after starting at the command line 10 block networks that did not work now work. I checked them in Sabaki, they worked, I thought that was enough. but the network of 15 blocks still does not work
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: SmartGo new version & KataGo & Leela Zero

Post by And »

xela yes, maybe it's due to size. 6 block network also works

PS SmartGo 15-day Free Trial, anyone interested can download and try: https://www.smartgo.com/download/SGSetup.exe
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: SmartGo new version & KataGo & Leela Zero

Post by And »

I found the settings for the 15 block network:
tools - special - more options - GTPTimeout: 5000
value 5000 replaced by 10000

for the 20 block network:
replaced by 20000

I tried several networks - everything works (KataGo 1.3.2)
perhaps this value is CPU or GPU dependent. if it doesn’t work, you can try a larger value
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: SmartGo new version & KataGo & Leela Zero

Post by And »

KataGo 1.3.3 with network g170 40 block s1.34G works without problems with default settings
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: SmartGo new version & KataGo & Leela Zero

Post by And »

Version 3.1.8 (2020-05-05)
Update to newest GoGoD collection of 108,036 games.
Better sound after computer move (turn on in Tools > Options > General > Beep after computer move).
Add rudimentary dark mode. Turn on with Tools > Special > More Options > DarkBackground, change from 0 to 1, then restart SmartGo.
https://www.smartgo.com/windows.html
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: SmartGo new version & KataGo & Leela Zero

Post by And »

the new version also failed to connect Leela Zero and KataGo. or Leela Zero or KataGo...
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: SmartGo new version & KataGo & Leela Zero

Post by And »

Is it possible to set a time per move for SAI and LZ, as in Sabaki? eg time_settings 0 6 1
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: SmartGo new version & KataGo & Leela Zero

Post by And »

I finally managed to run lz and katago! surprisingly, in a paid program that is more than 20 years old, this is not easy to do
Attachments
kg & lz.jpg
kg & lz.jpg (114.25 KiB) Viewed 5274 times
Post Reply