Questions tagged [cuda]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
3 answers
339 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
1 vote
0 answers
37 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
1 answer
23 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
390 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
33 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
184 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 ...
Piyush Shandilya's user avatar
2 votes
1 answer
159 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
  • 359
0 votes
2 answers
3k 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
0 answers
1k 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
20 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
2 answers
431 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
2 votes
3 answers
18k 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
0 votes
1 answer
777 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
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
108 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
86 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
192 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
3 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
0 answers
166 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
0 votes
1 answer
120 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
  • 207
2 votes
0 answers
321 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,744