kubectl apply -f init_vm.yaml kubectl get vm kubectl get vmi
to interact with the vm
1 2 3 4 5 6 7
virtctl console <vm_name> # ssh config is stored at: ~/.ssh/kube_known_hosts virtctl ssh <user>@<vm_name> # run this under gui, with `vncviewer` in path # install with `apt install tigervnc-viewer` virtctl vnc <vm_name>
im2latex-tensorflow sucks, looking for alternatives
training on gpu is intensive and will occasionally burn hardware if not careful, doing this on kaggle or modify the software to stop training when gpu goes hot, but we are using trainer here
CONDA_SUBDIR=osx-64 conda create -n py27 python=2.7 # include other packages here # ensure that future package installs in this env stick to 'osx-64' conda activate py27 conda config --env --set subdir osx-64
after that, do this to get pip on python2.7 (rosetta2)
install tensorflow version below 1, and doing this can be far more easier on linux. maybe we should do this in conda virtual enviorment to prevent conflicts.
we are doing this for the original lua implementation of im2markup
it works!
download libcudnn5 for torch
remember to activate torch enviorment by exporting the path to some shell script
difference between cudamalloc and cudamallocasync, and that’s some copying and pasting about some generalized template of memory manager function
qt4 uses CRLF so convert all text files using dos2unix
need to hack qt4 files to build qt4
hack luarocks to allow install from local spec file and download repo from github via https
hack some lua torch file to be compatible with cuda11