在函数计算FC为何选了24G的A10还会出错说显存不够?

在函数计算FC为何选了24G的A10还会出错说显存不够?OutOfMemoryError: CUDA out of memory. Tried to allocate 4.59 GiB (GPU 0; 22.05 GiB total capacity; 14.75 GiB already allocated; 2.10 GiB free; 19.62 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
分辨率4X的放大,主要是看这内容,只有几G显存可以用,玄的24G的显存。

展开
收起
三分钟热度的鱼 2023-12-20 20:22:31 73 分享 版权
1 条回答
写回答
取消 提交回答
  • 分辨率设置太大了,放大也是逐步放大的,放大两三次才能达到高分辨率。你上来就放大到4K,24G显存也吃不消。此回答整理自钉群“【答疑群】函数计算 AIGC 场景技术交流”

    2023-12-20 20:58:16
    赞同 展开评论

快速交付实现商业价值。

还有其他疑问?
咨询AI助理