Page 1 of 2

ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Sun Oct 15, 2017 3:39 am
by aTan
https://github.com/ymgaq/AQ/releases

- Make it compatible with Windows (AQ_win)
- Added AQ-mini (AQ-mini_win: for CPU only)
- Supports 3 or more multi-GPUs
- Added Ponder OFF setting

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Sun Oct 22, 2017 3:51 am
by pnprog
I just want to report that I ran AQ vs Leela games on my computer, alternating black and white for both bots.
Both bots were running CPU only (no pondering), and my CPU is pretty old one: i3-3217U CPU @ 1.80GHz (4 cores).
Time settings was 30 second by moves, which AQ used at the fullest, but Leela somehow only used half of its time.

Result:
  • AQ: 10 wins
  • Leela: 4 wins

On shorter time (10 s/move) Leela seems to win all the games.

AQ is definitively a strong bot. I have added support for it in Go Review Partner, but there are still some details to be figured out with the developer of AQ (namely how to understand AQ win rate values).

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Sun Oct 22, 2017 6:59 am
by luigi
It doesn't work for me. Is it 32-bit or 64-bit? Do I need to enter any commands on Sabaki?

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Sun Oct 22, 2017 9:25 am
by pnprog
Hi!
luigi wrote:It doesn't work for me. Is it 32-bit or 64-bit? Do I need to enter any commands on Sabaki?


The easiest way for you to check that your computer can run AQ is to run directly the executable file AQ.exe, and once the black terminal looking windows is opened, wait until you see the message configuration loaded. to input genmove black followed by a press on <enter> key.

AQ will start thinking then provide an answer, it will look something like this:

Code: Select all

configuration loaded.
genmove black
thinking...
move cnt=1: left time=0.0[sec]
5[nodes] 5.1[sec] 685[playouts] 134.5[pps/thread]
total games=685, evaluated policy=5(0), value=23(24)
|move|count  |value|roll |prob |depth| best sequence
|D4  |    189| 51.9| 45.5| 17.5|    1| D4 ->Q16
|Q4  |    141| 51.5| 44.0| 18.0|    1| Q4 ->O3
|Q16 |    109| 51.3| 36.7| 18.7|    1| Q16->D16
|D16 |     73| 50.7| 37.0| 17.3|    1| D16->F17
|Q17 |     53| 51.5| 54.7|  3.9|    1|
|C16 |     25| 49.8| 52.0|  3.4|    1|
|Q3  |     22| 51.4| 45.5|  3.3|    1|
|C4  |     19| 50.6| 42.1|  3.8|    1|
|R16 |     19| 51.5| 36.8|  4.0|    1|
|D17 |     17| 50.5| 41.2|  3.4|    1|
= D4

   A  B  C  D  E  F  G  H  J  K  L  M  N  O  P  Q  R  S  T
19 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 19
18 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 18
17 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 17
16 .  .  .  +  .  .  .  .  .  +  .  .  .  .  .  +  .  .  . 16
15 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 15
14 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 14
13 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 13
12 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 12
11 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 11
10 .  .  .  +  .  .  .  .  .  +  .  .  .  .  .  +  .  .  . 10
 9 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  9
 8 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  8
 7 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  7
 6 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  6
 5 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  5
 4 .  .  . [X] .  .  .  .  .  +  .  .  .  .  .  +  .  .  .  4
 3 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  3
 2 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  2
 1 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  1
   A  B  C  D  E  F  G  H  J  K  L  M  N  O  P  Q  R  S  T

(here the answer is D4)

At that point you can be confident that AQ is working on your computer.

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Sun Oct 22, 2017 10:14 am
by luigi
pnprog wrote:
luigi wrote:It doesn't work for me. Is it 32-bit or 64-bit? Do I need to enter any commands on Sabaki?

The easiest way for you to check that your computer can run AQ is to run directly the executable file AQ.exe

I just tried that and got the following message (translated from Spanish by me):

This version of AQ.exe is not compatible with the Windows version that you are running. Check out the computer system information to see if you need an x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software editor.

Is your computer 64-bit?

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Sun Oct 22, 2017 9:35 pm
by pnprog
luigi wrote:Is your computer 64-bit?
Yes, 64 bits operating system, x64 processor.

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Sun Oct 22, 2017 9:44 pm
by Vargo
It works fine with Win10
install Sabaki
manage engines...
Add AQ
Add Leela replace "No argument" by "--gtp --noponder"
in AQ configuration file, -self match =off and -use pondering =off
and that's it, in sabaki, File, New, you choose your black engine, your white engine, and the game begins you can see at the same time the graphic board and the information (winrate etc)
Really fascinating...


