evotorch icon indicating copy to clipboard operation
evotorch copied to clipboard

Improve MAPElites performance using torch_scatter

Open JakeF-Bitweave opened this issue 1 year ago • 1 comments

Would you be interested in contributions to re-work MAPElites to use torch_scatter rather than the vmaped extended_population x feature_grid operation?

The general gist is:

  • Quantize features and round them to longs
  • Get the indexes for each elite for each volume using scatter_max (which returns argmaxes)
  • Map the evals and values from the extended population to the population using the indexes

JakeF-Bitweave avatar Oct 19 '23 08:10 JakeF-Bitweave