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

Where's the cuda backward function for v7? #263

Open
bmilde opened this issue Oct 3, 2024 · 1 comment
Open

Where's the cuda backward function for v7? #263

bmilde opened this issue Oct 3, 2024 · 1 comment

Comments

@bmilde
Copy link

bmilde commented Oct 3, 2024

As stated in the title, seems cuda_backward and kernel_backward is missing in RWKV-v7/cuda/wkv7.cu and RWKV-v7/cuda/wkv7_op.cpp

If you try to train a model with RWKV-v7 I'm getting:

NotImplementedError: You must implement either the backward or vjp method for your custom autograd.Function to use it with backward mode AD.

@BlinkDL
Copy link
Owner

BlinkDL commented Oct 25, 2024

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