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

questions on the backward cuda code #67

Open
Zhentao-Liu opened this issue Jan 4, 2024 · 0 comments
Open

questions on the backward cuda code #67

Zhentao-Liu opened this issue Jan 4, 2024 · 0 comments

Comments

@Zhentao-Liu
Copy link

I have a question on your backward cuda code.
I could derive the first equation // grad[i] = grad_weights[i] * T[i] - back_cum / (1-alpha[i] + 1e-10)
but I really dont know how to get second equation // back_cum += grad_weights[i] * weight[i]
what does it meanning for? many thanks!
cuda1
cuda2

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