相关疑难解决方法(0)

无法加载动态库“libcublasLt.so.11”;dlerror: libcublasLt.so.11: 无法打开共享对象文件: 没有这样的文件或目录

我刚刚更新了我的显卡驱动器

sudo apt install nvidia-driver-470
sudo apt install cuda-drivers-470
Run Code Online (Sandbox Code Playgroud)

我决定以这种方式安装它们,因为它们在尝试时受到阻碍sudo apt upgrade。然后我错误地sudo apt autoremove清理了旧包。重新启动计算机以正确设置新驱动程序后,我无法再将 GPU 加速与 Tensorflow 结合使用。

import tensorflow as tf
tf.test.is_gpu_available()
WARNING:tensorflow:From <stdin>:1: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.config.list_physical_devices('GPU')` instead.
2021-12-07 16:52:01.771391: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other …
Run Code Online (Sandbox Code Playgroud)

python cuda driver tensorflow

9
推荐指数
2
解决办法
4万
查看次数

在哪里可以获得PyTorch的仅CPU版本?

我正在尝试使用Flask + PyTorch运行一个基本应用程序,并将其托管在Heroku上。但是,我遇到的问题是,免费版本的最大子弹大小为500mb,而PyTorch本身约为500mb。

在Google进行一些搜索之后,有人写了一篇关于找到仅CPU版本的PyTorch的文章,并使用它,在这里要小得多

但是,我对如何完成此操作非常迷惑,而该人员根本没有记录在案。任何建议表示赞赏,谢谢。

编辑:

为了更具体地说明我的问题,据我所知,我尝试安装torch by,其中包括require.txt,其中将torch列为依赖项。当前我有:火炬== 0.4.1。但是,这不起作用的大小。

我的问题是,您是否知道我可以在需求文件中写些什么来获得较小的仅用于cpu的割炬版本,或者,如果requirements.txt不适用于该版本,我会怎么做,以便获取CPU版本。

heroku pytorch

5
推荐指数
5
解决办法
4762
查看次数

标签 统计

cuda ×1

driver ×1

heroku ×1

python ×1

pytorch ×1

tensorflow ×1