CGOS Bot Operators Community

For discussing go computing, software announcements, etc.
tartaric
Dies in gote
Posts: 24
Joined: Tue Aug 29, 2017 11:59 am
GD Posts: 0
KGS: 4 dan
Has thanked: 1 time

Re: CGOS Bot Operators Community

Post by tartaric »

Vargo wrote:
OK, do the following: ...
Woaw !!! Thanks, it works with my computer (Win 10)
If you wish to do so, you can watch the bots play their matches with ...

To make it work and actually show "my" game , I had to type cgosview-win32.exe yss-aya.com 6819 from a folder containing cgosview-win32


I'm looking forward to experimenting with the parameters


WHERE did you type cgosview-win32.exe yss-aya.com 6819? Could you make it clearer? If you open a folder containing cgosview win32 you wont be able to type anything, just clicking on cgosview win32…
Satorian
Dies with sente
Posts: 93
Joined: Sun Jan 22, 2012 7:11 am
Rank: Total beginner
GD Posts: 0
Universal go server handle: Satorian
Has thanked: 26 times
Been thanked: 13 times

Re: CGOS Bot Operators Community

Post by Satorian »

tartaric wrote:Thanks Satorian! Just one more question: I don't know the commands of Leela? What should I put in the .txt file to reach the maximum power of Leela? Shouldn't I use a pondering command? This is my species: https://ibb.co/i6MSrv

The CPU: https://ibb.co/c4Zada

Thanks for your help again! :)


I think Leela ponders by default and requires --noponder to stop doing so. I don't know of any additional command line parameters for Leela. Perhaps roy7 knows more.
Satorian
Dies with sente
Posts: 93
Joined: Sun Jan 22, 2012 7:11 am
Rank: Total beginner
GD Posts: 0
Universal go server handle: Satorian
Has thanked: 26 times
Been thanked: 13 times

Re: CGOS Bot Operators Community

Post by Satorian »

aTan wrote:Thanks! It works.

In your config - you don't specify max time to think? As I understand games limited with 15 min absolute time. Is it fine?


CGOS notifies the client of the time, which is passed down to the engine, so that shouldn't be a problem.
Vargo
Lives in gote
Posts: 337
Joined: Sat Aug 17, 2013 5:28 am
GD Posts: 0
Has thanked: 22 times
Been thanked: 97 times

Re: CGOS Bot Operators Community

Post by Vargo »

Tartaric, Right-click on the command line at the bottom bar
ta3.jpg
ta3.jpg (21.97 KiB) Viewed 19380 times

then left-click on the command line icon (=Invite de commandes in the picture)
type : cgosview-win32.exe yss-aya.com 6819
(cgosview-win32.exe must be in this folder)
Satorian
Dies with sente
Posts: 93
Joined: Sun Jan 22, 2012 7:11 am
Rank: Total beginner
GD Posts: 0
Universal go server handle: Satorian
Has thanked: 26 times
Been thanked: 13 times

Re: CGOS Bot Operators Community

Post by Satorian »

tartaric wrote:WHERE did you type cgosview-win32.exe yss-aya.com 6819? Could you make it clearer? If you open a folder containing cgosview win32 you wont be able to type anything, just clicking on cgosview win32…


Extract the appended file in the directory where you extracted cgosview and simply run the .bat.
Attachments
cgos_view.zip
(195 Bytes) Downloaded 694 times
tartaric
Dies in gote
Posts: 24
Joined: Tue Aug 29, 2017 11:59 am
GD Posts: 0
KGS: 4 dan
Has thanked: 1 time

Re: CGOS Bot Operators Community

Post by tartaric »

When I launch the app now it's say I'm already logged u_u and also my bot lost to zen11.4 lol it's impossible normally. When you don't have the good commands put in the txt file it's not the same. That's why i would prefer testing directly my bot against another user instead of using this complicated website…
Satorian
Dies with sente
Posts: 93
Joined: Sun Jan 22, 2012 7:11 am
Rank: Total beginner
GD Posts: 0
Universal go server handle: Satorian
Has thanked: 26 times
Been thanked: 13 times

Re: CGOS Bot Operators Community

Post by Satorian »

tartaric wrote:When I launch the app now it's say I'm already logged u_u and also my bot lost to zen11.4 lol it's impossible normally. When you don't have the good commands put in the txt file it's not the same. That's why i would prefer testing directly my bot against another user instead of using this complicated website…


Yes, perhaps should rather focus on that then.


On a related note, Leela doesn't seem to utilize resources very well on Windows. Right now I'm running Leela_Test, and CPU load rarely exceeds 70% at peak, GPU load rarely exceeds 80%. RAM usage is at about 250 MB and GPU memory at 474 MB (including OS and other apps). Also, it doesn't seem to ponder by default, so I wonder why the --noponder param is provided.
aTan
Dies in gote
Posts: 23
Joined: Tue Aug 29, 2017 7:39 am
Rank: 30k
GD Posts: 0

