Live data from Hacker News

Fork of Facebook’s LLaMa model to run on CPU

github.com

161–170 of 178 posts

Re: Fork of Facebook’s LLaMa model to run on CPU

#161
post #7

It's useless before the model gets instruction and preference tunings. Won't even follow a simple ask, it will just assume it is a list of questions and generate more, or continue with slightly related comments. FB trained a LLaMA-I (instruction tuned) variant for sports, just to show they can, but I don't think it got released.

Try giving it a simple request instead ;)

Re: Fork of Facebook’s LLaMa model to run on CPU

#162

Earlier quoted context omitted.

that's literally all I did (plus switching the tensor type). I'd imagine people are posting and upvoting this not because it's actually interesting code but rather just because it runs unexpectedly fast on consumer CPUs and it's not something they considered feasible before.

How are you getting this to run fast? I'm on a top of the line M1 MBP and getting 1 token every 8 minutes.

Same experience for me, looks like it is only using one cpu core instead of all of them.

Re: Fork of Facebook’s LLaMa model to run on CPU

#163

0.35 words/s on my 11th gen i5 with 7B model (framework laptop) not so bad !

How long did you have to wait for it to load? On my machine it's been running for 15mins, I'm still waiting for a prompt...

How much RAM do you both have?

Re: Fork of Facebook’s LLaMa model to run on CPU

#165

Earlier quoted context omitted.

ahhh the units in this post are making my eye twitch.

I know Watts per hour is not the right way to phrase it but I feel it helps for those that don't know. Also, I just don't like saying Amp. Hours :)

Watts per hour implies watts/hour. Watt-hour implies a number of watts multiplied by a length of time. Also known as energy. Watts are power. Watt hours are energy. Two different things. Watts/hour is nothing.

Re: Fork of Facebook’s LLaMa model to run on CPU

#166
post #96

Earlier quoted context omitted.

Agree. I work in robotics and we never have enough compute. I want to see us get to the point where the most advanced robot ever has all the compute it needs onboard, and that means huge growth in compute density and efficiency are needed.

That's genuinely surprising. What sort of on-board compute do you typically have today?

The NVIDIA Jetson boards are popular, but even with a full desktop processor and state of the art GPU, you can easily down them in data from a LIDAR sensor or a few cameras. Especially since robots may also need fast response times.

There is another reply to your comment that shares a lot of what I have experienced. You have so many pieces of code that need to run and a good handful of them are working on something like LIDAR point clouds with a million 3D points in them, plus some cameras running several different image recognition and segmentation algorithms, and you want to have fast cycle times, it just all adds up. Every serious robot I have ever worked on is maxing out its system, even ones at Google X with a full desktop CPU, a high end NVIDIA graphics card, and a couple secondary ARM CPUs.

Re: Fork of Facebook’s LLaMa model to run on CPU

#167
post #21
post #15

The thing I like the most about the current AI wave is the pressure is putting on computing hardware. Yes, mobile phones with long battery lives are cool and all of that, but most cool things I like are locked behind huge computational requirements.

Crazy to me that as soon as one GPU wave is dying (crypto), another one is picking up slack.

Just imagine if Bitcoin, GPT and Half-Life had come out at the same time.

Re: Fork of Facebook’s LLaMa model to run on CPU

#168

Earlier quoted context omitted.

I know Watts per hour is not the right way to phrase it but I feel it helps for those that don't know. Also, I just don't like saying Amp. Hours :)

Watts per hour implies watts/hour. Watt-hour implies a number of watts multiplied by a length of time. Also known as energy. Watts are power. Watt hours are energy. Two different things. Watts/hour is nothing.

Watt/hour is speed of power. It doesn't make any sense.

Re: Fork of Facebook’s LLaMa model to run on CPU

#169

Earlier quoted context omitted.

> running SHA-256 18 quintillion times or games. People could have been studying or doing something more important than wasting time and energy. I get that it is entertainment, but so are board games and that don't require mining rare earth minerals or putting pressure on the grid as you can always play board games with candles on.

Monopoly by candlelight, just the future I had always envisioned.

If more people played Monopoly, they would have realised the Western economy is at the stage were a few players bought all properties and utilities.

Re: Fork of Facebook’s LLaMa model to run on CPU

#170
post #167
post #21

Earlier quoted context omitted.

Crazy to me that as soon as one GPU wave is dying (crypto), another one is picking up slack.

Just imagine if Bitcoin, GPT and Half-Life had come out at the same time.

Bitcoin miners don't use GPUs.
Post reply on HN