我想从IPython笔记本电脑上用nvidiaoptimus(大黄蜂)在Linux笔记本上运行pycuda。通常,我可以通过输入optirun python my_pycuda_script.py
来运行python脚本
但是如果我启动optirun ipython notebook
然后打开一个笔记本,一个新的内核就会启动,我就不能再运行pycuda了。{I发现这是一个很难看的脚本,但我发现这个脚本很难看。有更好的方法吗?也许有一个神奇的功能,所以只有相关的笔记本电脑才用optirun启动?在
谢谢你的帮助!在
Tags:
我刚从github:data_science_workspace找到了一个解决方案。在
但是在我的电脑里,
kernel.json
在:~/miniconda3/envs/nn/share/jupyter/kernels/python3
下面。在我的状态信息:
^{pr2}$希望这就是你需要的:-)。在
相关问题 更多 >
编程相关推荐