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

variable sequence length #3

Open
ruoyxue opened this issue Mar 11, 2024 · 1 comment
Open

variable sequence length #3

ruoyxue opened this issue Mar 11, 2024 · 1 comment

Comments

@ruoyxue
Copy link

ruoyxue commented Mar 11, 2024

It seems that you utilize accelerated_scan.warp.scan to accelerate the RG-LRU in Griffin, but it only supports sequence length to be a power of 2, is there any solution to support variable sequence length?

@proger
Copy link
Owner

proger commented Mar 11, 2024

Hi @ruoyxue, I just pad the sequence length to the nearest power of 2 for now. If you need other sizes for efficiency, could you make an issue and describe your use case in https://github.com/proger/accelerated-scan?

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