New Giraffe (Sept 8)

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

Moderator: Ras

carldaman
Posts: 2287
Joined: Sat Jun 02, 2012 2:13 am

Re: New Giraffe (Sept 8)

Post by carldaman »

matthewlai wrote:
fern wrote:Great, but, how?
I am not computer geek
Download this: https://bitbucket.org/waterreaction/gir ... ci_w32.eng

Rename it to Wb2Uci.eng

Replace the Wb2Uci.eng file in the original download with this.
Hi Matthew,

Actually, doesn't he (also) need the 32-bit version of wb2uci.exe?

Thanks for your great engine, by the way! :)

Regards,
CL
matthewlai
Posts: 793
Joined: Sun Aug 03, 2014 4:48 am
Location: London, UK

Re: New Giraffe (Sept 8)

Post by matthewlai »

carldaman wrote:
matthewlai wrote:
fern wrote:Great, but, how?
I am not computer geek
Download this: https://bitbucket.org/waterreaction/gir ... ci_w32.eng

Rename it to Wb2Uci.eng

Replace the Wb2Uci.eng file in the original download with this.
Hi Matthew,

Actually, doesn't he (also) need the 32-bit version of wb2uci.exe?

Thanks for your great engine, by the way! :)

Regards,
CL
I believe wb2uci.exe is already 32-bit. It only talks to the engine over standard input/output, so it doesn't need to be 64-bit.
Disclosure: I work for DeepMind on the AlphaZero project, but everything I say here is personal opinion and does not reflect the views of DeepMind / Alphabet.
carldaman
Posts: 2287
Joined: Sat Jun 02, 2012 2:13 am

Re: New Giraffe (Sept 8)

Post by carldaman »

matthewlai wrote:
carldaman wrote:
matthewlai wrote:
fern wrote:Great, but, how?
I am not computer geek
Download this: https://bitbucket.org/waterreaction/gir ... ci_w32.eng

Rename it to Wb2Uci.eng

Replace the Wb2Uci.eng file in the original download with this.
Hi Matthew,

Actually, doesn't he (also) need the 32-bit version of wb2uci.exe?

Thanks for your great engine, by the way! :)

Regards,
CL
I believe wb2uci.exe is already 32-bit. It only talks to the engine over standard input/output, so it doesn't need to be 64-bit.
Thanks for the clarification, Matthew.
User avatar
Marek Soszynski
Posts: 587
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: New Giraffe (Sept 8)

Post by Marek Soszynski »

(I'm running a 64-bit Linux system.)

I can load giraffe_uci.exe and see the parameters, but when I actually try to run it, it crashes.

So, instead, I run giraffe_w64.exe as a Winboard engine. It takes about 70 seconds to load, but is okay after that.
Marek Soszynski
matthewlai
Posts: 793
Joined: Sun Aug 03, 2014 4:48 am
Location: London, UK

Re: New Giraffe (Sept 8)

Post by matthewlai »

Marek Soszynski wrote:(I'm running a 64-bit Linux system.)

I can load giraffe_uci.exe and see the parameters, but when I actually try to run it, it crashes.

So, instead, I run giraffe_w64.exe as a Winboard engine. It takes about 70 seconds to load, but is okay after that.
It's possible that giraffe_uci (which is really the Wb2Uci adapter) doesn't run under wine. I have never actually tried that.

Seems to work for me under Windows -

Code: Select all

uci
isready
position startpos
go infinite
But yeah if you can run Winboard/CECP engines, it's better to run it as a Winboard engine.

It does take quite a while to load the neural networks, though 70 seconds is an awfully long time unless you have a very slow computer. On my computer it takes about 3 seconds. It could be something to do with wine.

Since Giraffe is open source now, though, you can also do a native build for yourself.

Code: Select all

sudo apt-get install mercurial libgoogle-perftools-dev g++-4.9
hg clone https://waterreaction@bitbucket.org/waterreaction/giraffe
cd giraffe
make
Then just use eval.net and meval.net files from the binary distribution, along with the produced "giraffe" binary.
Disclosure: I work for DeepMind on the AlphaZero project, but everything I say here is personal opinion and does not reflect the views of DeepMind / Alphabet.
User avatar
Marek Soszynski
Posts: 587
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: New Giraffe (Sept 8)

Post by Marek Soszynski »

Thanks Matthew. I'll look into compiling it much later. If only Jim Ablett could look into compiling it first!
Marek Soszynski
JoshPettus
Posts: 730
Joined: Fri Oct 19, 2012 2:23 am

Re: New Giraffe (Sept 8)

Post by JoshPettus »

Out of curiosity, as I don't have linux, does giraffe 64 bit run in wine64 on linux? It doesn't at all on OSX win64 but that could be for a lot of reasons as it's extremely experimental on OSX. But again, I was just curious.
User avatar
Marek Soszynski
Posts: 587
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: New Giraffe (Sept 8)

Post by Marek Soszynski »

JoshPettus wrote:Out of curiosity, as I don't have linux, does giraffe 64 bit run in wine64 on linux? It doesn't at all on OSX win64 but that could be for a lot of reasons as it's extremely experimental on OSX. But again, I was just curious.
Yes, 64-bit Giraffe does run on Linux. I use it as an Xboard/Winboard engine through Scid (Linux) and Aquarium (Windows). It takes over a minute to load (and then runs normally); without the two .net files it loads quickly.
Marek Soszynski
supersharp77
Posts: 1265
Joined: Sat Jul 05, 2014 7:54 am
Location: Southwest USA

Re: New Giraffe Engine (not Working)

Post by supersharp77 »

Loads in w32 and tried to run used 300 k ram (but no moves made)
has eval.net file and meval.net files enclosed but no ini file......no config file
and no readme file......also no opening book......just how is this chessengine
supposed to work?..where do you set the parameters? and wheres the cookbook/instructions?? LMAO Thx..........AR :) :wink:
Daniel Anulliero
Posts: 772
Joined: Fri Jan 04, 2013 4:55 pm
Location: Nice

Re: New Giraffe Engine (not Working)

Post by Daniel Anulliero »

supersharp77 wrote:Loads in w32 and tried to run used 300 k ram (but no moves made)
has eval.net file and meval.net files enclosed but no ini file......no config file
and no readme file......also no opening book......just how is this chessengine
supposed to work?..where do you set the parameters? and wheres the cookbook/instructions?? LMAO Thx..........AR :) :wink:
64 bits version works great in Arena , no book ? I don't care , Arena has it 😉
What an "acerb" coment... seems you're not very patient guy ..