请问这个代码是爆显存了吗?
comfyui吧
全部回复
仅看楼主
level 4
明月如枫 楼主
CUDA out of memory. Tried to allocate 20.00 MiB. GPU 0 has a total capacity of 6.00 GiB of which 0 bytes is free. Of the allocated memory 5.25 GiB is allocated by PyTorch, and 122.82 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/notes/cuda.html#environment-variables)
ComfyUI Error Report
## Error Details
- **Node ID:** 22
- **Node Type:** SUPIR_Upscale
- **Exception Type:** torch.OutOfMemoryError
- **Exception Message:** CUDA out of memory. Tried to allocate 20.00 MiB. GPU 0 has a total capacity of 6.00 GiB of which 0 bytes is free. Of the allocated memory 5.25 GiB is allocated by PyTorch, and 122.82 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/notes/cuda.html#environment-variables)
## Stack Trace
然后要怎么设置?看不懂啊
2025年03月16日 08点03分 1
level 7
6g别玩ai绘画了 去打两个月工 再买个好显卡吧
2025年03月27日 00点03分 2
脏话说不了,还是要留一下言。不要乱评论,小B仔
2025年03月27日 02点03分
我3060笔记本照样玩[吐舌]
2025年03月27日 06点03分
你这配置玩啥ai 玩玩网游得了
2025年04月08日 09点04分
1