Random Useful Stuff
31 Mar 2016
CUDA_VISIBLE_DEVICES=1 python program.py
nvidia-smi
Starting notebook in specific browser (because SL7 is complete mess to work with sometimes)
nice ipython notebook --browser=firefox
Befor the advent of the AUTODIFF:
- Derivative of the KL Divergence between two exponential family distributions \(q(x|\alpha)\) and \(p(x| \beta)\) :
\((\alpha - \beta)^TI(\alpha)\)
- Here \(I(\alpha)\) is the Fisher Information, which is also the second derivative of the log normalizer in case of exponential family.
Sometimes my machine decides to not read my rc file and so I need to export these munually:
export LD_LIBRARY_PATH=/lib64:/lib:~/atlas:/opt/cuda-7.5.18/lib64:$LD_LIBRARY_PATH
export ATLAS=~/atlas/libatlas.so