Re:How to run Llama 13B with a 6GB graphics card
by mycall on Sunday May 14, 2023 @11:30PM
(#35943601)
I wonder if specialization of the LLM is another way to reduce the RAM requirements. For example, if you can tell which nodes are touched through billions of web searches on a topic, then you can delete the ones that never are touched.
Re:How to run Llama 13B with a 6GB graphics card
by opyate on Monday May 15, 2023 @05:09AM
(#35945479)
Kind of like "tree shaking" for weights?
Like dead code elimination.
Re:How to run Llama 13B with a 6GB graphics card
by jimmySixDOF on Monday May 15, 2023 @12:37AM
(#35943926)
Some people are having some success speeding token rates and clawback on VRAM using a 0- group size flag but ymmv I did not test this yet (they were discussing gptq btw)
The same group did another paper https://arxiv.org/abs/2301.00774 which shows that in addition to reducing the precision of each parameter, you can also prune out a bunch of parameters entirely. It's harder to apply this optimization because models are usually loaded into RAM densely, but I hope someone figures out how to do it for popular models.