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

gpu memory usage #317

Open
Cumberbatch08 opened this issue Jul 23, 2019 · 3 comments
Open

gpu memory usage #317

Cumberbatch08 opened this issue Jul 23, 2019 · 3 comments

Comments

@Cumberbatch08
Copy link

when i use nvidia-smi to watch gpu usage,
image
I have three gpus, but it seems like only one gpu is used?

@QuantumChamploo
Copy link

the default gpu value on these examples is set at one, unless you explicitly declare otherwise. Im not super familiar with these packages, but thats the issue I had when I ran this.

Hope that helps, cheers

@Cumberbatch08
Copy link
Author

the code defines the number of gpu, and in line 134, the for loop uses the gpus.

@Cumberbatch08
Copy link
Author

when I run the code, my code did'nt run the train_op, so this code works, and load the model to predict also works.
many thaks!

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