GPU use on google collab #629
-
Couldn't get the packadge to work on windows, but works fine on google colab. google colab as I understand is Linux-based maybe why. Google colab, however, saying that not toolkit is not using GPUs available to it. I guess it's using pytorch and CUDA which should be GPU-hardware accelerated. Is there a setting on google collab that I'm missing? For context I'm a 3rd year Electronic Engineering university student (so my engineering skills are better than my coding) and I'm using this as part of my final year project on memristor crossbar arrays for inference of ANNs. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Note that on conda |
Beta Was this translation helpful? Give feedback.
-
If you want to use the GPU-enabled aihwkit package in google Colab then you need to connect to the instance with GPU. By default, it would give you the non-GPU one. |
Beta Was this translation helpful? Give feedback.
-
Hi @kkvtran, thanks for your solution before. However, when I tried the |
Beta Was this translation helpful? Give feedback.
If you want to use the GPU-enabled aihwkit package in google Colab then you need to connect to the instance with GPU. By default, it would give you the non-GPU one.