Skip to content

Instantly share code, notes, and snippets.

View vicente-gonzalez-ruiz's full-sized avatar

Vicente González Ruiz vicente-gonzalez-ruiz

View GitHub Profile
@vicente-gonzalez-ruiz
vicente-gonzalez-ruiz / which_card.txt
Last active May 3, 2024 17:57
Which graphics card am I using?
glxinfo -B
# See: https://wiki.debian.org/NvidiaGraphicsDrivers
# (sudo) Modify /etc/apt/sources.list
sudo apt update
sudo apt install nvidia-driver firmware-misc-nonfree
sudo reboot
1. Install the Nvidia driver (see ).
2. Install CUDA:
sudo apt install linux-headers-$(uname -r) gcc make nvidia-cuda-dev nvidia-cuda-toolkit nvtop
3. Test:
nvcc -V
nvtop
0. See:
https://www.tensorflow.org/install/source#tested_build_configurations
1. Install Miniconda from https://docs.anaconda.com/free/miniconda/
cd ~/Downloads
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -b -u -p ~/miniconda3
# rm -r Miniconda3-latest-Linux-x86_64.sh # (optional)
1. Install MELPA:
1.1 Add:
(require 'package)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
("org" . "https://orgmode.org/elpa/")
("gnu" . "https://elpa.gnu.org/packages/")))
(package-initialize)