Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Which backend is chosen for training, CPU or GPU ? #14

Open
Sreerag-ibtl opened this issue Aug 22, 2019 · 4 comments
Open

Which backend is chosen for training, CPU or GPU ? #14

Sreerag-ibtl opened this issue Aug 22, 2019 · 4 comments

Comments

@Sreerag-ibtl
Copy link

I am running this experiment on Google Collaboratory. GPU is chosen as runtime. But, Training is taking longer to complete. Is CPU chosen explicitly in the code or Is this something I should expect? TIA

@koenhelwegen
Copy link
Contributor

What exactly do you mean by longer? Are you training on CIFAR-10 or Imagenet? What type of GPU are you using? Is it possible to see GPU utilization?

Training BNNs tends to be a bit slower than training real-valued networks. The device is set here - it should run on the GPU if available.

@koenhelwegen koenhelwegen self-assigned this Aug 27, 2019
@Sreerag-ibtl
Copy link
Author

@koenhelwegen Thanks for mentioning about slowness in training. I used CIFAR10 for training. Hardware used was GPU from Google Collaboratory.

@koenhelwegen
Copy link
Contributor

How long does an epoch take?

@Sreerag-ibtl
Copy link
Author

80 seconds.

@koenhelwegen koenhelwegen removed their assignment Jan 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants