找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 20|回复: 0

一直爆显存

[复制链接]

1

主题

5

回帖

29

零食

入门显卡4G

积分
35
发表于 前天 10:09 | 显示全部楼层 |阅读模式
我32G的显存都不够,一直爆显存,什么设置也没有动,不知道什么问题。
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 31.29 GiB. GPU 0 has a total capacity of 32.00 GiB of which 3.74 GiB is free. Of the allocated memory 25.97 GiB is allocated by PyTorch, and 406.23 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/ ... vironment-variables)
Unloaded DynamicSwap_LlamaModel as complete.
Unloaded CLIPTextModel as complete.
Unloaded SiglipVisionModel as complete.
Unloaded AutoencoderKLHunyuanVideo as complete.
请按任意键继续. . .
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|圈圈AI吧

GMT+8, 2025-4-26 23:09 , Processed in 0.104992 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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