You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering how can we do to leverage multiple CPUs when doing the annealing algorithm? I try to use GPU for quicker calculation, but it seems does not offer any help :(.
I notice that when I run this code, it only takes up 1 CPU, but my other learning algorithm like simple neural network can take up multiple CPUs to accelerate the calculation.
Thanks for any reply.
Cheers.
The text was updated successfully, but these errors were encountered:
The simulated annealing algorithm is inherently serial - each iteration strictly depends on the result of the previous. You can check the literature for "parallel simulated annealing" - there are plenty of good ideas. But this library is focused on experimentation with the classic simulated annealing algorithm. If performance is your goal, you're better off writing it in another language entirely.
Another alternative is to e.g. create an ensemble of runs that can be executed in parallel.
I'm wondering how can we do to leverage multiple CPUs when doing the annealing algorithm? I try to use GPU for quicker calculation, but it seems does not offer any help :(.
I notice that when I run this code, it only takes up 1 CPU, but my other learning algorithm like simple neural network can take up multiple CPUs to accelerate the calculation.
Thanks for any reply.
Cheers.
The text was updated successfully, but these errors were encountered: