gapid icon indicating copy to clipboard operation
gapid copied to clipboard

Make state-rebuilding deterministic.

Open AWoloszyn opened this issue 7 years ago • 1 comments

Currently state-rebuilding grabs random numbers, and iterates through maps. This means that two subsequent runs give slightly different states.

This makes caching less efficient, since we can have different sets of instructions.

AWoloszyn avatar Nov 26 '18 14:11 AWoloszyn

For information, this is fixed on AGI with:

  • https://github.com/google/agi/pull/261
  • https://github.com/google/agi/pull/264

hevrard avatar May 04 '20 21:05 hevrard