Live data from Hacker News

LLaMa running at 5 tokens/second on a Pixel 6

twitter.com

21–30 of 79 posts

Re: LLaMa running at 5 tokens/second on a Pixel 6

#21
post #19
post #18

It is not really llama, it is llama quantized to 4bit. Not even the quality of original 7B. I could also quantize it to 1 bit and claim it runs on my RPI3.

The 4 bit quantization performs well, though. Does your 1 bit version?

Do you have the numbers? I suspect is is way worse. Original llama.cpp authors never measure any numbers as well.

Re: LLaMa running at 5 tokens/second on a Pixel 6

#22
post #5

Earlier quoted context omitted.

From the video output seems fine. But if it is a trimmed version, it is wong to call it LLaMa.

It's nonsensical, celeb announces they're going to rehab and notes it (?) is an issue affecting all women, at least, earlier today (??), they also noted it wasn't drugs or alcohol this time, but, a life (???)

Without instruction tuning, the perfect language model produces output which has the same level of intelligibility as random text from the training set. And the training set probably has a lot of spam and junk in.

Re: LLaMa running at 5 tokens/second on a Pixel 6

#23
post #21
post #19

Earlier quoted context omitted.

The 4 bit quantization performs well, though. Does your 1 bit version?

Do you have the numbers? I suspect is is way worse. Original llama.cpp authors never measure any numbers as well.

They're using GTPQ -- here you go: https://arxiv.org/abs/2210.17323 . The authors benchmarked two families of models over a wide range of numbers of params.

Re: LLaMa running at 5 tokens/second on a Pixel 6

#24
post #21
post #19

Earlier quoted context omitted.

The 4 bit quantization performs well, though. Does your 1 bit version?

Do you have the numbers? I suspect is is way worse. Original llama.cpp authors never measure any numbers as well.

Some numbers here: https://github.com/qwopqwop200/GPTQ-for-LLaMa#result

Re: LLaMa running at 5 tokens/second on a Pixel 6

#26
post #21
post #19

Earlier quoted context omitted.

The 4 bit quantization performs well, though. Does your 1 bit version?

Do you have the numbers? I suspect is is way worse. Original llama.cpp authors never measure any numbers as well.

The python implementation[1] ran some tests using the same quantization algorithm as llama.cpp (4 bit RTN).

1: https://github.com/qwopqwop200/GPTQ-for-LLaMa

Re: LLaMa running at 5 tokens/second on a Pixel 6

#27
post #14
post #7

Did anyone get this to run on an iPhone or in a browser yet?

Most iphone have only 4GB RAM (and even latest iphone 14 has only 6GB RAM). Pixel 6 has 8GB RAM. But bigger issue is on iOS still OS limits how much RAM your app can use and might kill your app.

I'm still amazed that Apple invests so much into every other bit of hardware on a high end phone, yet always gives you the bare minimum amount of RAM they can get away with.

There are so many use cases (like this) that require more RAM. And even if a use case doesn't theoretically require more RAM, getting a developer to dedicate time to optimizing RAM is time taken away from making a wonderful app.

Re: LLaMa running at 5 tokens/second on a Pixel 6

#29
post #23
post #21

Earlier quoted context omitted.

Do you have the numbers? I suspect is is way worse. Original llama.cpp authors never measure any numbers as well.

They're using GTPQ -- here you go: https://arxiv.org/abs/2210.17323 . The authors benchmarked two families of models over a wide range of numbers of params.

llama.cpp is using RTN at the moment.

Re: LLaMa running at 5 tokens/second on a Pixel 6

#30
post #18

It is not really llama, it is llama quantized to 4bit. Not even the quality of original 7B. I could also quantize it to 1 bit and claim it runs on my RPI3.

I used the 7B quantized to 4 bit and it needs a few tries for most things, but it's not useless.
Post reply on HN