Chess Fighter 2.0 release

Discussion of anything and everything relating to chess playing software and machines.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Alexander Lim
Posts: 34
Joined: Sun Mar 10, 2019 12:16 am
Full name: Alexander Lim

Re: Chess Fighter 2.0 release

Post by Alexander Lim » Tue Jul 02, 2019 6:42 pm

George Tsavdaris wrote:
Tue Jul 02, 2019 6:12 pm
Alexander Lim wrote:
Mon Jul 01, 2019 10:29 pm
You will need a GPU with at least Cuda 9 installed.
Thanks. Where can i find that? Any concrete link to download them?

OR since Leela got permission to have the appropriate dlls distributed with her, is there any chance that putting these 3 dlls of Leela for CUDA and cudnn in a folder with Chessfighter, then Chessfighter to work?
These 3 "Leela's" dlls are:
cublas64_100.dll
cudart64_100.dll
cudnn64_7.dll
It sounds like you must already have CUDA 10 installed as you already use Leela (right?). In which case, judging from other peoples posts, Chess Fighter should work fine. If you download the zip file all the CUDA 9 dlls are included. Just keep everything in the same folder. Don't put the CUDA 10 dlls in the Chess Fighter folder.

User avatar
George Tsavdaris
Posts: 1598
Joined: Thu Mar 09, 2006 11:35 am

Re: Chess Fighter 2.0 release

Post by George Tsavdaris » Tue Jul 02, 2019 6:48 pm

Alexander Lim wrote:
Tue Jul 02, 2019 6:42 pm

It sounds like you must already have CUDA 10 installed as you already use Leela (right?). In which case, judging from other peoples posts, Chess Fighter should work fine. If you download the zip file all the CUDA 9 dlls are included. Just keep everything in the same folder. Don't put the CUDA 10 dlls in the Chess Fighter folder.
Yeah i noticed that it contains the dlls afterwards.
But i do NOT have downloaded any special CUDA 10 package or something. I just have the 3 dlls to run Leela.

But now about Chessfighter, it does not run in Arena even after making it UCI. It loads fine and then says "Chessfighter.exe has stopped working, a problem caused the program to stop working correctly."
Exact same thing happens with running it from command line. Damn i wonder why?


EDIT:
Seeing the NVidia settings i see i have CUDA 10.1.120 driver installed.
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....

User avatar
George Tsavdaris
Posts: 1598
Joined: Thu Mar 09, 2006 11:35 am

Re: Chess Fighter 2.0 release

Post by George Tsavdaris » Tue Jul 02, 2019 7:09 pm

Alexander Lim wrote:
Tue Jul 02, 2019 6:42 pm
It sounds like you must already have CUDA 10 installed as you already use Leela (right?). In which case, judging from other peoples posts, Chess Fighter should work fine. If you download the zip file all the CUDA 9 dlls are included. Just keep everything in the same folder. Don't put the CUDA 10 dlls in the Chess Fighter folder.
OK update:

