Skip to content

Issues with parallelization via multiprocessing #174

Answered by janosh
ajlannerd asked this question in Q&A
Discussion options

You must be logged in to vote

arguably a more efficient way to parallelize structure relaxation would be to load a single model and then batch the structures in the model's forward pass, making better use of large tensor processing. since different structures need different numbers of relaxation steps, that would require implementing a pool-based ASE calculator that checks if any structures have finished relaxing and swaps those out for new structures from the pool in the next forward pass. let me know if you're interested in working on that, happy to collaborate

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@ajlannerd
Comment options

@janosh
Comment options

@ajlannerd
Comment options

@janosh
Comment options

Answer selected by janosh
Comment options

You must be logged in to vote
2 replies
@janosh
Comment options

@mstapelberg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants