Live data from Hacker News

Llama2.c: Inference llama 2 in one file of pure C

github.com

1–10 of 173 posts

Re: Llama2.c: Inference llama 2 in one file of pure C

#9
post #6

What are some uses for this?

Create a computer game about a small island with 100 people, with each person being politically aware, with llama2.c being their brain. Then you can simulate politics for a thousand years and see what happens. For instance.

Re: Llama2.c: Inference llama 2 in one file of pure C

#10
To run a neural network, how much memory does one need?

Is it enought to load the first two layers from disk, calculate the activations for all nodes, discard the first layer, load the third layer from disk, calculate all the activations for all nodes, discard the second layer etc?

Then memory needs to be big enough to hold to 2 layers?

Post reply on HN