It does NOT run in the following system(don't know which fault is it. Chessfighter does not like Windows 10? AMD/Threadripper? RTX 2080?)
AMD Threadripper 2990WX (32 cores) 3.00 GHz, 64 GB RAM, RTX 2080 8 GB + RTX2060 6 GB, 2x 2 TB Samsung 860 Evo + 1 HDD 4 TB + SSD 1TB M.2 NVMe Adata XPG SX8200 Pro

It does run in that perfectly fine:
Intel Core i7 i7-4770K (4 Cores) 3.50 GHz, 16 GB RAM, GTX 1070 Ti 8 GB, 2x 10 TB HDD Western Digital Ultrastar DC HC510 - 7200 RPM

And in that fine also:
Intel Core i5 6500 (4 cores) 3.40 GHz, 16 GB RAM, GTX 1070 Ti 8 GB + Radeon RX 460 2 TB, HDD Western Digital 2 TB + 250 GB SSD

Any idea why it doesn't run on the first?
Maybe is this a classic stupid Windows 10 permissions thing? I forgot to run it on C:\ to avoid permission problems. Have to leave now will do tomorrow.
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....

supersharp77
Posts: 752
Joined: Sat Jul 05, 2014 5:54 am
Location: Southwest USA

Re: Chess Fighter 2.0 release

Post by supersharp77 » Tue Jul 02, 2019 8:55 pm

Alexander Lim wrote:
Mon Jul 01, 2019 10:29 pm
Dear all,

Chess Fighter 2.0 is now available. Here is a link to a zip file containing all the files:

https://drive.google.com/open?id=1i9CTk ... 7xrfCeeynq

I've managed to implement most of what you expect from a UCI engine.
Time controls: blitz, fixed time, infinite analysis, fixed nodes. Does not support fixed depth as does not make sense for MCTS. Will output the PV and info regarding the policy priors.

There is no table base support.

You will need a GPU with at least Cuda 9 installed.

The neural net sizes are 8x128. Training is a mixture of Chess Fighter self-play games and supervised learning from CCRL games. Training is still ongoing.

Chess Fighter does not use history planes so there is no issue with giving it FENS and using it for analysis.

On my 1080ti I'm getting around 7000nps and would estimate its strength around 2800-2900 ELO. It's quite an aggressive player and doesn't shy away from complicated positions despite tactics being its weakest side. Although it can miss certain types of tactics that are easy for classical engines (in particular x-ray attacks), it often finds certain tactical / positional sacrifices that the classical engines just can't find.

If anyone does download, could you please post if Chess Fighter worked on your system and what nps you are getting and your PC/GPU specs. Thanks.
........CPU compiles? Thx AR :) :wink:

Alexander Lim
Posts: 34
Joined: Sun Mar 10, 2019 12:16 am
Full name: Alexander Lim

Re: Chess Fighter 2.0 release

Post by Alexander Lim » Tue Jul 02, 2019 10:03 pm

dkappe wrote:
Tue Jul 02, 2019 12:09 am
Alexander Lim wrote:
Mon Jul 01, 2019 10:29 pm
Dear all,

Chess Fighter 2.0 is now available. Here is a link to a zip file containing all the files:

https://drive.google.com/open?id=1i9CTk ... 7xrfCeeynq

I've managed to implement most of what you expect from a UCI engine.
Time controls: blitz, fixed time, infinite analysis, fixed nodes. Does not support fixed depth as does not make sense for MCTS. Will output the PV and info regarding the policy priors.

There is no table base support.

You will need a GPU with at least Cuda 9 installed.

The neural net sizes are 8x128. Training is a mixture of Chess Fighter self-play games and supervised learning from CCRL games. Training is still ongoing.

Chess Fighter does not use history planes so there is no issue with giving it FENS and using it for analysis.

On my 1080ti I'm getting around 7000nps and would estimate its strength around 2800-2900 ELO. It's quite an aggressive player and doesn't shy away from complicated positions despite tactics being its weakest side. Although it can miss certain types of tactics that are easy for classical engines (in particular x-ray attacks), it often finds certain tactical / positional sacrifices that the classical engines just can't find.

If anyone does download, could you please post if Chess Fighter worked on your system and what nps you are getting and your PC/GPU specs. Thanks.
Is the training code available?
Hi there. I appreciate your interest - especially coming from a fellow neural net programmer - but the code, and in particular the exact training methods I used are going to be kept under wraps for the time being.

Alexander Lim
Posts: 34
Joined: Sun Mar 10, 2019 12:16 am
Full name: Alexander Lim

Re: Chess Fighter 2.0 release

Post by Alexander Lim » Tue Jul 02, 2019 10:50 pm

Hi all,

quick notification. I've made a small change regarding the default value net that Chess Fighter will use. Upon loading it will now look for a file named v_8x128c_6756.dat by default (i.e if no command line is entered). I've replaced the uploaded zip file with a new one of the same name. It's a very minute change so it's still called Chess Fighter 2.0.

For people who have already downloaded Chess Fighter 2, I've uploaded the new chessfighter20.exe and v_8x128c_6756.dat files in the main Chess Fighter 2 folder so you only need to download them and not the whole thing again. Just copy them into your ChessFighter2 folder and delete the old .exe file:

