Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

内存释放问题 #168

Open
mmlingyu opened this issue Aug 14, 2024 · 2 comments
Open

内存释放问题 #168

mmlingyu opened this issue Aug 14, 2024 · 2 comments

Comments

@mmlingyu
Copy link

/root/anaconda3/envs/muse/bin/python 7624MiB
启动运行过后 gpu一直在7g左右,请问哪里可以优化释放内存. 里面unet 和 vae 用的么?

@zhangziliang04
Copy link

推理过程中,回加载模型,模型大小bs=4的时候,大概7G,推理结束会自动释放。

@mmlingyu
Copy link
Author

mmlingyu commented Aug 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants