Questions tagged [cuda]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
74 views

CUDA not available in Colab if checked using a python file

I'm trying to run a model which uses CUDA and the colab notebook I'm using is running on GPU runtime. Now if I call print(torch.cuda.is_available()) from the colab ...
0 votes
0 answers
89 views

Which specific version of Visual Studio to install for CUDA version 11.7 (the latest as of 9/9/2022)

I am trying to get TensorFlow-GPU installed using NVIDA CUDA and cuDNN, running on Windows 10 x86_64. The NVIDIA developer site gave me to download was "cuda_11.7.1_516.94_windows.exe". ...
2 votes
1 answer
95 views

Parallel Data preprocessing

I am looking for a suggestion. Is it possible to implement the data preprocessing steps like missing value imputation, outlier detection, normalization, label encoding in parallel? Can I implement ...
  • 359
0 votes
1 answer
2k views

Tensorflow gpu not available for jupyter notebook

I am trying to make tensorflow work with gpu support. First I have tensorflow-gpu installed: However, there is no gpu available....
  • 11
0 votes
0 answers
493 views

ValueError: Mixed precision training with AMP or APEX (`--fp16` or `--bf16`) and half precision evaluation (`--fp16) can only be used on CUDA devices

i’m fine tuning the wav2vec-xlsr model. i’ve created a virtual env for that and i’ve installed cuda 11.0 and tensorflow-gpu==2.5.0 but it gives the following error : ValueError: Mixed precision ...
0 votes
0 answers
197 views

When would I use model.to("cuda:1") as opposed to model.to("cuda:0")?

I have a user with two GPU's; the first one is AMD which can't run CUDA, and the second one is a cuda-capable NVIDIA GPU. I am using the code ...
  • 101
0 votes
0 answers
17 views

NCHW input matrix to Dm conversion logic for convolution in cuDNN

I have been trying to understand the convolution lowering operation shown in the cuDNN paper. I was able to understand most of it by reading through and mapping various parameters to the image below. ...
0 votes
2 answers
322 views

mBART training "CUDA out of memory"

I want to train a network with mBART model in google colab , but I got the message of ...
  • 41
2 votes
3 answers
13k views

How do I install CUDA GPU for Visual Studio 2022 for windows 10?

I cannot find the visual studio 2019 version and every time I try to install CUDA 11.2.2 on my laptop, It warns me about not that I haven't installed Visual Studio. I've tried installing the C++ add-...
0 votes
1 answer
585 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
0 answers
1k 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: ...
  • 197
0 votes
1 answer
77 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)? ...
  • 308
0 votes
1 answer
75 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 ...
  • 51
0 votes
1 answer
164 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 ...
3 votes
1 answer
7k 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
0 answers
160 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
1 answer
98 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 ...
  • 197
2 votes
0 answers
309 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 ...
  • 1,714