Questions tagged [cuda]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
25 views

How is GPU still used while cuda out-of-memory error occurs?

I am using Tensorflow to perform inference on a dataset on Ubuntu. While it reports a cuda out-of-memory error, the nvidia-smi tool still shows that GPU is used, as shown below: My code is predicting ...
0
votes
1answer
76 views

Cuda for PyTorch and Cuda for Tensorflow

I want to install PyTorch and for that I visited PyTorch official website, and they give me a command to install it with Cuda: ...
0
votes
0answers
275 views

ValueError: GPU is not accessible. Was the library installed correctly?

I installed spacy 3 in a venv and tried to execute: spacy.require_gpu() Then I got this as output: ...
0
votes
0answers
28 views

Tensorflow Training Crashing

I have created a GCP VM with Tesla K80 GPU attached to it. I have installed Nvidia 465 drivers for Ubuntu 20.04 along with Cuda 11. I am trying to use tensorflow on the GCP machine and each time when ...
0
votes
1answer
17 views

Is it worth to upgrade CUDA and cuDNN while having older GPUs?

New CUDA 11.x versions add support for TF32 format, other new features for newer cards (RTX30xx, A100 etc). Is it worth upgrading to CUDA 11.x if you have GTX 1050 or RTX 2080 (having tensor cores)? ...
0
votes
0answers
78 views

Tensorflow not detecting GTX 1650TI GPU

I have got a GTX 1650TI GPU and am trying to run Tensorflow using the GPU, however Tensorflow does not detect the GPU. I am using Tensorflow version 2.3.0 with cuda 10.1 and cudnn 7.6. Trying to ...
0
votes
1answer
63 views

Unable to use pip package obtained from building Tensorflow 2.3 from source

I've managed to build Tensorflow 2.3 from source, following these instructions: https://towardsdatascience.com/how-to-compile-tensorflow-2-3-with-cuda-11-1-8cbecffcb8d3 But, when I install obtained ...
0
votes
0answers
109 views

I installed and configured CUDA and cuDNN, but still can't run my program with my GPU

The reason I ask this question in the Data Science part is mostly Data Scientists are facing with Hardware Acceleration problems. I installed CUDA and cuDNN, also made a lot of configuration to ...
0
votes
1answer
74 views

Why does my GPU immediately run out of memory when I try to run this code?

I am trying to write a neural network that will train on plays by Shakespeare and then write its own passages. I am using pytorch. For some reason, my GPU ...
2
votes
1answer
4k views

CUDA compatibility of GTX 1650ti versus 1650

I am confused about CUDA compatibility. I am studying deep learning and looking for a laptop to buy. One laptop has GTX 1650ti and another has GTX 1650. Will both be able to use GPU for model training,...
2
votes
0answers
112 views

Why is Tensorflow LSTM training slower on a machine with far better components?

Training an LSTM using the exact code and dataset on two different machines with different components yields different results in terms of training time. However, for my case, the results were the ...
0
votes
1answer
46 views

Why GPU doesn't utilise System memory?

I have noticed that more often when training huge Deep Learning models on consumer GPUs (like GTX 1050ti) The network often doesn't work. The reason is that the GPU just doesn't have enough ...
2
votes
0answers
251 views

Keras multi-gpu seems to heavily load one of the cards

I'm using Keras (tf backend) to train a neural net; I'm accelerating with GPUs using the multi gpu options in Keras. For some reason, the program seems to heavily load one of the cards and the others ...