machine-learning - 我可以在 GPU 上运行包含 seaborn 代码的 jupyter 笔记本吗?

标签 machine-learning cuda jupyter-notebook gpu

我的系统中有 CUDA 兼容 GPU (Nvidia GeForce 1060)。在分析更大的数据集时,我经常需要使用seaborn库的pairplot函数,它消耗了大量的时间。有没有办法可以在 GPU 上运行我的整个笔记本。我的意思是,除了seaborn,我想在GPU上运行我的所有代码,这可能吗?

我在 youtube 上观看了几个建议使用 numba python 编译器和 jit 注释的视频,我想知道是否有一个通用设置可以应用于 anaconda 框架,这样,无论我在 anaconda 上运行什么,都应该利用 GPU。

我知道tensorflow和keras可以在GPU上运行。

最佳答案

Is there a way I can run my entire notebook on GPU. I mean, apart from seaborn, I want to run all of my code on GPU, is it possible?

总而言之,不,没有。无法在 GPU 上运行通用 Python 代码或库。

I am aware that tensorflow and keras can be run on GPU.

tensorflow 和 keras 都不能在 GPU 上“运行”。他们可以使用 GPU 加速部分计算,但该过程不涉及在 GPU 上运行一行 Python。

关于machine-learning - 我可以在 GPU 上运行包含 seaborn 代码的 jupyter 笔记本吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56171211/

相关文章:

machine-learning - : order of oversampling vs. 缩放特征不平衡?

python - 分配形状为 OOM 的张量[1,144,144,144,128]

python - 我在 pytorch "RuntimeError: invalid argument 2: size ' [-1 x 400] 上收到此错误

parallel-processing - 使用交错寻址方法并行减少库冲突

cuda - 无法在 GeForce 540M 上运行 CUDA 或 OpenCL

python - 如何腌制或存储 Jupyter (IPython) 笔记本 session 以供以后使用

machine-learning - 用于文本分类的 nltk naivebayes 分类器

cuda - 使用高级着色器语言进行计算算法

python-3.x - jupyter notebook 中图像的交互式标注

python - 如何增加 Jupyter notebook 内存限制?