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

Inference / LeanGPT.generate #5

Open
justheuristic opened this issue Mar 15, 2022 · 1 comment
Open

Inference / LeanGPT.generate #5

justheuristic opened this issue Mar 15, 2022 · 1 comment
Assignees

Comments

@justheuristic
Copy link
Member

justheuristic commented Mar 15, 2022

This is a master discussion for memory-efficient inferencing, further notes will be added shortly

Current quest stage: add a dummy cache that is passed to all attention layers

@justheuristic
Copy link
Member Author

ideally, this should be available as a .generate method in LeanGPTForPreTraining
https://github.com/learning-at-home/lean_transformer/blob/main/lean_transformer/models/gpt.py#L184

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