Live data from Hacker News

Cerebras Inference now 3x faster: Llama3.1-70B breaks 2,100 tokens/s

cerebras.ai

71–80 of 87 posts

Re: Cerebras Inference now 3x faster: Llama3.1-70B breaks 2,100 tokens/s

#71
post #36

Cerebras really has impressed me with their technicality and their approach in the modern LLM era. I hope they do well, as I've heard they are en-route to IPO. It will be interesting to see if they can make a dent vs NVIDIA and other players in this space.

Apparently so. You can also buy in via various PE outfits before IPO, if you so desire. I did.

Which one did you use? I am also interested to do that.

Re: Cerebras Inference now 3x faster: Llama3.1-70B breaks 2,100 tokens/s

#72

Earlier quoted context omitted.

You don't need quantization aware training on larger models. 4 bit 70b and 405b models exhibit close to zero degradation in output with post training quantization[1][2]. [1]: https://arxiv.org/pdf/2409.11055v1 [2]: https://lmarena.ai/

I wonder why that is? because they are trained with dropout?

Probably because of how bloody large they are. The quantization errors likely cancel each other out over the sum of so many terms.

Same reason why you can get a pretty good reconstruction when you add random noise to an image and then apply a binary threshold function to it. The more pixels there are, the more recognizable will be the B&W reconstruction.

Re: Cerebras Inference now 3x faster: Llama3.1-70B breaks 2,100 tokens/s

#73
post #69
post #64

Earlier quoted context omitted.

Perhaps. But CCTV cameras and smartphones are huge sources of raw content of the real world. Unless you want to take the argument of Morpheus in The Marix and ask "what is real?"

So let’s crank up total surveillance for better auto descriptions of a picture. We aren’t exchanging freedom for security anymore, what could be reasonable under certain conditions, we just get convenience. Bad deal.

That's one way to do it, but overkill for this specific thing — self-driving cars or robotics, or natural use of smart-[phone|watch|glass|doorbell|fridge], likely sufficient.

Total surveillance may be necessary for other reasons, like making sure organised crime can't blackmail anyone because the state already knows it all, but it's overkill for AI.

Re: Cerebras Inference now 3x faster: Llama3.1-70B breaks 2,100 tokens/s

#74
post #66
post #65

Earlier quoted context omitted.

I refer you to Wachowski & Wachowski (1999)*, building on previous work including Descartes and A. J. Ayer. To whit: humans can't either, so that's an unreasonable question. More formally, the tripartite definition of knowledge is flawed, and everything you think you know has a Munchausen trilemma. * Genuinely part of my A-level in philosophy

I wasn’t expecting your response to be “the truth is unknowable”, but was hoping for something of more substance to discuss.

Then you need a more precisely framed question.

1. AI can do what we can do, in much the same way we can do it, because it's biologically inspired. Not a perfect copy, but close enough for the general case of this argument.

2. AI can't ever be perfect because of the same reasons we can't ever be perfect: it's impossible to become certain of anything in finite time and with finite examples.

3. AI can still reach higher performance in specific things than us — not everything, not yet — because the information processing speedup going from synapses to transistors is of the same order of magnitude as walking is to continental drift, so when there exists sufficient training data to overcome the inefficiency of the model, we can make models absorb approximately all of that information.

Re: Cerebras Inference now 3x faster: Llama3.1-70B breaks 2,100 tokens/s

#75
post #67
post #65

Earlier quoted context omitted.

I refer you to Wachowski & Wachowski (1999)*, building on previous work including Descartes and A. J. Ayer. To whit: humans can't either, so that's an unreasonable question. More formally, the tripartite definition of knowledge is flawed, and everything you think you know has a Munchausen trilemma. * Genuinely part of my A-level in philosophy

So we get the same flaws as before with a higher power consumption. And because it’s fast and easy we now get more fakes, scams and disinformation. That makes AI a lose-lose not to mention further negative consequences.

Not if you source your training data from reality.

Are you treating "the internet" as "reality" with this line of questions?

