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

batching pivots allows processing bigger/longer sequences #32

Open
eps696 opened this issue Oct 3, 2023 · 0 comments
Open

batching pivots allows processing bigger/longer sequences #32

eps696 opened this issue Oct 3, 2023 · 0 comments

Comments

@eps696
Copy link

eps696 commented Oct 3, 2023

for those who (like me) wanted to apply this exciting technique for longer videos:
i've integrated this method into my SD repo https://github.com/eps696/SDfu and added there batches for pivots with offloading them onto CPU. this allowed to process e.g. 300 frames in 960x540 res on 3090 (24gb).
as i renamed some variables to my convenience, my code is not directly copypastable into this repo, yet i hope it's readable enough to apply here. the solution is also pretty clumsy, as i had very little idea about that attention stuff and just tried to debug OOMs..

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