Glad to see Raspberry Pi binaries!amanjpro wrote: ↑Mon Oct 04, 2021 3:19 amThanks a lot, and I see Mantissa finally seeing the light, cool
Zahak will probably be in D5 (or maayyyybe D4, but I prefer D5)federico wrote: ↑Mon Oct 04, 2021 3:12 amAwesome progress, Amanj !! I guess Ceibo won't be meeting Zahak in D6amanjpro wrote: ↑Sun Oct 03, 2021 4:24 pm Meet the latest and greatest Zahak, version 7.0 with NNUE:
https://github.com/amanjpro/zahak/releases/tag/7.0
More details are here in this article: https://zahak.amanj.me/posts/meet-zahak-7/
TL; DR; the trainer is written from scratch, the data is from self-play, and you can train different nets with provided tools if you like
Elo estimation: +190 over Zahak 6.2![]()
Zahak, a GoLang based chess engine
Moderator: Ras
-
AdminX
- Posts: 6363
- Joined: Mon Mar 13, 2006 2:34 pm
- Location: Acworth, GA
Re: Zahak, a GoLang based chess engine
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
__________________________________________________________________
Ted Summers
-
amanjpro
- Posts: 883
- Joined: Sat Mar 13, 2021 1:47 am
- Full name: Amanj Sherwany
Re: Zahak, a GoLang based chess engine
6.0 had issue, but that was corrected in 6.2, will check 7.0.Archimedes wrote: ↑Mon Oct 04, 2021 9:56 am Doesn't work on Android. Engine crashes immediately when loading with DroidFish. Last version that works with DroidFish, was Zahak 5.0.
If it doesn't work, then I almost know for sure what is the issue. The GUI sends an empty EvalFile even if you don't set it.
That is an easy fix for me, but the bug is in DroidFish really (if you don't set an option, and leave it as default it shouldn't send the engine anything)
I'll probably have a hotfix at somepoint to address the issue, but in the meantime you can make it work by loading the default net manually, download it here and set it in the engine options: https://github.com/amanjpro/zahak/blob/7.0/default.nn
Last edited by amanjpro on Mon Oct 04, 2021 3:08 pm, edited 1 time in total.
-
amanjpro
- Posts: 883
- Joined: Sat Mar 13, 2021 1:47 am
- Full name: Amanj Sherwany
Re: Zahak NNUE (7.0)
Oh, never knew that Combusken is actually written in Go.Guenther wrote: ↑Mon Oct 04, 2021 10:13 amYou might take a look at Combusken which is the only Go engine so far using tablebases.
And congrats for your new release!
And I am surprised that they use Fathom for EGTB, I always thought that bridging between Go-to-C is going to be too slow to be useful
-
amanjpro
- Posts: 883
- Joined: Sat Mar 13, 2021 1:47 am
- Full name: Amanj Sherwany
Re: Zahak, a GoLang based chess engine
OK, this release should work just fine on DroidFish: https://github.com/amanjpro/zahak/releases/tag/7.1Archimedes wrote: ↑Mon Oct 04, 2021 9:56 am Doesn't work on Android. Engine crashes immediately when loading with DroidFish. Last version that works with DroidFish, was Zahak 5.0.
It is bit by bit equivallent to 7.0, except the UCI has been "fixed" to work with BanksiaGUI and DroidFish
-
Archimedes
- Posts: 173
- Joined: Tue Mar 05, 2019 3:43 pm
- Full name: Archimedes
Re: Zahak, a GoLang based chess engine
Could not reach this point. Engines crashes before and there are no uci options available. Version 7.1 also doesn't work on DroidFish and Chess for Android.amanjpro wrote: ↑Mon Oct 04, 2021 2:38 pm I'll probably have a hotfix at somepoint to address the issue, but in the meantime you can make it work by loading the default net manually, download it here and set it in the engine options: https://github.com/amanjpro/zahak/blob/7.0/default.nn
-
amanjpro
- Posts: 883
- Joined: Sat Mar 13, 2021 1:47 am
- Full name: Amanj Sherwany
Re: Zahak, a GoLang based chess engine
It just worked for me. Did you download 64 for bit arm binary or 32? I tried 64 and it workedArchimedes wrote: ↑Mon Oct 04, 2021 4:01 pmCould not reach this point. Engines crashes before and there are no uci options available. Version 7.1 also doesn't work on DroidFish and Chess for Android.amanjpro wrote: ↑Mon Oct 04, 2021 2:38 pm I'll probably have a hotfix at somepoint to address the issue, but in the meantime you can make it work by loading the default net manually, download it here and set it in the engine options: https://github.com/amanjpro/zahak/blob/7.0/default.nn
-
amanjpro
- Posts: 883
- Joined: Sat Mar 13, 2021 1:47 am
- Full name: Amanj Sherwany
Re: Zahak, a GoLang based chess engine
Can you please send me a screenshot of the error you are experiencing?Archimedes wrote: ↑Mon Oct 04, 2021 4:01 pmCould not reach this point. Engines crashes before and there are no uci options available. Version 7.1 also doesn't work on DroidFish and Chess for Android.amanjpro wrote: ↑Mon Oct 04, 2021 2:38 pm I'll probably have a hotfix at somepoint to address the issue, but in the meantime you can make it work by loading the default net manually, download it here and set it in the engine options: https://github.com/amanjpro/zahak/blob/7.0/default.nn
-
Archimedes
- Posts: 173
- Joined: Tue Mar 05, 2019 3:43 pm
- Full name: Archimedes
Re: Zahak, a GoLang based chess engine
Your compilation are working fine with DroidFish. My compilation did not work. After looking to the makefile, i realize, that it was my fault. A simple go build was not enough for proper compiling, i have to add the command "go run netgen/nn.go" in front of the go build command. With this change, Android builds are working fine with DroidFish. Thanks for your support.amanjpro wrote: ↑Mon Oct 04, 2021 4:18 pmIt just worked for me. Did you download 64 for bit arm binary or 32? I tried 64 and it workedArchimedes wrote: ↑Mon Oct 04, 2021 4:01 pmCould not reach this point. Engines crashes before and there are no uci options available. Version 7.1 also doesn't work on DroidFish and Chess for Android.amanjpro wrote: ↑Mon Oct 04, 2021 2:38 pm I'll probably have a hotfix at somepoint to address the issue, but in the meantime you can make it work by loading the default net manually, download it here and set it in the engine options: https://github.com/amanjpro/zahak/blob/7.0/default.nn
Zahak 7.1 for Android:
https://app.box.com/s/621lopi2t1eeisovqy2cadk88h75590x
-
amanjpro
- Posts: 883
- Joined: Sat Mar 13, 2021 1:47 am
- Full name: Amanj Sherwany
Re: Zahak, a GoLang based chess engine
Happy to hear that the issue is resolvedArchimedes wrote: ↑Mon Oct 04, 2021 8:51 pmYour compilation are working fine with DroidFish. My compilation did not work. After looking to the makefile, i realize, that it was my fault. A simple go build was not enough for proper compiling, i have to add the command "go run netgen/nn.go" in front of the go build command. With this change, Android builds are working fine with DroidFish. Thanks for your support.amanjpro wrote: ↑Mon Oct 04, 2021 4:18 pmIt just worked for me. Did you download 64 for bit arm binary or 32? I tried 64 and it workedArchimedes wrote: ↑Mon Oct 04, 2021 4:01 pmCould not reach this point. Engines crashes before and there are no uci options available. Version 7.1 also doesn't work on DroidFish and Chess for Android.amanjpro wrote: ↑Mon Oct 04, 2021 2:38 pm I'll probably have a hotfix at somepoint to address the issue, but in the meantime you can make it work by loading the default net manually, download it here and set it in the engine options: https://github.com/amanjpro/zahak/blob/7.0/default.nn
Zahak 7.1 for Android:
https://app.box.com/s/621lopi2t1eeisovqy2cadk88h75590x
BTW, my linux-arm-{32,64 bits} both work just fine on Android, not sure if you do anything more in your binaries, if there is some option I should provide to make your life easier, I'll
-
Archimedes
- Posts: 173
- Joined: Tue Mar 05, 2019 3:43 pm
- Full name: Archimedes
Re: Zahak, a GoLang based chess engine
I compile all go engines directly for Android (e. g. GOOS=android GOARCH=arm64). Therefore you need Android NDK.