Open chaozuoyedemengxin opened 2 years ago
You need use --tile option to reduce memory usage.
Google Translate. Thank you so much. The tile parameter is useful, and works great when it's large enough. I set it too small.
------------------ 原始邮件 ------------------ 发件人: "xinntao/Real-ESRGAN" @.>; 发送时间: 2022年1月21日(星期五) 上午6:11 @.>; @.**@.>; 主题: Re: [xinntao/Real-ESRGAN] How to switch GPU? (Issue #225)
You need use --tile option to reduce memory usage.
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>
tile
Hello, what is your tile setting? My memory is the same as yours
瓦
您好,您的磁贴设置是什么?我的记忆和你一样
310-320,效果差不多
How to switch GPU?Error CUDA out of memory. Tried to allocate 730.00 MiB (GPU 0; 4.00 GiB total capacity; 993.00 MiB already allocated; 110.20 MiB free; 2.31 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