File size: 531 Bytes
962c059
 
 
 
 
 
 
 
 
 
 
831a077
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
title: Waifu Diffusion
emoji: 📚
colorFrom: indigo
colorTo: red
sdk: gradio
sdk_version: 3.4
app_file: app.py
pinned: false
---

设置为: width 1024, height 512
gpu 内存不够
RuntimeError: CUDA out of memory. Tried to allocate 4.50 GiB (GPU 0; 14.76 GiB total capacity; 7.22 GiB already allocated; 1.12 GiB free; 12.58 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