Skip to main content

Questions tagged [cuda]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
8k 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,...
user105772's user avatar
2 votes
3 answers
2k views

torch cuda not able to identify gpu on aws g4dn.xlarge

I have created an EC2 instance with GPU g4dn.xlarge and launched it. I want to run some ...
Shruti's user avatar
  • 35
2 votes
1 answer
235 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 ...
Encipher's user avatar
  • 361
2 votes
3 answers
22k 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-...
rutvik jere's user avatar
2 votes
0 answers
170 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 ...
Keanu Correia's user avatar
2 votes
0 answers
324 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 ...
Dan Scally's user avatar
  • 1,764
1 vote
1 answer
73 views

"model.to('cuda:6')" becomes (nvidia-smi) GPU 4, same with any other "cuda:MY_GPU", only "cuda:0" becomes GPU 0. How do I get rid of this mapping?

Strange mapping: example In the following example, the first column is chosen in the code, second column is the one that does the work instead: 0:0 1234 MiB 1:2 1234 MiB 2:7 1234 MiB 3:5 2341 MiB 4:1 ...
questionto42's user avatar
1 vote
0 answers
103 views

Using gpu accelerated libSVM in python

I have been using libSVM in python notebook to classify my dataset and it takes approximately 5 hours for one run and for 5 fold cross validation, it will take almost a day+ time. I am planning to ...
khushi's user avatar
  • 111
0 votes
2 answers
458 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 ...
AFB's user avatar
  • 41
0 votes
1 answer
143 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)? ...
Emil's user avatar
  • 308
0 votes
1 answer
464 views

Transformers Trainer: "RuntimeError: module must have its parameters ... on device cuda:6 (device_ids[0]) but found one of them on device: cuda:0"

I ask this since I could not fix it with the help of: Stack Overflow RuntimeError: module must have its parameters and buffers on device cuda:1 (device_ids[0]) but found one of them on device: cuda:2 ...
questionto42's user avatar
0 votes
2 answers
4k 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....
ptushev's user avatar
  • 11
0 votes
1 answer
830 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: ...
Adarsh Wase's user avatar
0 votes
1 answer
198 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 ...
Christoffer Corfield Aakre's user avatar
0 votes
0 answers
173 views

Is RTX 2050 compatible with PyTorch? Is it even CUDA-capable?

The NVIDIA site does not list GTX 2050 as CUDA enabled, and does not list its compute capability. However, if you google "Is RTX 2050 cuda enabled", the first result you get is some NVIDIA ...
Daigaku no Baku's user avatar
0 votes
1 answer
26 views

I cannot run MNIST MWE (hello world for DL)

I have installed Anaconda and want tor run MWE for MNIST but I'me getting this error: D:\STAZENE_last\Anaconda2\Lib\site-packages\torch\cuda\__init__.py:107: ...
user2925716's user avatar
0 votes
0 answers
689 views

CUDA error: "no kernel image is available for execution on the device" - which PyTorch version to use?

I'm running some ML python code on Amazon's EC2 - the machine has a GPU: NVIDIA A10G. The ML code is written using PyTorch. When I run the code I get error: ...
Danijel's user avatar
  • 173
0 votes
0 answers
36 views

Pytorch fails to detect workstation installed nvidia GPUs

We are trying to execute a deep learning model on a Linux workstation that from all counts has 2 NVIDIA GPUs installed. The model runs fine on our HPC cluster, but when we try to run it locally on the ...
Ioannis K. Moutsatsos's user avatar
0 votes
0 answers
2k 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 ...
ali hayen's user avatar
0 votes
0 answers
25 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. ...
Rajesh Shashi Kumar's user avatar
0 votes
0 answers
2k 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: ...
SRJ577's user avatar
  • 197
0 votes
1 answer
87 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 ...
latida's user avatar
  • 51
0 votes
1 answer
127 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 ...
neel g's user avatar
  • 227