Zejun-Yang / AniPortrait

AniPortrait: Audio-Driven Synthesis of Photorealistic Portrait Animation
Apache License 2.0
4.48k stars 563 forks source link

10G显存不够用 #130

Open ykhasia opened 4 months ago

ykhasia commented 4 months ago

以后这类项目能否先把对硬件的要求写在文章开头????? 不要让大家安装完了在推理过程中出现显存不够,这样浪费太多时间了。。。

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 2.00 MiB (GPU 0; 10.00 GiB total capacity; 8.97 GiB already allocated; 0 bytes free; 9.29 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

Zejun-Yang commented 4 months ago

https://huggingface.co/spaces/ZJYang/AniPortrait_official 我们准备了免费的在线体验页面,欢迎体验。