Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.24 KB

File metadata and controls

38 lines (29 loc) · 1.24 KB

docker: nvidia/cuda:11.0.3-cudnn8-devel-ubuntu20.04 (11.0.3/ubuntu20.04/devel/cudnn8/Dockerfile)

chsh -s /bin/bash apt update apt install sudo vim -y useradd zjj -p zjj usermod -a zjj -G sudo groupadd admin usermod -a zjj -G admin chown -R zjj:zjj /home/zjj su zjj chsh -s /bin/bash cd sudo apt upgrade -y sudo apt install python3-dev python3-pip python3-tk -y

pip3 install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html pip3 install numpy scikit-learn pyyaml matplotlib mayavi pyqt5==5.15.7 plyfile

sudo apt install vim wget git zip curl fish tmux screen pipx python3.8-venv -y

pipx install nvitop

echo "export PATH=/root/.local/bin:$PATH" >> ~/.bashrc

LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]') curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" tar xf lazygit.tar.gz lazygit sudo install lazygit /usr/local/bin rm -rf lazygit

curl -LO https://github.com/ClementTsang/bottom/releases/download/0.9.6/bottom_0.9.6_amd64.deb sudo dpkg -i bottom_0.9.6_amd64.deb rm -rf bottom*

source ~/.bashrc

chsh -s /usr/bin/fish