THANK YOU to the authors of AQ, Leela and Sabaki !!!

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Mon Oct 23, 2017 1:24 am
by luigi
Vargo wrote:It works fine with Win10

I'm on Windows 7. I wonder if that's the problem. But it's more likely the 64-bit thing. My computer is 32-bit.

install Sabaki
manage engines...
Add AQ
Add Leela replace "No argument" by "--gtp --noponder"
in AQ configuration file, -self match =off and -use pondering =off
and that's it, in sabaki, File, New, you choose your black engine, your white engine, and the game begins you can see at the same time the graphic board and the information (winrate etc)

Leela works, but AQ doesn't. :sad:

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Sun Oct 29, 2017 1:46 am
by tartaric
Can someone explain how to make this bot working on Linux please? Can you explain every steps cause I am a noob using it. Thanks.

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Tue Oct 31, 2017 10:33 pm
by splee99
Well, without GPU on my computer, AQ really can't handle the latest Leela 0.11.0. I run twogtp and gogui and time setting is about 15 seconds per move. Leela 0.11.0 is too strong.

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Wed Nov 01, 2017 5:51 am
by Vargo
I think you are right, AQ needs a good GPU to be strong.

In Crazy Stone Deep Learning, you set the level at 13k, 12k, ... up to 6 Dan and 7 Dan , a very nice feature.
It's a way to play consistently at a certain level, independently of the hardware.

I set up 4 games between AQ (20" per move) and CSDL 5 Dan (6 dan and 7 dan take some time, and I'm a bit impatient !)
Both programs were side by side, and I entered the moves "by mouse" alternatively, no GTP

H3 : CSDL5dan - AQ(w) AQ wins
H4 : CSDL5dan - AQ(w) AQ wins
H5 : CSDL5dan - AQ(w) AQ wins
H6 : CSDL5dan - AQ(w) CSDL wins

In the H5 game , AQ had a rather strange beginning, but managed to kill nicely a big black group.

Two questions :
1) Could someone (with a decent GPU and CSDL and AQ installed) set up something similar ?
2) What do you think it says about AQ's strength ?


I've used Sabaki for AQ's moves, without any argument.




AQ's configuration :

### Hardware setting ###
# Set number of 1-8 for 'gpu count'.
# 'thread count' is number of the total usable threads.
-gpu count =1
-thread count =8

### Time contorol setting ###
# If using 'time_left' command via GTP,
# set 'time controll' to 'off'.
-main time[sec] =0
-byoyomi[sec] =20
-time controll =on

### Thinking setting ###
-japanese rule =off
-komi =7.5
-symmetrical index =0
-mimic go =off
-never resign =off

### Others ###
-self match =off
-save log =on
-master =off
-worker =off
-pb path =pb
-resume sgf path =
-worker count =1
-use pondering =off

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Sat Nov 11, 2017 12:28 pm
by splee99
I just upgraded my computer with a EVGA GTX 1050 video card. After run some games between AQ and Leela, I found AQ is indeed very strong. I set the time to 10 sec per move for AQ and no time limit for Leela (usually it uses 15 sec per move). AQ is able to beat Leela 0.11 with 2 handicaps. Also it appears that you have to use --nobook option for Leela to let it think more thoroughly in the beginning.
Maybe the strength of AQ comes from its large memory usage, which is about 3.8 Gbytes when it is thinking, compared to 80 Mbytes for Leela. Also the number of threads used by Leela can't be set higher than 2.

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Mon Nov 13, 2017 5:04 pm
by kdbaby1412
Run this AQ on my computer with Leela and test how these two are fight together.

First game: AQ (Black) vs Leela 11.0 (White) - B+Res (1:0)
Second game: AQ (White) vs Leela 11.0 (Black) - B+Res (1:1)
Third game: AQ (Black) vs Leela 11.0 (White) - B+Res (2:1)

Computer spec: AMD Ryzen 1700X, GTX 1060 3GB






Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Tue Nov 14, 2017 4:36 am
by Vargo
It seems very odd. .. I don't believe leela can win an even game.
You have 8 cores, how many threads do you have in the AQ config file ?
Pondering is off for both ?

Re: ymgaq released Windows version of his AQ v2.0.3 bot

Posted: Tue Nov 14, 2017 6:30 am
by kdbaby1412
Vargo wrote:It seems very odd. .. I don't believe leela can win an even game.
You have 8 cores, how many threads do you have in the AQ config file ?
Pondering is off for both ?


First game I switch pondering on, and Leela was unable to do anything.

Second and Third I turned pondering off.

All game only used 4 threads. I'm currently testing with 8 thread right now. AQ is kinda slow even though setting is 5s/move byo-yomi.

I thought AQ used sole GPU and does not rely on CPU that much?