torch.0utofMemoryError

Author: ZeryciiCreated Dec 9, 2025Updated Dec 9, 2025
Image 您好,想问下我运行gradio_canny2image.py这个脚本时遇到了这样的问题,为什么这个脚本也需要这么大的显存呢?是我操作过程出现了问题吗?感谢! Hello, I would like to ask why I encountered such a problem when running the script gradio_canny2image.py. Why does this script also require such a large amount of video memory? Was there a problem with my operation process? Thank you!