High RAM consumption issue #61
-
Hi, I would like to know is there is any way to reduce the memory consumption of the computation. My dataset is very small, 57 rows x 7 features. When I set |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Vahid, Thanks for trying PySR out. Colab is built for GPU-accelerated compute such as deep learning, but PySR itself only uses CPUs (hard to do genetic algorithms on GPU), so it's not optimal. I would recommend running it on your own machine, or on a cluster with many cores if you have access to one. I would expect 80 populations or so to be too much memory usage for Colab (they have very limited RAM), so this is not unexpected behaviour. You could probably run it on Colab with fewer populations, however. Also - you should set Cheers, |
Beta Was this translation helpful? Give feedback.
Hi Vahid,
Thanks for trying PySR out. Colab is built for GPU-accelerated compute such as deep learning, but PySR itself only uses CPUs (hard to do genetic algorithms on GPU), so it's not optimal. I would recommend running it on your own machine, or on a cluster with many cores if you have access to one. I would expect 80 populations or so to be too much memory usage for Colab (they have very limited RAM), so this is not unexpected behaviour. You could probably run it on Colab with fewer populations, however. Also - you should set
procs=2
(default is 4), since Colab only has 2 cores if I remember correctly.Cheers,
Miles