New Giraffe

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

Moderator: Ras

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

Re: New Giraffe

Post by matthewlai »

People experiencing crashes - can you please try again? I've updated the files (same path: https://bitbucket.org/waterreaction/gir ... 161023.zip).

If you weren't experiencing crashes, there's no need to update. This version is identical except for initialization sequence.
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.
CheckersGuy
Posts: 273
Joined: Wed Aug 24, 2016 9:49 pm

Re: New Giraffe

Post by CheckersGuy »

matthewlai wrote:People experiencing crashes - can you please try again? I've updated the files (same path: https://bitbucket.org/waterreaction/gir ... 161023.zip).

If you weren't experiencing crashes, there's no need to update. This version is identical except for initialization sequence.
For some reason winboard crashes immediatly after I run the Giraffe_uci.exe
matthewlai
Posts: 793
Joined: Sun Aug 03, 2014 4:48 am
Location: London, UK

Re: New Giraffe

Post by matthewlai »

CheckersGuy wrote:
matthewlai wrote:People experiencing crashes - can you please try again? I've updated the files (same path: https://bitbucket.org/waterreaction/gir ... 161023.zip).

If you weren't experiencing crashes, there's no need to update. This version is identical except for initialization sequence.
For some reason winboard crashes immediatly after I run the Giraffe_uci.exe
Do you have a log by any chance?

And can you try to run it by double clicking?

Type:

Code: Select all

isready
position startpos
go infinite
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.
matthewlai
Posts: 793
Joined: Sun Aug 03, 2014 4:48 am
Location: London, UK

Re: New Giraffe

Post by matthewlai »

CheckersGuy wrote:
matthewlai wrote:People experiencing crashes - can you please try again? I've updated the files (same path: https://bitbucket.org/waterreaction/gir ... 161023.zip).

If you weren't experiencing crashes, there's no need to update. This version is identical except for initialization sequence.
For some reason winboard crashes immediatly after I run the Giraffe_uci.exe
Also, why are you using UCI version for winboard? Giraffe is a native winboard/xboard engine. The "UCI version" is just an adapter. Winboard uses polyglot as UCI-WB adapter, so you are essentially doing winboard->UCI->winboard.
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.
Guenther
Posts: 4718
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: New Giraffe

Post by Guenther »

matthewlai wrote:People experiencing crashes - can you please try again? I've updated the files (same path: https://bitbucket.org/waterreaction/gir ... 161023.zip).

If you weren't experiencing crashes, there's no need to update. This version is identical except for initialization sequence.
Sorry Matthew, this one crashes immediately, also from console.
(note that I still have set gaviota path as environment variable)

Edit: the 32 bit version behaves the same here.

Code: Select all

recognized 'normal' (-1) as variant normal
recognized 'normal' (-1) as variant normal
shuffleOpenings = 0
Version: WinBoard 4.8.0b + Giraffe_20161105-64
Reset(1, 0) from gameMode 0
recognized 'normal' (-1) as variant normal
GameEnds(0, (null), 2)
shuffleOpenings = 0
StartChildProcess (dir="C:\Engines\WB\Giraffe_20161105-64") Giraffe_20161105-64
nice engine proc to 10
640 >first : xboard
protover 2
656 <first : # Using 4 OpenMP thread(s)
656 <first : # Version: d3aa7af342db
656 <first : # Running in release mode
10655 >first : new
random
10655 >first : level 40 4 0
10655 >first : post
10655 >first : hard
10655 >first : easy
Impossible move , type = 0
Fatal Error: Error: first chess program (Giraffe_20161105-64) exited unexpectedly
GameEnds(27, Error: first chess program (Giraffe_20161105-64) exited unexpectedly, 2)
40607 >first : result 0-1 {Error: first chess program (Giraffe_20161105-64) exited unexpectedly}
40607 >first : force
40716 >first : quit

Code: Select all

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2016-11-06T07:13:10.000000000Z" /> 
  <EventRecordID>78627</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>CAPPUCCINO</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>Giraffe_20161105-64.exe</Data> 
  <Data>0.0.0.0</Data> 
  <Data>0054ddc8</Data> 
  <Data>Giraffe_20161105-64.exe</Data> 
  <Data>0.0.0.0</Data> 
  <Data>0054ddc8</Data> 
  <Data>c000001d</Data> 
  <Data>0000000000036243</Data> 
  <Data>23c0</Data> 
  <Data>01d237fd3acf85d3</Data> 
  <Data>C:\Engines\WB\Giraffe_20161105-64\Giraffe_20161105-64.exe</Data> 
  <Data>C:\Engines\WB\Giraffe_20161105-64\Giraffe_20161105-64.exe</Data> 
  <Data>78a48813-a3f0-11e6-82ad-00040eeeeeee</Data> 
  </EventData>
  </Event>
matthewlai
Posts: 793
Joined: Sun Aug 03, 2014 4:48 am
Location: London, UK

Re: New Giraffe

Post by matthewlai »

Guenther wrote:
matthewlai wrote:People experiencing crashes - can you please try again? I've updated the files (same path: https://bitbucket.org/waterreaction/gir ... 161023.zip).

If you weren't experiencing crashes, there's no need to update. This version is identical except for initialization sequence.
Sorry Matthew, this one crashes immediately, also from console.
(note that I still have set gaviota path as environment variable)

Edit: the 32 bit version behaves the same here.

Code: Select all

