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

how to train llama2-7b in a100 80G gpu? #87

Open
brewswang opened this issue Aug 4, 2023 · 2 comments
Open

how to train llama2-7b in a100 80G gpu? #87

brewswang opened this issue Aug 4, 2023 · 2 comments

Comments

@brewswang
Copy link

how to train llama2-7b in a100 80G gpu?

@young-geng
Copy link
Owner

It would be difficult to do that without some parameter efficient finetuning methods such as LoRA. For the full 7B model, the parameters and optimizer states would take 84GB of memory, exceeding the 80GB of a single A100.

@bet0x
Copy link

bet0x commented Sep 2, 2023

@young-geng Got a table or something similar with those requirements by model/size?

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

3 participants