cuda

Pytorch with CUDA local installation fails on Ubuntu

Pytorch with CUDA local installation fails on Ubuntu Question: I am trying to install PyTorch with CUDA. I followed the instructions (installation using conda) mentioned in https://pytorch.org/get-started/locally/ conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch The conda install command runs without giving any error: conda list displays the following: # Name Version Build Channel cudatoolkit …

Total answers: 2

Could not load dynamic library 'libcublasLt.so.11'; dlerror: libcublasLt.so.11: cannot open shared object file: No such file or directory

Could not load dynamic library 'libcublasLt.so.11'; dlerror: libcublasLt.so.11: cannot open shared object file: No such file or directory Question: I just updated my graphics cards drives with sudo apt install nvidia-driver-470 sudo apt install cuda-drivers-470 I decided to install them in this manner because they were being held back when trying to sudo apt upgrade. …

Total answers: 2

Why are torch.version.cuda and deviceQuery reporting different versions?

Why are torch.version.cuda and deviceQuery reporting different versions? Question: I have a doubt about the CUDA version installed on my system and being effectively used by my software. I have done some research online but could not find a solution to my doubt. The issue which helped me a bit in my understanding and is …

Total answers: 3

How can I get the number of CUDA cores in my GPU using Python and Numba?

How can I get the number of CUDA cores in my GPU using Python and Numba? Question: I would like to know how to obtain the total number of CUDA Cores in my GPU using Python, Numba and cudatoolkit. Asked By: codeonion || Source Answers: Most of what you need can be found by combining …

Total answers: 1

How to use WMMA functions in Cupy kernels?

How to use WMMA functions in Cupy kernels? Question: How to use WMMA functions such as wmma::load_matrix_sync in cupy.RawKernel or cupy.RawModule? can someone provide a minimal example? Asked By: omer sahban || Source Answers: We can combine information on cupy RawKernel and wmma programming to provide most of the needed material. I don’t intend to …

Total answers: 1

Keras does not use GPU – how to troubleshoot?

Keras does not use GPU – how to troubleshoot? Question: I’m trying to train a Keras model on the GPU, with Tensorflow as backend. I have set everything up according to https://www.tensorflow.org/install/install_windows. This is my setup: I’m working in a Jupyter notebook in a virtualenv environment. The current virtualenv environment has tensorflow-gpu installed. I have …

Total answers: 1