Tag: tech
-
An obscure reason of GPU memory leak in pytorch (08 May 2023)
A short debug note on why I kept getting "CUDA out of memory" error in my codes. Main takeaway is, don't use in-place operations in your computing graph unless necessary. If you are applying it to non-leaf tensors, change it even it seems necessary. I tested on both 1.13 and 2.0, with cuda version 11.6 and 11.7.
-
Configure A macOS with M1 chip From Scratch (12 Jul 2022)
A walk-through note on how to configure my familiar working system from a brand new macOS system with M1 chip, including Git token, Homebrew, Terminal color theme, Oh-my-zsh plugins, and conda. Compared to the previous post for an Intel chip, the difference mainly lies in the Homebrew PATH. I also use mambaforge to replace miniconda for python environment management.
-
Configure A macOS with Intel chip From Scratch (05 Jan 2021)
A walk-through note on how to configure my familiar working system from a brand new macOS system, including Git token, Homebrew, Terminal color theme, Oh-my-zsh plugins, miniconda and jupyter kernel.
-
Setup Jekyll (31 Dec 2020)
These github pages are built with Jekyll framework. This is a note about how to setup Ruby and Jekyll development env locally, through direct installation or docker.
BiologicalComplexity
AI&Physics
tech
blog
中文
film
cooking
Attention