Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 1.93 KB

README.md

File metadata and controls

57 lines (47 loc) · 1.93 KB

List of files to install

  • conda
  • zsh, oh-my-zsh
  • autojump, autosuggestion
  • jupyter
  • torch, pandas, matplotlib, numpy, transformers
  • deepspeed : DS_BUILD_SPARSE_ATTN=1 DS_BUILD_TRANSFORMER=1 DS_BUILD_TRANSFORMER_INFERENCE=1 pip install deepspeed --global-option="build_ext" --global-option="-j8"

Basic Setup for Linux Environment (Preferred by ME!)

Get conda

Get zsh, oh-my-zsh

Copy .zshrc, .vimrc

  • cp .zshrc .vimrc ${HOME}

Get autojump (Need to copy some script to ~/.profile or ~/.zshrc)

git clone https://github.com/wting/autojump.git cd autojump ./install.py

Get autosuggestion

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Jupyter setup

  • conda install jupyter
  • conda install -c conda-forge jupyterlab
  • pip install jupyterlab_vim
  • jupyter notebook --generate-config (do setups for ip, allow_remote_access, allow_origin, open_browser, password_required, port, port_retries)
  • jupyter notebook password
  • jupyter-lab password

Pip installs that you may need

  • numpy
  • torch
  • pandas

Git skip authentication after initialization

  • git config --global user.email "[email protected]"
  • git config --global user.name "Taehyun Kim"
  • git config --global core.editor "vim"
  • git config credential.helper store

In short,

git config --global user.email "[email protected]"; git config --global user.name "Taehyun Kim"; git config --global core.editor "vim"; git config credential.helper store 

Convert jupyter notebooks to another format (.py, .html, .pdf and so on)