gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-30 08:51:19 27 4
gpt4 key购买 nike

我的系统中有 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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com