Skip to content

AvailableBackends. numpy vs PYTORCH during compute_model #907

Answered by javoha
DC-geo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
thanks for the question: To start with the short answer - No, this is not an issue. Gempy v3 offers to perform the model computation with different backends. Numpy is the most straightforward, easy to install and easy to understand version, making it the default. You can also install pytorch and use this backend (depending on you setup computing either on cpu or gpu) to run models faster. The result will be the same.
I think all the examples in the documentation ran with the torch backend to speed things up, but I would advice tp start with the numpy version at the beginning for smaller models.
Cheers
Jan

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by DC-geo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants