A new run of KataGo released - strength comparable to ELFv2

For discussing go computing, software announcements, etc.
Gomoto
Gosei
Posts: 1733
Joined: Sun Nov 06, 2016 6:56 am
GD Posts: 0
Location: Earth
Has thanked: 621 times
Been thanked: 310 times

Re: A new run of KataGo released - strength comparable to EL

Post by Gomoto »

What is the advantage of the cuda version?

My GPU whines already under the load of the opencl version ;-)

(In other words did somebody actually test the performance of the cuda version versus the opencl version on the same hardware? For my analyzing needs I am sure the difference does not matter at all.)
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: A new run of KataGo released - strength comparable to EL

Post by And »

Gomoto wrote:What is the advantage of the cuda version?

My GPU whines already under the load of the opencl version ;-)

(In other words did somebody actually test the performance of the cuda version versus the opencl version on the same hardware?)
"If you have an NVIDIA GPU, the CUDA version could be faster (or not! it varies)." (lightvector, https://github.com/lightvector/KataGo/releases)

I want to run KataGo 37x37, version 1.2 is limited to 19x19. and version 1.1 possibly unlimited, but only CUDA (this is the main reason for interest in CUDA version!)

about the cooler whining - not necessarily the CUDA creates more load on the GPU, and my video card is generally passively cooled :)
MagRes
Beginner
Posts: 14
Joined: Sat Oct 06, 2018 4:27 pm
Rank: 5k OGS
GD Posts: 0
OGS: brose
Has thanked: 17 times
Been thanked: 14 times

Re: A new run of KataGo released - strength comparable to EL

Post by MagRes »

Just as a random reference on my system, Windows 10 using a GTX 760 with all the latest drivers and updates.
OpenCL: ~40 visits per second
CUDA: ~50 visits per second
CUDA is a bit faster, but installing CUDA is a bit intimidating if you are not used to this sort of thing.
Gomoto
Gosei
Posts: 1733
Joined: Sun Nov 06, 2016 6:56 am
GD Posts: 0
Location: Earth
Has thanked: 621 times
Been thanked: 310 times

Re: A new run of KataGo released - strength comparable to EL

Post by Gomoto »

(It is not the cooler that is whining, it is coil whine. It does not bother me by the way. I just find it interesting it only shows up with 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: A new run of KataGo released - strength comparable to EL

Post by And »

then it's magic. KataGo magic program !!!
Gomoto
Gosei
Posts: 1733
Joined: Sun Nov 06, 2016 6:56 am
GD Posts: 0
Location: Earth
Has thanked: 621 times
Been thanked: 310 times

Re: A new run of KataGo released - strength comparable to EL

Post by Gomoto »

It is physics not magic :twisted: ;-)
Tryss
Lives in gote
Posts: 502
Joined: Tue May 24, 2011 1:07 pm
Rank: KGS 2k
GD Posts: 100
KGS: Tryss
Has thanked: 1 time
Been thanked: 153 times

Re: A new run of KataGo released - strength comparable to EL

Post by Tryss »

Any sufficiently advanced technology is indistinguishable from magic - A.C. Clarke
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: A new run of KataGo released - strength comparable to EL

Post by And »

Tryss, I did not have time to write it :)
User avatar
wineandgolover
Lives in sente
Posts: 866
Joined: Sun Jul 25, 2010 6:05 am
GD Posts: 0
Has thanked: 318 times
Been thanked: 345 times

Re: A new run of KataGo released - strength comparable to EL

Post by wineandgolover »

Hi folks,

I need help implementing KataGo. I'm not far off, I think. I apologize in advance for my ignorance. Like many Mac users, I use it because it "just works" and I'm not used to messing around with config files and command lines. Nevertheless to use Lizzie and Katago, I am willing to struggle a bit.

I have successfully installed lizzie 0.7 (maybe 0.7.1, I don't know how to tell). Anyway, it's running LZ just fine.

I followed the steps for installing KataGo up to and through the "make" stage, which was lengthy but made it through 100%. I now have an executable. I am running a black magic eGPU, so I used the OpenCL cmake command first.

So, how do I run KataGo? When I click on the executable file, I just get a list of subcommands. Where should I put the the executable file, in the Lizzie folder just like LZ? Where do I put the weights file? Should I leave the weights file in .zip format? How do I get Lizzie to talk to KataGo? Again, sorry for my ignorance. I am not a programmer or a GitHub master.

TIA
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders
atn
Beginner
Posts: 4
Joined: Tue May 10, 2016 11:54 pm
Rank: EGF 9k
GD Posts: 0
Has thanked: 1 time
Been thanked: 1 time

Re: A new run of KataGo released - strength comparable to EL

Post by atn »

Hello,

I would love to make good use of Katago.

I did compile it on my ubuntu laptop (with NVidia GTX 950M).

I can't however have lizzie work correctly. It's console is empty and any menu item make it crash.

Do you have any insights about a software I could use that would use Katago and allow me to play high handicap games against it?
Or maybe a link / help that would help me with lizzie?

Thank you,
ATN
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

Post by lightvector »

@atn - see viewtopic.php?p=249391#p249391 and/or the other posts in that thread about running KataGo first in a console so that you can see what's going on, and/or if the initial tuning process is successfully starting to run.

@wineandgolover - Cool, presumably you followed the instructions here? https://github.com/lightvector/KataGo#compiling
In those same instructions, you'll see some examples of how you can use the subcommands on the command line, including the arguments you need to pass to them (the neural net model file, configs, etc). The subcommand that runs a GTP engine is the one you will need to get Lizzie to use. Lizzie should have a place in its menus where you can specify a command line that it should use to run an engine. Mind you, Lizzie will probably run the command from Lizzie's directory, so you will need to either specify paths to the executable, model files and configs relative to Lizzie's directory, or copy all those things to Lizzie's directory.

See also the same thing I replied to atn above about as well - KataGo will need to do some tuning at the start, and Lizzie by default will confusingly hide all messages including possible error messages from you. You should also open up the config yourself in a text file and read the notes about performance at the top - feel free to experiment with the config settings to find the best performance on your computer. If you compiled from the tip of master on GitHub (rather than the latest official release, which was older), the commandline "benchmark" subcommand can also benchmark KataGo for you with different numbers of threads for a particular config.
atn
Beginner
Posts: 4
Joined: Tue May 10, 2016 11:54 pm
Rank: EGF 9k
GD Posts: 0
Has thanked: 1 time
Been thanked: 1 time

Re: A new run of KataGo released - strength comparable to EL

Post by atn »

Thank you lightvector, Katago is definitely working fine.

I'll post an issue on lizzie's github.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: A new run of KataGo released - strength comparable to EL

Post by And »

lightvector, Will there be a new release this year?
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

Post by lightvector »

I hope so!

;-)
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: A new run of KataGo released - strength comparable to EL

Post by And »

big request - please remove the board size limit, or make the support option up to 52x52!
Post Reply