Live data from Hacker News

Fork of Facebook’s LLaMa model to run on CPU

github.com

21–30 of 178 posts

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

#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.

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

#22
post #9

Unlike Stable Diffusion, I don't stumble upon people who actually use it. Are there examples of the output this can generate? What happens once you manage to run the model?

This is very new, give it a few days. Here's one from Shawn: https://twitter.com/theshawwn/status/1632595934839177216

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

#23
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.

What we will get are specialized hardware, with not so open APIs anyway.

With a bunch of people trailling behind with "it kind of works" open alternatives.

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

#24
post #9

Unlike Stable Diffusion, I don't stumble upon people who actually use it. Are there examples of the output this can generate? What happens once you manage to run the model?

Pretty sure you wouldn’t see anyone using it commercially as IIRC it’s only public due to a leak.

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

#25
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.

Which is a good thing. So glad all that GPU compute is being used on cool stuff rather than running SHA-256 18 quintillion times

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

#26

Earlier quoted context omitted.

Reading the patch: https://github.com/facebookresearch/llama/compare/main...mar... Looks like this is just tweaking some defaults and commenting out some code that enables cuda. It also switches to something called gloo, which I'm not familiar with. Seems like an alternate backend.

you don't actually need to switch to gloo, I just have no idea what I'm doing.

Lol, all my best work has been when I don’t know what I’m doing and it’s refreshing to see someone moving the ball forward and feeling the same way. Kudos

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

#27

how long for one token to infer on an average cpu?

I tested on a decidedly above average CPU, and got several words per second on the 7B model. I'd guess maybe one word per second on a more average one?

Cool so we're back to the days of 2400 baud modems

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

#28
post #9

Unlike Stable Diffusion, I don't stumble upon people who actually use it. Are there examples of the output this can generate? What happens once you manage to run the model?

Pretty sure you wouldn’t see anyone using it commercially as IIRC it’s only public due to a leak.

I wasn't looking for a commercial use but its an Interesting point. Would it be possible to prove that someone is using it commercially?

1) Spin it up on a cluster in Belarus

2) ???

3) Profit?

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

#29
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.

[flagged]

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

#30
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.

Useless!? C'mon.
Post reply on HN