We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
人脸检测模型中使用torch.from_dlpack(vf.reformat(rgb).frame().plane(0))方法后显存明显增加了很多,输入是4K图片,使用与不使用这个方法显存差了500M左右
The text was updated successfully, but these errors were encountered:
为了把数据给到torch,dlpack应该会额外占用一些显存做copy。
Sorry, something went wrong.
4K图片一张只有24M,但使用这个方法时增加了500M
Can this be asked to the upstream community(torch)?
No branches or pull requests
人脸检测模型中使用torch.from_dlpack(vf.reformat(rgb).frame().plane(0))方法后显存明显增加了很多,输入是4K图片,使用与不使用这个方法显存差了500M左右
The text was updated successfully, but these errors were encountered: