- 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"
- Install zsh sudo apt install zsh
- https://github.com/ohmyzsh/ohmyzsh sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- cp .zshrc .vimrc ${HOME}
git clone https://github.com/wting/autojump.git cd autojump ./install.py
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- 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
- numpy
- torch
- pandas
- 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
- jupyter nbconvert --to script my_notebook.ipynb
- Details @ https://towardsdatascience.com/jump-out-of-the-jupyter-notebook-with-nbconvert-7d4748960702