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

How to use GPU for prediction #15

Open
eris10 opened this issue Oct 17, 2023 · 1 comment
Open

How to use GPU for prediction #15

eris10 opened this issue Oct 17, 2023 · 1 comment

Comments

@eris10
Copy link

eris10 commented Oct 17, 2023

No description provided.

@mark0428
Copy link
Collaborator

To run AMPlify on GPU, you need to install tensorflow-gpu (1.12.0) instead of the default tensorflow.

You may also add some codes like these to the beginning of your script:

import os​
os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"
os.environ["CUDA_VISIBLE_DEVICES"] = "1"

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