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

关于减少或避免GPU与CPU的昂贵通信以满足实时合成的要求 #46

Open
kiritosaac opened this issue May 9, 2024 · 0 comments

Comments

@kiritosaac
Copy link

在GPU处理得到tensor后,似乎目前普遍使用.cpu().numpy()将数据转移到CPU,然而实际测试中我发现这是一个十分昂贵的操作,耗费时间太长,调研之后发现存在cupy这样支持GPU的,并且与numpy接近的库。那么是否有可能将数据转换为cupy形式,然后直接绕过cpu将其呈现在屏幕上?似乎离线存储视频无法避免cpu的数据迁移,那么在线不存储视频呢?

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

1 participant