How Gradient created an open LLM with a million-token context window
https://venturebeat.com/ai/how-gradient-created-an-open-llm-with-a-million-token-context-window/
https://venturebeat.com/ai/how-gradient-created-an-open-llm-with-a-million-token-context-window/
4 Comments
keepthepace@slrpnk.net · 4 pts · 2y
To actually read how they did it, here is there model page: https://huggingface.co/gradientai/Llama-3-8B-Instruct-Gradient-1048k
LesserAbe@lemmy.world · 1 pts · 2y
That's cool. Am I reading right that this wouldn't run on consumer grade hardware though?
TechNerdWizard42@lemmy.world · 4 pts · 2y
I believe you'd need roughly 500GB of RAM to run it minimum at full context length. There is chatter that 125k context took and used 40GB
I know I can load the 70B models into my laptop at lower bits but it consumes about 140GB of RAM.
keepthepace@slrpnk.net · 3 pts · 2y
It is llama3-8B so it is not out of question but I am not sure how much memory you would need to really go to 1M context window. They use ring attention to achieve high context window, which I am unfamiliar with but that seems to lower greatly the memory requirements.