https://drive.google.com/open?id=1i9CTk ... 7xrfCeeynq

The value net I released earlier was exposed to some endgame training which might of harmed its overall strength. Since then I've been training it normally and hopefully this new net is a little bit stronger.

I'll also be putting out new nets occasionally and making announcements as I do so.

Dokterchen
Posts: 104
Joined: Wed Aug 15, 2007 10:18 am
Location: Munich

Re: Chess Fighter 2.0 release

Post by Dokterchen » Fri Jul 05, 2019 11:40 am

Alexander Lim wrote:
Tue Jul 02, 2019 6:42 pm
George Tsavdaris wrote:
Tue Jul 02, 2019 6:12 pm
Alexander Lim wrote:
Mon Jul 01, 2019 10:29 pm
You will need a GPU with at least Cuda 9 installed.
Thanks. Where can i find that? Any concrete link to download them?

OR since Leela got permission to have the appropriate dlls distributed with her, is there any chance that putting these 3 dlls of Leela for CUDA and cudnn in a folder with Chessfighter, then Chessfighter to work?
These 3 "Leela's" dlls are:
cublas64_100.dll
cudart64_100.dll
cudnn64_7.dll
It sounds like you must already have CUDA 10 installed as you already use Leela (right?). In which case, judging from other peoples posts, Chess Fighter should work fine. If you download the zip file all the CUDA 9 dlls are included. Just keep everything in the same folder. Don't put the CUDA 10 dlls in the Chess Fighter folder.
On my machine (WIN10, CUDA10) that does not work. I have to rename the CUDA10 DLLs to CUDA9 to get work.
Torsten

User avatar
Werner
Posts: 2413
Joined: Wed Mar 08, 2006 9:09 pm

Re: Chess Fighter 2.0 release

Post by Werner » Fri Jul 05, 2019 3:39 pm

On my pc the engine crashes at once.

After I have copied the cuda.dlls from LC0 Folder into ChessFighter Folder: the engine starts :?:
Werner

Alexander Lim
Posts: 34
Joined: Sun Mar 10, 2019 12:16 am
Full name: Alexander Lim

Re: Chess Fighter 2.0 release

Post by Alexander Lim » Sat Jul 06, 2019 12:03 pm

Werner wrote:
Fri Jul 05, 2019 3:39 pm
On my pc the engine crashes at once.

After I have copied the cuda.dlls from LC0 Folder into ChessFighter Folder: the engine starts :?:
And it works fine right?

Chess Fighter comes with cudnn64_7.dll, cudart64_92.dll and cublas64_92.dll which seems to work fine for some people though not others (unfortunately this includes TCEC).

Could you describe in detail exactly what you did to make it work on your system? Which files you deleted, which ones you copied from LC0 folder and whether you needed to rename anything? Thanks!

User avatar
Werner
Posts: 2413
Joined: Wed Mar 08, 2006 9:09 pm

Re: Chess Fighter 2.0 release

Post by Werner » Sat Jul 06, 2019 1:31 pm

Hi, These are the files in the Folder:
v_8x128c_6756.dat 10.060.153 05.07.2019 17:10 -a--
ChessFighter20.exe 1.418.240 05.07.2019 17:09 -a--
ReadMe.txt 458 01.07.2019 21:30 -a--
preg_8x128b_1454.dat 41.076.859 20.06.2019 20:58 -a--
cudnn64_7.dll 338.195.968 21.09.2018 09:19 -a--
CUDNN.txt 38.963 20.09.2018 19:22 -a--
cublas64_100.dll 67.318.784 26.08.2018 06:33 -a--
cudart64_100.dll 416.256 26.08.2018 06:33 -a--
CUDA.txt 64.509 26.08.2018 05:31 -a--
cublas64_92.dll 54.444.032 13.06.2018 06:53 -a--
cudart64_92.dll 368.128 13.06.2018 06:53 -a--

so cudnn64_7.dll is orverwritten and the other dll are additiional in the Folder.
Werner

Post Reply