deepfacelab中文网

 找回密码
 立即注册(仅限QQ邮箱)
查看: 747|回复: 8

请教各位

[复制链接]

17

主题

519

帖子

4178

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
4178
 楼主| 发表于 2021-12-8 07:03:16 | 显示全部楼层 |阅读模式
星级打分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN  参与人数:0  我的评分:未评
本帖最后由 lucq3000 于 2021-12-8 07:18 编辑

为什么我只要一设置1r_dropout为y,就报错?我是RTX3070 8G 显存,虚拟内存设了130G【搞定了,果然还是显存小了】


报错信息如下:
==----------------------- Running On ------------------------==
==                                                           ==
==          Device index: 0                                  ==
==                  Name: NVIDIA GeForce RTX 3070 Laptop GPU ==
==                  VRAM: 5.36GB                             ==
==                                                           ==
===============================================================
Starting. Press "Enter" to stop training and save model.
Error: 2 root error(s) found.
  (0) Resource exhausted: OOM when allocating tensor with shape[4,576,96,96] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
         [[node LeakyRelu_28 (defined at F:\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\core\leras\archis\DeepFakeArchi.py:29) ]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode.

         [[concat/concat/_957]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode.

  (1) Resource exhausted: OOM when allocating tensor with shape[4,576,96,96] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
         [[node LeakyRelu_28 (defined at F:\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\core\leras\archis\DeepFakeArchi.py:29) ]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode.

0 successful operations.


image.png
image.png
回复

使用道具 举报

17

主题

519

帖子

4178

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
4178
 楼主| 发表于 2021-12-8 07:12:33 | 显示全部楼层
我这是显存不够了吧
回复 支持 反对

使用道具 举报

4

主题

601

帖子

3550

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
3550

万事如意节日勋章

发表于 2021-12-8 09:07:20 | 显示全部楼层
报OOM错误是显存不够
回复 支持 反对

使用道具 举报

0

主题

24

帖子

156

积分

高级丹童

Rank: 2

积分
156
发表于 2021-12-8 09:29:58 | 显示全部楼层
呀 五彩丹
回复

使用道具 举报

17

主题

519

帖子

4178

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
4178
 楼主| 发表于 2021-12-8 11:45:05 | 显示全部楼层
guoruoxuan 发表于 2021-12-8 09:07
报OOM错误是显存不够

确实如此
回复 支持 反对

使用道具 举报

17

主题

519

帖子

4178

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
4178
 楼主| 发表于 2021-12-8 11:45:38 | 显示全部楼层

然而只是免费丹
回复 支持 反对

使用道具 举报

2

主题

179

帖子

1511

积分

初级丹圣

Rank: 8Rank: 8

积分
1511
发表于 2021-12-8 16:34:44 | 显示全部楼层
只要看见oom就直接加虚拟内存就行了
回复 支持 反对

使用道具 举报

17

主题

519

帖子

4178

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
4178
 楼主| 发表于 2021-12-8 18:35:08 | 显示全部楼层
noob2021 发表于 2021-12-8 16:34
只要看见oom就直接加虚拟内存就行了

嗯嗯,没想到130G还不够
回复 支持 反对

使用道具 举报

0

主题

24

帖子

156

积分

高级丹童

Rank: 2

积分
156
发表于 2021-12-9 11:47:32 | 显示全部楼层

五彩免费的算比较好的啦
我现在只想攒石买镇坛之宝
回复 支持 反对

使用道具 举报

QQ|Archiver|手机版|deepfacelab中文网 |网站地图

GMT+8, 2024-9-20 16:46 , Processed in 0.092843 second(s), 10 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表