Page 7 of 9

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

Posted: Mon Oct 07, 2019 12:55 pm
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.)

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

Posted: Mon Oct 07, 2019 1:06 pm
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 :)

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

Posted: Mon Oct 07, 2019 5:17 pm
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.

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

Posted: Mon Oct 07, 2019 8:57 pm
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.)

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

Posted: Mon Oct 07, 2019 10:20 pm
by And
then it's magic. KataGo magic program !!!

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

Posted: Tue Oct 08, 2019 5:37 am
by Gomoto
It is physics not magic :twisted: ;-)

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

Posted: Tue Oct 08, 2019 7:24 am
by Tryss
Any sufficiently advanced technology is indistinguishable from magic - A.C. Clarke

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

Posted: Tue Oct 08, 2019 12:40 pm
by And
Tryss, I did not have time to write it :)

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

Posted: Mon Oct 14, 2019 2:04 pm
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

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

Posted: Tue Oct 15, 2019 7:36 am
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

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

Posted: Tue Oct 15, 2019 4:10 pm
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.

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

Posted: Wed Oct 16, 2019 12:45 am
by atn
Thank you lightvector, Katago is definitely working fine.

I'll post an issue on lizzie's github.

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

Posted: Wed Oct 16, 2019 12:54 am
by And
lightvector, Will there be a new release this year?

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

Posted: Wed Oct 16, 2019 4:59 pm
by lightvector
I hope so!

;-)

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

Posted: Thu Oct 17, 2019 1:03 am
by And
big request - please remove the board size limit, or make the support option up to 52x52!