Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallelism Contractors #963

Open
gmagnifico opened this issue Jul 6, 2022 · 1 comment
Open

Parallelism Contractors #963

gmagnifico opened this issue Jul 6, 2022 · 1 comment

Comments

@gmagnifico
Copy link

Hi, I have a code in which the most computationally expensive part is the contraction of the whole network, that is composed by a number of tensors usually larger than 15/20. I am using the functions "contractors.auto" and the jax backend, but I notice that there is no parallelism. The code sees the GPU but its usage is always at 0%. On CPU the code uses just one core.

What are the best ways to speed up the computation?

Thank you very much,
Giuseppe

@mganahl
Copy link
Collaborator

mganahl commented Jul 7, 2022

hi @gmagnifico. Can you post a minimal example code here? Did you set up jax properly to use the GPU?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants