Skip to content

Instantly share code, notes, and snippets.

@scottstanfield
Created October 31, 2018 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottstanfield/3311bf3444fa9ec674867a1a7bfdea1d to your computer and use it in GitHub Desktop.
Save scottstanfield/3311bf3444fa9ec674867a1a7bfdea1d to your computer and use it in GitHub Desktop.

update bios and external

Setting up dual-boot

https://hackernoon.com/installing-ubuntu-18-04-along-with-windows-10-dual-boot-installation-for-deep-learning-f4cd91b58557

  1. disable secure boot
  2. BIOS: disable secure boot
  3. Create & Format HD Partitions to create space

Wroks on X1 FreeBSD 11.2 (i3wm or dwm)

=== Map CAPS to CTRL % setxkbmap -option ctrl:nocaps

Make updates go faster: = select a closer mirror = echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4

% sudo vi /etc/sysctl.con # add these three lines to the bottom net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1

% sudo apt update && sudo apt upgrade % sudo apt install build-essentials dkms neofetch ifconfig net-tools % sudo apt install zsh git htop neovim

note: dkms installs cmake and gcc

install drivers!

% sudo ubuntu-drivers autoinstall

reboot then launch the nvidia app

install cuda kit

% sudo apt install -y nvidia-cuda-toolkit

hello world

https://github.com/davad/pyCUDA-intro

official download page

https://www.nvidia.com/Download/index.aspx?lang=en-us

blacklist nouveau

https://hackernoon.com/recipe-nvidia-titan-x-as-external-gpu-on-ubuntu-laptop-9df2dfc02fc6

at login screen: fn+ctrl+alt+F2

purge drivers

https://medium.com/@sh.tsang/geforce-gtx-1080ti-gpu-nvidia-driver-installation-in-ubuntu-18-04-1d3407ecfd5e

Random links: https://olney.ai/category/2018/03/03/cuda-egpu-ubuntu.html https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-18-04-bionic-beaver-linux http://forums.fast.ai/t/local-setup-for-ubuntu-18-04-with-nvidia-gpu-1080/16694/2

https://github.com/reshamas/fastai_deeplearn_part1 https://hackernoon.com/recipe-nvidia-titan-x-as-external-gpu-on-ubuntu-laptop-9df2dfc02fc6 https://olney.ai/category/2018/03/03/cuda-egpu-ubuntu.html

PYTHON

% sudo apt install -y python3-pip % pip3 install —user pipenv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment