DiffBIR icon indicating copy to clipboard operation
DiffBIR copied to clipboard

这是内存不足了吗?(RuntimeError: Unable to find a valid cuDNN algorithm to run convolution)

Open ruanqizhen opened this issue 2 years ago • 5 comments
trafficstars

我按照步骤安装,然后运行。在转换图片时出现如下错误:

RuntimeError: Unable to find a valid cuDNN algorithm to run convolution

CUDA 安装没有问题啊,这是不是表示GPU内存不够了?

ruanqizhen avatar Oct 11 '23 20:10 ruanqizhen

same question

weiruihhh avatar Oct 12 '23 02:10 weiruihhh

Yes, I have also encountered this problem when the GPU memory is not enough.

0x3f3f3f3fun avatar Oct 13 '23 06:10 0x3f3f3f3fun

这个程序所需的最小 GPU 内存有多大啊?我的 8G 内存,运行不起来。

ruanqizhen avatar Oct 13 '23 13:10 ruanqizhen

至少需要11GB,对应的输入大小是512。

0x3f3f3f3fun avatar Oct 13 '23 13:10 0x3f3f3f3fun

至少需要11GB,对应的输入大小是512。

请问最小的训练显存是多少呢?

Chantec avatar May 22 '24 12:05 Chantec