GeneticAlgorithmPython icon indicating copy to clipboard operation
GeneticAlgorithmPython copied to clipboard

Is it possible to use PyGAD's GPU acceleration to run a genetic algorithm as opposed to using numpy?

Open Clev7 opened this issue 2 years ago • 1 comments

I see the possibility of using GAs with torchGA to optimize neural networks using genetic algorithms, but is it possible to use Pytorch instead of numpy arrays to speed up the computation time of GAs?

Clev7 avatar Apr 10 '23 19:04 Clev7

Yes, it is possible but this is a major change.

Also, I am not sure if the GPU would help as the generic algorithm usually does not have complex time-consuming computations.

ahmedfgad avatar Apr 10 '23 20:04 ahmedfgad