EasyLM icon indicating copy to clipboard operation
EasyLM copied to clipboard

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

Open brewswang opened this issue 1 year ago • 3 comments

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

brewswang avatar Aug 04 '23 13:08 brewswang

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.

young-geng avatar Aug 05 '23 05:08 young-geng

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

bet0x avatar Sep 02 '23 22:09 bet0x

dose not support zero of jax?

kuangdao avatar Jun 19 '24 12:06 kuangdao