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

Why content = enc_topk_memory.detach() that memory need to be detach() ? #121

Open
LuletterSoul opened this issue Dec 18, 2024 · 1 comment

Comments

@LuletterSoul
Copy link

Thank you Open Source for such a great job. Why does the memory need to be detached? In this case, the gradient of the transformer decoder cannot be propagated to the backbone.

@SebastianJanampa
Copy link

You can find the information in this paper, section 3.5

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