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

Does tensorflow-quantum supports multiple GPU? #732

Open
Shuhul24 opened this issue Dec 8, 2022 · 1 comment
Open

Does tensorflow-quantum supports multiple GPU? #732

Shuhul24 opened this issue Dec 8, 2022 · 1 comment
Labels
area/accelerators/gpu Concerns interfaces to GPUs kind/question Further information is requested

Comments

@Shuhul24
Copy link

Shuhul24 commented Dec 8, 2022

I am using TFQ for executing of quantum neural networks, but as I need it to be faster, I am trying to run it on multiple GPUs. Has tensorflow-quantum team did something regarding parallel computing for simulations of quantum circuits?
I have looked into this issue after googling and following are the issues links that I came up with:
https://stackoverflow.com/questions/73250190/does-tensorflow-quantum-support-gpu-and-if-so-how-do-i-make-it-use-mine
#599
#193
Some of the issues on these are open? Is there any update regarding this that we can compute parallely using tf.distribute.MirroredStrategy()?

Also adding the link of this issue (tensorflow/tensorflow#52988) as tensorflow==2.7.0 is one of the requisites for tensorflow-quantum.

@lockwo
Copy link
Contributor

lockwo commented Dec 8, 2022

I don't think GPU ended up being added at all (see the open PR: #687). That being said, if you want to accelerate your code across multiple nodes, you can do that. Here is a detailed tutorial on it: https://github.com/tensorflow/quantum/tree/research/qcnn_multiworker

@mhucka mhucka added kind/question Further information is requested area/accelerators/gpu Concerns interfaces to GPUs labels Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/accelerators/gpu Concerns interfaces to GPUs kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants