IPython kernel for torch