recognized 'normal' (-1) as variant normal
recognized 'normal' (-1) as variant normal
shuffleOpenings = 0
Version: WinBoard 4.8.0b + Giraffe_20161105-64
Reset(1, 0) from gameMode 0
recognized 'normal' (-1) as variant normal
GameEnds(0, (null), 2)
shuffleOpenings = 0
StartChildProcess (dir="C:\Engines\WB\Giraffe_20161105-64") Giraffe_20161105-64
nice engine proc to 10
640 >first : xboard
protover 2
656 <first : # Using 4 OpenMP thread(s)
656 <first : # Version: d3aa7af342db
656 <first : # Running in release mode
10655 >first : new
random
10655 >first : level 40 4 0
10655 >first : post
10655 >first : hard
10655 >first : easy
Impossible move , type = 0
Fatal Error: Error: first chess program (Giraffe_20161105-64) exited unexpectedly
GameEnds(27, Error: first chess program (Giraffe_20161105-64) exited unexpectedly, 2)
40607 >first : result 0-1 {Error: first chess program (Giraffe_20161105-64) exited unexpectedly}
40607 >first : force
40716 >first : quit

Code: Select all

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2016-11-06T07:13:10.000000000Z" /> 
  <EventRecordID>78627</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>CAPPUCCINO</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>Giraffe_20161105-64.exe</Data> 
  <Data>0.0.0.0</Data> 
  <Data>0054ddc8</Data> 
  <Data>Giraffe_20161105-64.exe</Data> 
  <Data>0.0.0.0</Data> 
  <Data>0054ddc8</Data> 
  <Data>c000001d</Data> 
  <Data>0000000000036243</Data> 
  <Data>23c0</Data> 
  <Data>01d237fd3acf85d3</Data> 
  <Data>C:\Engines\WB\Giraffe_20161105-64\Giraffe_20161105-64.exe</Data> 
  <Data>C:\Engines\WB\Giraffe_20161105-64\Giraffe_20161105-64.exe</Data> 
  <Data>78a48813-a3f0-11e6-82ad-00040eeeeeee</Data> 
  </EventData>
  </Event>
Hi Guenther,

Can you try again? Same URL.

It looks like it's crashing in Gaviota code for some reason, though it doesn't on my machine. I changed compile flags for this build to not use any SIMD instructions in Gaviota code (which didn't really help anyways), and also added more debug logging in case it still crashes for you.

Thanks
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.
Guenther
Posts: 4718
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: New Giraffe

Post by Guenther »

matthewlai wrote:
Guenther wrote:
matthewlai wrote:People experiencing crashes - can you please try again? I've updated the files (same path: https://bitbucket.org/waterreaction/gir ... 161023.zip).

If you weren't experiencing crashes, there's no need to update. This version is identical except for initialization sequence.
Sorry Matthew, this one crashes immediately, also from console.
(note that I still have set gaviota path as environment variable)

Edit: the 32 bit version behaves the same here.

...

Hi Guenther,

Can you try again? Same URL.

It looks like it's crashing in Gaviota code for some reason, though it doesn't on my machine. I changed compile flags for this build to not use any SIMD instructions in Gaviota code (which didn't really help anyways), and also added more debug logging in case it still crashes for you.

Thanks
You nailed it! Now it works.

Code: Select all

# Using 4 OpenMP thread(s)
# Version: b5eadf666dbf
# Running in release mode
# Initializing GTB
# Loading GTB from path: C:\GTB
#
# GTB PATHS
#   main: C:\GTB
#
# GTB initialization
#   Compression  Scheme = 4
#   Compression Indexes (3-pc) = PASSED
#   Compression Indexes (4-pc) = PASSED
#   Compression Indexes (5-pc) = **FAILED**
#
# Using ANN evaluator
# Using static move evaluator
xboard
go
# Allocated 12, 24 seconds
# d: 1 node budget: 1 NPS: 27002
# d: 2 node budget: 4 NPS: 15999.9
# d: 3 node budget: 16 NPS: 17799.6
# d: 4 node budget: 64 NPS: 22249.6
# d: 5 node budget: 256 NPS: 37714.5
# d: 6 node budget: 1024 NPS: 42100
# d: 7 node budget: 4096 NPS: 63677.6
# d: 8 node budget: 16384 NPS: 69822.1
# d: 9 node budget: 65536 NPS: 75934.3
# d: 10 node budget: 262144 NPS: 83593
# d: 11 node budget: 1048576 NPS: 90743.1
# d: 12 node budget: 4194304 NPS: 95544.4
# d: 13 node budget: 16777216 NPS: 98186.3
# d: 14 node budget: 67108864 NPS: 99879
# d: 15 node budget: 268435456 NPS: 99440
# d: 16 node budget: 1073741824 NPS: 102794
# d: 17 node budget: 4294967296 NPS: 98128
matthewlai
Posts: 793
Joined: Sun Aug 03, 2014 4:48 am
Location: London, UK

Re: New Giraffe

Post by matthewlai »

Guenther wrote: You nailed it! Now it works.
Awesome! Hope that's the end of these crashes!
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.
Werewolf
Posts: 1998
Joined: Thu Sep 18, 2008 10:24 pm

Re: New Giraffe

Post by Werewolf »

matthewlai wrote:
Guenther wrote: You nailed it! Now it works.
Awesome! Hope that's the end of these crashes!
When I load this in the Fritz GUI it just says "empty" in the engine name pane and won't load.

By the way, is there a new version in the works?
Werewolf
Posts: 1998
Joined: Thu Sep 18, 2008 10:24 pm

Re: New Giraffe

Post by Werewolf »

Sorry, please ignore the last message, it was a GUI error.

However, is there a new Giraffe on the way?