The internet is the map, don't mistake the map for the territory — it's fine as a bootstrap but not the final result, just like it's OK for a human to research a topic by reading on Wikipedia but not to use it as the only source.

Re: Cerebras Inference now 3x faster: Llama3.1-70B breaks 2,100 tokens/s

#76

Earlier quoted context omitted.

To be honest most LLM's are reasonable at coding, they're not great. Sure they can code small stuff. But the can't refactor large software projects, or upgrade them.

Honestly, most software tasks aren’t refactoring large projects, so it’s probably OK. As the world gets more internet connected and more online, we’ll have an ever expanding list of “small stuff” - glue code that mixes and ever growing list of data sources/sinks and visualizations together. Many of which are “write once” and leave running. Big companies (eg google) have built complex build systems (eg bazel ) to isol…

What's your favorite orchestration solution for this kind of lightweight task?

Re: Cerebras Inference now 3x faster: Llama3.1-70B breaks 2,100 tokens/s

#77
post #67
post #65

Earlier quoted context omitted.

I refer you to Wachowski & Wachowski (1999)*, building on previous work including Descartes and A. J. Ayer. To whit: humans can't either, so that's an unreasonable question. More formally, the tripartite definition of knowledge is flawed, and everything you think you know has a Munchausen trilemma. * Genuinely part of my A-level in philosophy

So we get the same flaws as before with a higher power consumption. And because it’s fast and easy we now get more fakes, scams and disinformation. That makes AI a lose-lose not to mention further negative consequences.

Sooner or later someone is going to figure out how to do active training on AI models. It's the holy grail of AI before AGI. This would allow you to do base training on a small set of very high quality data, and then let the model actively decide what it wants to train on going forward or let it "forget" what it wants to unlearn.

Re: Cerebras Inference now 3x faster: Llama3.1-70B breaks 2,100 tokens/s

#78
post #62

I wonder at what point does increasing LLM throughput only start to serve negative uses of AI. This is already 2 orders of magnitude faster than humans can read. Are there any significant legitimate uses beyond just spamming AI-generated SEO articles and fake Amazon books more quickly and cheaply?

The way things are going it looks like tokens/s is going to play a big role. O1 preview devours tokens and now Anthropic computer use is devouring them too. Video generation is extremely token heavy too.

It sort of is starting to look like you can linearly boost utility by exponentially scaling token usage per query. If so we might see companies slowing on scaling parameters and instead focusing on scaling token usage.

Re: Cerebras Inference now 3x faster: Llama3.1-70B breaks 2,100 tokens/s

#79
For those looking to easily build on top of this or other OpenAI-compatible LLM APIs -- you can have a look at Langroid[1] (I am the lead dev): you can easily switch to cerebras (or groq, or other LLMs/Providers). E.g. after installing langroid in your virtual env, and setting up CEREBRAS_API_KEY in your env or .env file, you can run a simple chat example[2] like this:

    python3 examples/basic/chat.py -m cerebras/llama3.1-70b
Specifying the model and setting up basic chat is simple (and there are numerous other examples in the examples folder in the repo):

    import langroid.language_models as lm
    import langroid as lr
    llm_config = lm.OpenAIGPTConfig(chat_model= "cerebras/llama3.1-70b")
    agent = lr.ChatAgent(
        lr.ChatAgentConfig(llm=llm_config, system_message="Be helpful but concise"))
    )
    task = lr.Task(agent)
    task.run()
[1] https://github.com/langroid/langroid [2] https://github.com/langroid/langroid/blob/main/examples/basi... [3] Guide to using Langroid with non-OpenAI LLM APIs https://langroid.github.io/langroid/tutorials/local-llm-setu...

Re: Cerebras Inference now 3x faster: Llama3.1-70B breaks 2,100 tokens/s

#80
post #50
post #37

Earlier quoted context omitted.

I don't understand your question. This isn't turtles all the way down, it's grounded in real world data, and increasingly large varieties of it.

How does the AI know it’s reality and not a fake image or text fed to the system?

Does the AI need to know or the curator of the dataset? If the curator took a camera and walked outside (or let a drone wander around for a while), do you believe this problem would still arise?
Post reply on HN