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

resources are always insufficient #44

Closed
hello-eternity opened this issue Apr 15, 2022 · 2 comments
Closed

resources are always insufficient #44

hello-eternity opened this issue Apr 15, 2022 · 2 comments

Comments

@hello-eternity
Copy link

hello-eternity commented Apr 15, 2022

When training video material, the memory and video memory resources are always insufficient. Is there any parameter to solve this problem? almost 1min .mp4 25fps, 3MB, running on the 12GBRAM 12GvRam, will meet resources lack
or how should I deal with the input video before to more easily run the code

@ckkelvinchan
Copy link
Owner

Do you mean training or inference? For training, you may want to reduce the patch size and the sequence length to reduce memory consumption. For inference, you can try to separate the sequences into shorter segments. Using max_seq_len may help.

@hello-eternity
Copy link
Author

Thanks a lot, your answer helps me, I mean inference

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