I have been trying for a few hours to install CUDA for tensorflow-gpu. I felt like the thing was up and runnning but I had an error when fitting a simple CNN. I checked my GPU as it seemed to be an out-of-memory error.
nvidia-smi
returns :
+---------------------------------------------+
| NVIDIA-SMI 495.29.05 Driver Version: 495.29.05 CUDA Version: 11.5 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:01:00.0 On | N/A |
| N/A 38C P8 12W / N/A | 169MiB / 5938MiB | 3% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
i am on ubuntu 20.04 LTS, on the lattest nvidia-driver-495, and a RTX3060.`
my rig :

sudo lshw -C display
returns:
*-display
description: VGA compatible controller
produit: NVIDIA Corporation
fabricant: NVIDIA Corporation
identifiant matériel: 0
information bus: pci@0000:01:00.0
version: a1
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress vga_controller bus_master cap_list rom
configuration : driver=nvidia latency=0
ressources : mémoireE/S:fa0-f9f mémoireE/S:fc0-fbf irq:95 mémoire:d0000000-d0ffffff mémoire:fa00000000-fbffffffff mémoire:fc00000000-fc01ffffff portE/S:2000(taille=128) mémoire:d1080000-d10fffff
this tells me my GPU has 6Go of RAM. But my RTX actually has 16G.
Does anyone know where this may come from?
thanks!