News for hackers. Stuff that matters.
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by matanyal on Monday February 19, 2024 @12:13PM (#39432163)
Groq Engineer here, I'm not seeing why being able to scale compute outside of a single card/node is somehow a problem. My preferred analogy is to a car factory: Yes, you could build a car with say only one or two drills, but a modern automated factory has hundreds of drills! With a single drill, you could probably build all sorts of cars, but a factory assembly line is only able to make specific cars in that configuration. Does that mean that factories are inefficient?

You also say that H200's work reasonably well, and that's reasonable (but debatable) for synchronous, human interaction use cases. Show me a 30b+ parameter model doing RAG as part of a conversation with voice responses in less than a second, running on Nvidia.

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by pbalcer on Monday February 19, 2024 @12:25PM (#39432294)
Just curious, how does this work out in terms of TCO (even assuming the price of a Groq LPU is 0$)? What you say makes sense, but I'm wondering how you strike a balance between massive horizontal scaling vs vertical scaling. Sometimes (quite often in my experience) having a few beefy servers is much simpler/cheaper/faster than scaling horizontally across many small nodes.

Or I got this completely wrong, and your solution enables use-cases that are simply unattainable on mainstream (Nvidia/AMD) hardware, making TCO argument less relevant?

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by tome on Monday February 19, 2024 @12:27PM (#39432310)
We're providing by far the lowest latency LLM engine on the planet. You can't reduce latency by scaling horizontally.
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by nickpsecurity on Monday February 19, 2024 @01:04PM (#39432750)
Distributed, shared memory machines used to do exactly that in HPC space. They were a NUMA alternative. It works if the processing plus high-speed interconnect are collectively faster than the request rate. The 8x setups with NVLink are kind of like that model.

You may have meant that nobody has a stack that uses clustering or DSM with low-latency interconnects. If so, then that might be worth developing given prior results in other low-latency domains.

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by tome on Monday February 19, 2024 @01:17PM (#39432912)
I think existing players will have trouble developing a low latency solution like us whilst they are still running on non-deterministic hardware.
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by WanderPanda on Monday February 19, 2024 @01:52PM (#39433272)
What do you mean by non-deterministic hardware? cuBLAS on a laptop GPU was deterministic when I tried it last iirc
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by tome on Monday February 19, 2024 @02:05PM (#39433406)
Non-deterministic timing characteristics.
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by frozenport on Monday February 19, 2024 @02:07PM (#39433434)
Tip of the ice-berg.

DRAM needs to be refreshed every X cycles.

This means you don't know the time it takes to read from memory. You could be reading at a refresh cycle. This circuitry also adds latency.

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by LtdJorge on Monday February 19, 2024 @07:17PM (#39436488)
OP says SRAM, which doesn't decay so no refreshing.
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by ndjdbdjdbev on Tuesday February 20, 2024 @02:35AM (#39438862)
Timing can simply mean the FETs that make up the logic circuits of a chip. The transition from high to low and low to high has a minimum safe time to register properly...
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by nickpsecurity on Monday February 19, 2024 @03:52PM (#39434670)
While you’re here, I have a quick, off-topic question. We‘ve seen incredible results with GPT3-176B (Davinci) and GPT4 (MoE). Making attempts at open models that reuse their architectural strategies could have a high impact on everyone. Those models took 2500-25000 GPU’s to train, though. It would be great to have a low-cost option for pre training Davinci-class models.

It would great if a company or others with AI hardware were willing to do production runs of chips sold at cost specifically to make open, permissive-licensed models. As in, since you’d lose profit, the cluster owner and users would be legally required to only make permissive models. Maybe at least one in each category (eg text, visual).

Do you think your company or any other hardware supplier would do that? Or someone sell 2500 GPU’s at cost for open models?

(Note to anyone involved in CHIPS Act: please fund a cluster or accelerator specifically for this.)

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by tome on Monday February 19, 2024 @04:14PM (#39434905)
Great idea, but Groq doesn't have a product suitable for training at the moment. Our LPUs shine in inference.
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by KaiserPro on Tuesday February 20, 2024 @09:07AM (#39441439)
> Distributed, shared memory machines used to do exactly that in HPC space.

reformed HPC person here.

Yes, but not latency optimised in the case here. HPC is normally designed for throughput. Accessing memory from outside your $locality is normally horrifically expensive, so only done when you can't avoid it.

For most serving cases, you'd be much happier having a bunch of servers with a number of groqs in them, than managing a massive HPC cluster and trying to keep it both up and secure. The connection access model is much more traditional.

Shared memory clusters are not really compatible with secure enduser access. It is possible to partition memory access, but its something thats not off the shelf (well that might have changed recently.) Also, shared memory means shared fuckups.

I do get what you're hinting at, but if you want to serve low latency, high compute "messages" then discrete "APU" cards are a really good way to do it simply (assuming you can afford it). HPCs are fun, but its not fun trying to keep them up with public traffic on them

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by nickpsecurity on Tuesday February 20, 2024 @09:19PM (#39449464)
It would probably be a cluster of thin nodes with GPU’s or low-cost accelerators over a low-latency interconnect. The DSM would be layered on top of that. The AI cluster would handle processing with security, etc done more by other components. They’re usually layered.

I agree it’s harder to manage with less, fine-grained security. People were posting Groq chips at $20k each, though. With that, we’re talking whether the management of it is worth it for installations costing six or more digits. That might be more justifiable if an alternative saves them a good chunk of six or more digits.

Their main advantage is a solution that’s ready to go :)

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by treprinum on Monday February 19, 2024 @03:25PM (#39434372)
> Show me a 30b+ parameter model doing RAG as part of a conversation with voice responses in less than a second, running on Nvidia

I built one, should be live soon ;-)

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by tome on Monday February 19, 2024 @03:47PM (#39434614)
Exciting! Looking forward to seeing it.
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by huac on Monday February 19, 2024 @03:26PM (#39434382)
> 30b+ parameter model doing RAG as part of a conversation with voice responses in less than a second, running on Nvidia.

I believe that this is doable - my pipeline is generally closer to 400ms without RAG and with Mixtral, with a lot of non-ML hacks to get there. It would also definitely be doable with a joint speech-language model that removes the transcription step.

For these use cases, time to first byte is the most important metric, not total throughput.

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by qeternity on Monday February 19, 2024 @07:17PM (#39436490)
It’s important…if you’re building a chatbot.

The most interesting applications of LLMs are not chatbots.

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by chasd00 on Monday February 19, 2024 @10:14PM (#39437652)
> The most interesting applications of LLMs are not chatbots.

What are they then? Every use case I’ve seen is either a chatbot or like a copy editor which is just a long form chatbot.

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by jasonjmcghee on Monday February 19, 2024 @11:22PM (#39438037)
Obviously not op, but these days LLMs can be fuzzy functions with reliably structured output, and are multi-modal.

Think about the implications of that. I bet you can come up with some pretty cool use cases that don't involve you talking to something over chat.

One example:

I think we'll be seeing a lot of "general detectors" soon. Without training or predefined categories, get pinged when (whatever you specify) happens. Whether it's a security camera, web search, event data, etc

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by nycdatasci on Monday February 19, 2024 @11:28PM (#39438069)
Complex data tagging/enrichment tasks.
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by throwaway2037 on Monday February 19, 2024 @10:41PM (#39437801)
> The most interesting applications of LLMs are not chatbots.

In your opinion, what are the most interesting?

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by mlazos on Monday February 19, 2024 @04:38PM (#39435121)
You can’t scale horizontally forever because of communication. I think HBM would provide a lot more flexibility with the number of chips you need.
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by startupsfail on Monday February 19, 2024 @09:20PM (#39437323)
I have one, with 13B, on a 5-year-old 48GB Q8000 GPU. It’s also can see, it’s LLaVA. And it is very important that it is local, as privacy is important and streaming images to the cloud is time consuming.

You only need a few tokens, not the full 500 tokens response to run TTS. And you can pre-generate responses online, as ASR is still in progress. With a bit of clever engineering the response starts with virtually no delay, the moment its natural to start the response.

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by yaknh on Monday February 19, 2024 @10:41PM (#39437808)
Did you find anything cheaper for local installation?
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by fennecbutt on Monday February 19, 2024 @09:25PM (#39437361)
Are there voice responses in the demo? I couldn't find em?
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by tome on Tuesday February 20, 2024 @03:08AM (#39439020)
Here's a live demo of CNN of Groq plugged into a voice API

https://www.youtube.com/watch?v=pRUddK6sxDg&t=235s

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by fennecbutt on Tuesday February 20, 2024 @06:42AM (#39440143)
Thanks, that's pretty impressive. I suppose with blazing fast token generation now things like diarisation and the actual model are holding us back.

Once it flawlessly understands when it is being spoken to/if it should speak based on the topic at hand (like we do) then it'll be amazing.

I wonder if ML models can feel that feeling of wanting to say something so bad but having to wait for someone else to stop talking first ha ha.

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by sinuhe69 on Wednesday February 21, 2024 @12:57AM (#39450618)
Wow! Absolutely astounding!
Re:Groq runs Mixtral 8x7B-32k with 500 T/s by jrflowers on Tuesday February 20, 2024 @12:33AM (#39438359)
>Show me a 30b+ parameter model doing RAG as part of a conversation with voice responses in less than a second, running on Nvidia.

Is your version of that on a different page from this chat bot?

Re:Groq runs Mixtral 8x7B-32k with 500 T/s by chaunnyong on Wednesday February 21, 2024 @06:06PM (#39460907)
Hi Matanyal, we worked with groq for a project last year. would you be open to connect on LinkedIn? :)