Re: CGOS Bot Operators Community

Post by aTan »

Also testing Leela right now.
CPU user far less (~70%) than when I run Python script from github to analyze games with Leela. In that case CPU usage is 100%. And this is strange.
Video also never user fully, right now - usually 60%.

Leela parameters can be found in read.me file in leela folder.
But not much can be used since time is limited.
Satorian
Dies with sente
Posts: 93
Joined: Sun Jan 22, 2012 7:11 am
Rank: Total beginner
GD Posts: 0
Universal go server handle: Satorian
Has thanked: 26 times
Been thanked: 13 times

Re: CGOS Bot Operators Community

Post by Satorian »

aTan wrote:Also testing Leela right now.
CPU user far less (~70%) than when I run Python script from github to analyze games with Leela. In that case CPU usage is 100%. And this is strange.
Video also never user fully, right now - usually 60%.

Leela parameters can be found in read.me file in leela folder.
But not much can be used since time is limited.


Seems like the CPU-only version uses the CPU at 100% all the time. It's the OpenCL version that seems bottlenecked by the GPU, while not completely using all of it.
aTan
Dies in gote
Posts: 23
Joined: Tue Aug 29, 2017 7:39 am
Rank: 30k
GD Posts: 0

Re: CGOS Bot Operators Community

Post by aTan »

What does --noponder do? Havne't find any clear explanation anywhere? Does it make leela stronger or weaker?
Cyan
Dies in gote
Posts: 34
Joined: Wed Jul 19, 2017 4:12 pm
Rank: 3k
GD Posts: 0
Has thanked: 2 times
Been thanked: 5 times

Re: CGOS Bot Operators Community

Post by Cyan »

Satorian wrote:On a related note, Leela doesn't seem to utilize resources very well on Windows. Right now I'm running Leela_Test, and CPU load rarely exceeds 70% at peak, GPU load rarely exceeds 80%. RAM usage is at about 250 MB and GPU memory at 474 MB (including OS and other apps). Also, it doesn't seem to ponder by default, so I wonder why the --noponder param is provided.
Yeah, leela works much better on linux, which is really annoying.
roy7
Dies in gote
Posts: 41
Joined: Sat Jan 28, 2017 8:36 pm
GD Posts: 0
OGS: roy7
Universal go server handle: roy7
Been thanked: 7 times

Re: CGOS Bot Operators Community

Post by roy7 »

aTan wrote:What does --noponder do? Havne't find any clear explanation anywhere? Does it make leela stronger or weaker?


Leela will normally think during the opponent's time. You can turn that off using --noponder. Makes her weaker.
roy7
Dies in gote
Posts: 41
Joined: Sat Jan 28, 2017 8:36 pm
GD Posts: 0
OGS: roy7
Universal go server handle: roy7
Been thanked: 7 times

Re: CGOS Bot Operators Community

Post by roy7 »

roy7 wrote:
aTan wrote:What does --noponder do? Havne't find any clear explanation anywhere? Does it make leela stronger or weaker?


Leela will normally think during the opponent's time. You can turn that off using --noponder. Makes her weaker.


Leela does ponder by default, it might be the order the time_left and genmove commands are sent to Leela by the cgos script, I'm not sure. It seems to turn her pondering off.
aTan
Dies in gote
Posts: 23
Joined: Tue Aug 29, 2017 7:39 am
Rank: 30k
GD Posts: 0

Re: CGOS Bot Operators Community

Post by aTan »

As someone mentioned it ealier - CPU/GPU is off during opponent time, even if there is no option 'noponder', so seems it simply doesn't work.
Satorian
Dies with sente
Posts: 93
Joined: Sun Jan 22, 2012 7:11 am
Rank: Total beginner
GD Posts: 0
Universal go server handle: Satorian
Has thanked: 26 times
Been thanked: 13 times

Re: CGOS Bot Operators Community

Post by Satorian »

Got Leela setup on my Ubuntu 16.04 boot now. CPU/GPU utilization reaches 100%, but memory footprint is still surprisingly small. It's below 80 MB in RAM and ~180 MB in GPU memory.

As for the pondering: That's a function of genmove versus kgs-genmove_cleanup. Simple genmove keeps pondering after move generation, while kgs-genmove_cleanup stops as soon as the move is generated.

Also, looking to compare Leela's internal benchmarks.

Ubuntu 16.04
benchmark
200000 games in 8.02 seconds -> 24937 g/s (3117 g/s per thread)
Avg Len: 418.62 Score: -2.561980
netbench
2000 predictions in 3.99 seconds -> 501 p/s
10000 evaluations in 2.73 seconds -> 3663 p/s

Windows 10
benchmark
200000 games in 13.02 seconds -> 15360 g/s (1920 g/s per thread)
Avg Len: 418.63 Score: -2.444100
netbench
2000 predictions in 4.19 seconds -> 477 p/s
10000 evaluations in 5.59 seconds -> 1788 p/s

That's quite a huge gap.
Post Reply