找回密码
 立即注册
楼主: 无言***

FramePack V4版 - 一个强大的AI视频生成软件 6G显存玩转AI视频生成,低配电脑福利 本地一键整合包下载

[复制链接]

签到天数: 1 天

[LV.1]初来乍到

0

主题

4

回帖

11

积分

初入江湖

积分
11
发表于 前天 15:26 | 显示全部楼层
报错:

ERROR DURING GENERATION: CUDA out of memory. Tried to allocate 72.00 MiB. GPU 0 has a total capacity of 12.00 GiB of which 6.88 GiB is free. Of the allocated memory 2.69 GiB is allocated by PyTorch, and 52.20 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
==================================================
Traceback (most recent call last):
  File "E:\AI\FramePack-V4\app.py", line 1141, in worker
  File "E:\FramePack-V4\FramePack-V4\diffusers_helper\memory.py", line 92, in move_model_to_device_with_memory_preservation
    if hasattr(m, 'weight'):
  File "E:\FramePack-V4\FramePack-V4\diffusers_helper\memory.py", line 26, in hacked_get_attr
    return torch.nn.Parameter(p.to(**kwargs), requires_grad=p.requires_grad)
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 72.00 MiB. GPU 0 has a total capacity of 12.00 GiB of which 6.88 GiB is free. Of the allocated memory 2.69 GiB is allocated by PyTorch, and 52.20 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

签到天数: 1 天

[LV.1]初来乍到

0

主题

4

回帖

11

积分

初入江湖

积分
11
发表于 前天 15:30 | 显示全部楼层
yijing 发表于 2025-5-9 15:26
报错:

ERROR DURING GENERATION: CUDA out of memory. Tried to allocate 72.00 MiB. GPU 0 has a total  ...

环境变量  PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True也设置了,没起作用

签到天数: 24 天

[LV.4]偶尔看看III

629

主题

820

回帖

5万

积分

武林盟主

积分
52244

宣传达人灌水之王突出贡献荣誉管理论坛元老

QQ
 楼主| 发表于 前天 16:05 | 显示全部楼层
yijing 发表于 2025-5-9 15:26
报错:

ERROR DURING GENERATION: CUDA out of memory. Tried to allocate 72.00 MiB. GPU 0 has a total  ...

显存不足,推理内存保留设置大一些

各种参数DFL换脸模型/实时换脸模型底丹、实时换脸模型训练教学/实时换脸模型定制、AI软件个性化定制
论坛所有一键包报错请在帖子下方跟帖,看到会回复,不支持一对一解答,请确认再下载!
全站默认解压密码: https://deepface.cc/ (密码就是这个网址,不要点开去找。复制完整网址即可,不要有空格)

签到天数: 1 天

[LV.1]初来乍到

0

主题

4

回帖

11

积分

初入江湖

积分
11
发表于 前天 17:31 | 显示全部楼层
无言以对 发表于 2025-5-9 16:05
显存不足,推理内存保留设置大一些

谢谢楼主,后来我尝试升级CUDA到12.6解决
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|AIGC资源站

GMT+8, 2025-5-11 05:56 , Processed in 0.078841 second(s), 6 queries , Redis On.

Powered by Discuz! X3.5

©2001-2023 Discuz! Team

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