News for hackers. Stuff that matters.
Re:Stability AI Launches the First of Its StableLM Suite of ... by earthboundkid on Wednesday April 19, 2023 @12:58PM (#35630526)
I tooted this yesterday:

Selling access to LLMs via remote APIs is the “stage plays on the radio” stage of technological development. It makes no actual sense; it’s just what the business people are accustomed to. It’s not going to last very long. So much more value will be unlocked by running them on device. People are going to look back at this stage and laugh, like paying $5/month to a cellphone carrier for Snake on a feature phone.

Web apps:

- Need data persistence. Distributed databases are really hard to do.

- Often have network effects where the size of the network causes natural monopoly feedback loops.

None of that applies to LLMs.

- Making one LLM is hard work and expensive. But once one exists you can use it to make more relatively cheaply by generating training data. And fine tuning is more reliable than one shot learning.

- Someone has to pay the price of computation power. It’s in the interest of companies to make consumers pay for it up front in the form of a device.

- Being local lets you respond faster and with access to more user contextual data.

Re:Stability AI Launches the First of Its StableLM Suite of ... by losvedir on Wednesday April 19, 2023 @01:23PM (#35630797)
This doesn't seem technically feasible to me. The state of the art will for a long time require a lot more hardware to run than it's available on a consumer device.

Beyond which, inference also benefits from parallelization, not just training, so being able to batch requests is a benefit, and more likely when access is offered via an API.

Re:Stability AI Launches the First of Its StableLM Suite of ... by FL33TW00D on Wednesday April 19, 2023 @01:36PM (#35630976)
This isn't correct. It's 100% feasible to run very capable models on consumer devices.

I wrote up a feasibility investigation last year: https://fleetwood.dev/posts/a-case-for-client-side-machine-l...

Re:Stability AI Launches the First of Its StableLM Suite of ... by frozenlettuce on Wednesday April 19, 2023 @02:18PM (#35631461)
I ran alpaca 7B in a 2015 Acer laptop (it was slow, but worked!)
Re:Stability AI Launches the First of Its StableLM Suite of ... by crazygringo on Wednesday April 19, 2023 @04:04PM (#35632647)
But there's a big difference between running "very capable" models that use most available resources and consume tons of power and run slowly...

...versus running the best models available, in a few seconds, without using up the memory the main app you're using needs for running.

These are all mainly going to be run remotely for general consumer usage for quite a while I think.

Re:Stability AI Launches the First of Its StableLM Suite of ... by FL33TW00D on Wednesday April 19, 2023 @05:09PM (#35633358)
How many applications on your machine right now are GPU accelerated? There is a chunk of silicon that spends almost all its time doing nothing.
Re:Stability AI Launches the First of Its StableLM Suite of ... by crazygringo on Wednesday April 19, 2023 @08:31PM (#35634976)
Sure but it's not that powerful. It's not a gaming rig.

Also it had better spend almost all its time doing nothing or it would kill my battery. Same as with my CPU.

The main point still stands though -- it's pretty useless if it takes a couple minutes to do what a server can do in a couple seconds.

Re:Stability AI Launches the First of Its StableLM Suite of ... by earthboundkid on Wednesday April 19, 2023 @10:53PM (#35635811)
How do you think the server does it in a couple of seconds? Maybe we should get rid of gaming rigs because servers are fast, right?
Re:Stability AI Launches the First of Its StableLM Suite of ... by pdntspa on Wednesday April 19, 2023 @11:31PM (#35636038)
Every single one of them since both windows and mac use the GPU for window management

I miss Aero, that shit was so cool...

Re:Stability AI Launches the First of Its StableLM Suite of ... by moffkalast on Wednesday April 19, 2023 @04:08PM (#35632686)
> very capable models

Well that's the problem though, those models don't come any close to being useful at all. At least not yet. And they also run much slower.

As compute increases in general, there will be larger and more capable state of the art models and it'll make more sense to just use those instead of trying to run some local one that won't give you any useful answers. Data centers will always have a few orders of magnitude more horsepower than your average laptop, even with some kind of inference accelerator card.

Re:Stability AI Launches the First of Its StableLM Suite of ... by FL33TW00D on Wednesday April 19, 2023 @05:10PM (#35633372)
Stable diffusion isn't useful at all?
Re:Stability AI Launches the First of Its StableLM Suite of ... by moffkalast on Wednesday April 19, 2023 @07:18PM (#35634515)
Do people use it for anything practical? Making stock photos maybe? I haven't really had a proper use case for it and all the random things I tried to make with it weren't good enough to use with anything. Could be useful for making concepts for real artists, but last I heard they were all too busy boycotting it.

Also, not an LLM.

Re:Stability AI Launches the First of Its StableLM Suite of ... by UncleEntity on Wednesday April 19, 2023 @08:45PM (#35635078)
> I haven't really had a proper use case for it and all the random things I tried to make with it weren't good enough to use with anything.

Sounds a lot like most of my early programming experiments…

Though I’ve heard on good authority that the early programmers looked past being able to calculate ballistic charts and have done some interesting things with these “computer” things.

Re:Stability AI Launches the First of Its StableLM Suite of ... by zirgs on Thursday April 20, 2023 @05:09AM (#35637807)
There are some models that can generate tileable textures, for example.
Re:Stability AI Launches the First of Its StableLM Suite of ... by moffkalast on Thursday April 20, 2023 @05:32AM (#35637919)
Ah interesting yeah, found this one: https://replicate.com/tommoore515/material_stable_diffusion

Trying out some prompts, maybe last I used SD my mistake was going with a lower resolution to speed up generation. I literally cannot get this one to make anything that isn't a weird blob at 256px and lower, but at 512px it works fine? Weird that it's so resolution dependant. I guess some proper stuff can be made at 1024px and above.

Re:Stability AI Launches the First of Its StableLM Suite of ... by whywhywhywhy on Thursday April 20, 2023 @08:39AM (#35639019)
SD basically doesnt function at 256px, it was trained on 512px
Re:Stability AI Launches the First of Its StableLM Suite of ... by moffkalast on Thursday April 20, 2023 @10:35AM (#35640677)
Not sure why they'd give the option to run at those resolutions then?
Re:Stability AI Launches the First of Its StableLM Suite of ... by zirgs on Friday April 21, 2023 @05:24AM (#35651446)
SD 1.1 was trained on 256x256 so, I guess it was left in there for backwards compatibility reasons.
Re:Stability AI Launches the First of Its StableLM Suite of ... by wokwokwok on Wednesday April 19, 2023 @11:48PM (#35636151)
How is running a LLM related to stable diffusion?

Your contention is that models will run on devices; but latent diffusion models have lower memory footprints (see: latent).

The hardware you need to run a good LLM is what, 10x more than a latent diffusion one?

They are not comparable.

Re:Stability AI Launches the First of Its StableLM Suite of ... by circuit10 on Wednesday April 19, 2023 @04:35PM (#35632989)
“very capable” and “state of the art” aren’t the same thing. In this case the gap is huge
Re:Stability AI Launches the First of Its StableLM Suite of ... by FL33TW00D on Wednesday April 19, 2023 @05:11PM (#35633378)
This is true, but a good subset of tasks can be accomplished by much smaller models. Copilot is 12B!
Re:Stability AI Launches the First of Its StableLM Suite of ... by brucethemoose2 on Wednesday April 19, 2023 @06:27PM (#35634118)
I can already run Vicuna(llama) 7B on my 2020, 14" PC laptop at ~3.5 tokens/sec, and more speed can definitely be squeezed out.

Most future laptops and phones will ship with NPUs next to the CPU silicon. Once they get enabled in software, that means a 16GB machine can run a 13B model, or a 7B model with room for other heavy apps.

As for the benefits of batching and centralization, that is true, but its somewhat countered by the high cost of server accelerators and the high profit margins of cloud services.

Re:Stability AI Launches the First of Its StableLM Suite of ... by int_19h on Wednesday April 19, 2023 @09:43PM (#35635406)
It's not just the compute, you need fast memory too.

And 7B and 13B are nowhere near enough to get you GPT-3.5 level of performance, which is where it becomes actually interesting.

We'll get there eventually but I don't think it's right around the corner or anything like that.

Re:Stability AI Launches the First of Its StableLM Suite of ... by brucethemoose2 on Wednesday April 19, 2023 @09:54PM (#35635466)
Setting the M series aside, the AMD 7000 laptops already have reasonably fast memory. Faster than some old GPUs.

And that trend is accelerating. The latest rumor is that Intel is bringing back the eDRAM cache next (which means it was in planning long before the generative ai craze), and more stacked/on package memory is just around the corner.

Re:Stability AI Launches the First of Its StableLM Suite of ... by lhl on Thursday April 20, 2023 @12:22AM (#35636378)
While 7000U laptops have yet to be benchmarked, dual-channel DDR5/quad-channel LPDDR5 systems top out at about 60GB/s. (The M1/M2 by comparison is a 100GB/s, and doubles for Pro, Ultra, and Max up to 800GB/s). As a point of reference, top end consumer GPUs like the RTX 4090 are at about 1000GB/s.

My understanding is things like V-Cache, eDRAM have limited benefits for dense transformers, as they need to cycle through all/most of the parameters when running.

Re:Stability AI Launches the First of Its StableLM Suite of ... by Art9681 on Wednesday April 19, 2023 @08:25PM (#35634944)
This technology will be embedded into every OS within 2 years. People don't generally need a "super" model like GPT3/4. It will be perfectly acceptable and common to have the model change context, sync with whatever model/training data is necessary to be an expert in that context only, and associated contexts..., and prompt it in a specific domain. Client devices and internet connections are fast enough to do this in near real time today. The platforms to do all of this are being built right now by every company that creates software otherwise they will fail within 5 years.

It's an inconvenient truth, for better or worse.

Re:Stability AI Launches the First of Its StableLM Suite of ... by fshbbdssbbgdd on Wednesday April 19, 2023 @01:37PM (#35630984)
Most of your bullets sound like arguments that local models will win.

> Often have network effects where the size of the network causes natural monopoly feedback loops.

This one in particular sounds like an argument that remote models will win.

Re:Stability AI Launches the First of Its StableLM Suite of ... by max51 on Wednesday April 19, 2023 @03:07PM (#35632021)
I don't that's true in the context of businesses because they won't want their data to be leaked and/or used for other clients. The more data from your company you can feed the AI, the more productive it will be for you. I'm not just talking about semi-public documentation, but also things like emails, meeting transcript, internal tools APIs, employee details, etc.

If the AI service provider uses your data to help better train their AI, it will be blacklisted by most companies. If you keep them in silos, the centralisation will offer almost no benefit while still being a very high privacy risk. The only benefit they get is that it allows them to demo it and see it's potential, but no serious business will adopt it unless you also provide a self-hosted solution.

I think the only people who will truly benefit from using cloud services as a long term solution are personal users and companies too small to afford the initial cost of the hardware.

Re:Stability AI Launches the First of Its StableLM Suite of ... by goatlover on Wednesday April 19, 2023 @04:03PM (#35632640)
That seems hard to believe for businesses which already rely on Office, Teams and Sharepoint, since Microsoft will be making its version of ChatGPT available for all its products, and the integration will be too hard to pass up on.
Re:Stability AI Launches the First of Its StableLM Suite of ... by max51 on Wednesday April 19, 2023 @04:29PM (#35632930)
Microsoft is in a different situation because everyone is already forced to trust them with their OS and o365. For better or for worse, there are no current alternatives to Windows and the office suite for most businesses. If you already login to your OS with a Microsoft account and process your data in Excel, adding an AI tool on top of it is not a big jump. Very few companies are in this situation.

For every other AI service providers, good fucking luck getting companies to trust you. I expect we will see a lot AI services that offer a cheap and easy to use cloud AI subsidized by a very expensive self-hosted version.

Even for a large company like Autodesk or Adobe, you might trust them with your engineering drawings and your new product design, but would you feel comfortable uploading your code base for internal tools, employee files, email communications, etc. to them? It's gonna be a hard no for a lot of businesses

Re:Stability AI Launches the First of Its StableLM Suite of ... by earthboundkid on Wednesday April 19, 2023 @10:57PM (#35635840)
Having more users helps with reinforcement learning, but as a user, I want an unaligned AI that isn’t constantly babysitting me with bullshit about what it can and cannot do, so there’s like a negative network effect, lol.
Re:Stability AI Launches the First of Its StableLM Suite of ... by throwawayadvsec on Wednesday April 19, 2023 @01:06PM (#35630624)
I don't think it's going to happen in the next few years

the prices are gonna drop like hell, but ain't no way we run models meant to run on 8 nvidia A100 on our smartphones in the next 5 years

just like you don't store the entirety of spotify on your iphone, you're not gonna run any decent LLM on phones any time soon(and I don't consider any of the small Llamas to be decent)

Re:Stability AI Launches the First of Its StableLM Suite of ... by Analog24 on Wednesday April 19, 2023 @01:22PM (#35630793)
This is the reason why they're not going to move on device anytime soon. You can use compression techniques, sure, but you're not going to get anywhere near the level of performance of GPT-4 at a size that can fit on most consumer devices
Re:Stability AI Launches the First of Its StableLM Suite of ... by mkaic on Wednesday April 19, 2023 @03:17PM (#35632127)
I think we’ll see completely new architectures dominate in the near future, ousting the transformer. I am strongly suspicious that, while impressive, transformers use several orders of magnitude more compute than is “needed” for the tasks they perform—if for no other reason because the human brain performs similarly and it only draws 20 watts! And it isn’t even an engineered system, jus the product of a very, very long history of natural selection! I fully anticipate that we’ll see AI in the near future that achieves human-level performance on sub-human power budgets like the ones you’d be constrained by on a phone :)
Re:Stability AI Launches the First of Its StableLM Suite of ... by Analog24 on Wednesday April 19, 2023 @05:37PM (#35633624)
"neat future" is very ambiguous. At the moment there is nothing even close to transformers in terms of performance. I suspect you are right in general but I'm not sure about the "near future" part, there needs to be a pretty significant paradigm shift for that to happen (which is possible, of course, I just don't see any hints of it yet).
Re:Stability AI Launches the First of Its StableLM Suite of ... by mkaic on Wednesday April 19, 2023 @08:28PM (#35634967)
RWKV is an attention-free architecture that's showing promising scaling at a similar level to Transformers right now! There's also recently been Hyena, which uses a new mechanism that's kind of a weird mix of attention, convolution, and implicit modelling all at once. It's shown promise as well. Remains to be seen if these competing methods will truly scale as well as Transformers, but I've got my fingers crossed. Only a matter of time!

I agree that "near future" is quite ambiguous though. If I were to disambiguate my claims, I think I'd personally expect a Transformer-killing architecture to arise in the next 4-5 years.

Re:Stability AI Launches the First of Its StableLM Suite of ... by w4ffl35 on Wednesday April 19, 2023 @01:33PM (#35630934)
> but ain't no way we run models meant to run on 8 nvidia A100 on our smartphones in the next 5 years

m$ has been working on an AI chip since 2019 so i think we will.

Re:Stability AI Launches the First of Its StableLM Suite of ... by d33 on Wednesday April 19, 2023 @01:38PM (#35630992)
They still can't beat the laws of physics. It's just the kind of density that doesn't seem feasible to put in a smartphone.
Re:Stability AI Launches the First of Its StableLM Suite of ... by wewtyflakes on Wednesday April 19, 2023 @04:33PM (#35632973)
Human brains seem to be of the same order of magnitude in terms of size, and seem more nuanced and capable than GPT4.
Re:Stability AI Launches the First of Its StableLM Suite of ... by kortex on Wednesday April 19, 2023 @11:30PM (#35636034)
The human brain is also three-dimensional, heavily interconnected, and has built-in thermal management at every scale. Chips are much faster, but still operate on the essentially linear memory cells, and this limits how many matmuls you can do per second. If we can figure out true connectivity without doing tons of matmuls, then we should be able to massively cut computational demands of models.
Re:Stability AI Launches the First of Its StableLM Suite of ... by fbhabbed on Friday April 21, 2023 @06:28PM (#35661085)
It's not apples to apples comparison. There's a multitude of tasks that human brains are very bad at.

GPT excellence is in raw knowledge and answering machine. You won't find a single human brain that can hold the same amount of knowledge

Re:Stability AI Launches the First of Its StableLM Suite of ... by what_ever on Wednesday April 19, 2023 @02:04PM (#35631315)
And? Nvidia has been working on AI chips for years.
Re:Stability AI Launches the First of Its StableLM Suite of ... by throwawayadvsec on Wednesday April 19, 2023 @02:35PM (#35631701)
An A100 is about the size of a brick, there is no way we're fitting those 8 bricks in a phone in the next five years, without even thinking about heat management
Re:Stability AI Launches the First of Its StableLM Suite of ... by asciimike on Wednesday April 19, 2023 @05:08PM (#35633346)
An A100 HGX server is ~6kW of power consumption (and associated heat), while an iPhone is O(1W). I agree that a 6000x increase in energy density or 6000x decrease in power consumption is unlikely in this decade.
Re:Stability AI Launches the First of Its StableLM Suite of ... by throwawayadvsec on Friday April 21, 2023 @04:16PM (#35659460)
I mean we could maybe put uranium in iphones...but not that many transistors
Re:Stability AI Launches the First of Its StableLM Suite of ... by davnicwil on Wednesday April 19, 2023 @03:29PM (#35632270)
the only thing I can say to this is that Apple have seemed laser focused on tuning their silicon for ML crunching, that that focus is clearly now going to be amped up further still, and that in tandem the software itself will be tuned to Apple silicon.

GPUs on the other hand are pretty general purpose. And 5 years on a focused superlinear ramp up is a long time, lots can happen. I am not saying it's 100%, or even 80% likely. It'll be super impressive if it happens, but I see it as well within the realms of reason.

Re:Stability AI Launches the First of Its StableLM Suite of ... by tehsauce on Wednesday April 19, 2023 @03:50PM (#35632507)
Apple's new M2 Max has a neural engine which can do 15 trillion flops. Nvidias's A100 chip (released almost 3 years ago) can do 315 trillion flops. Apple is not going to close this 20x gap in a few years.
Re:Stability AI Launches the First of Its StableLM Suite of ... by moffkalast on Wednesday April 19, 2023 @04:13PM (#35632754)
> this 168x gap

FTFY, remember it takes 8 of those to even load the thing. And when the average laptop has that much compute, GPT 4 will seem like Cleverbot in comparison to the state of the art.

Re:Stability AI Launches the First of Its StableLM Suite of ... by davnicwil on Wednesday April 19, 2023 @03:55PM (#35632560)
right, it's a huge challenge.

I think the tuning the models to the hardware piece is important, and of course there is much more incentive to do this for Apple than nvidia because of the distribution and ecosystem advantages Apple have.

But also, I don't know... let's see what the curve looks like! It's only been a couple of years of these neural engines. Let's see how many flops M3 can hit this year. And then m4 the next. Again, 5 years is a long time actually when real improvement is happening. I am optimistic.

Re:Stability AI Launches the First of Its StableLM Suite of ... by sroussey on Wednesday April 19, 2023 @05:58PM (#35633833)
At some point, they will put the models in silicon. I’m curious as to when… 5yr?
Re:Stability AI Launches the First of Its StableLM Suite of ... by viraptor on Wednesday April 19, 2023 @06:05PM (#35633903)
That doesn't sound likely with the current architectures. There may be some kind of specialisation, but NN is like the chip design nightmare. We can't do chips that that many crossed lines. It's going to have to keep the storage+execution engine pattern unless we have done breakthroughs.

"More specialised than GPU" is the game for now.

Re:Stability AI Launches the First of Its StableLM Suite of ... by zamnos on Wednesday April 19, 2023 @08:06PM (#35634845)
Not even with 3d chip-stacking?
Re:Stability AI Launches the First of Its StableLM Suite of ... by viraptor on Wednesday April 19, 2023 @08:31PM (#35634986)
Well, we'll see what the future manufacturing brings, but right now we're not even at thousands of layers (as far as I know... please link if there's been more), and we'd need to be in hundreds of thousands range. Given the rate of defects also adding up and the need for some way to dissipate the heat... Yeah, still lots of challenges there.
Re:Stability AI Launches the First of Its StableLM Suite of ... by anhner on Thursday April 20, 2023 @02:20AM (#35636985)
Try comparing M2 with an actual consumer level GPU, not a supercomputer...
Re:Stability AI Launches the First of Its StableLM Suite of ... by refulgentis on Wednesday April 19, 2023 @03:56PM (#35632574)
Curious, why do you think that? My knowledge is limited to marketing material and my M2 vs my 3090, and my conclusion so far would be that’s in every hardware makers marketing claims the past couple years.
Re:Stability AI Launches the First of Its StableLM Suite of ... by brucethemoose2 on Wednesday April 19, 2023 @06:36PM (#35634185)
The M2 and the 4090 are both very general purpose. In fact, the 4090 allocates proportionally more silicon area to the tensor cores than Apple allocates to the neural engine.

The M series is basically the only "big" SoC with a functional, flexible NPU and big GPU right now, which is why it seems so good at ML. But you can bet actual ML focused designs are in the pipe.

Re:Stability AI Launches the First of Its StableLM Suite of ... by zamnos on Wednesday April 19, 2023 @06:48PM (#35634278)
Well, and gobs of RAM, which only top end cards can compete with.
Re:Stability AI Launches the First of Its StableLM Suite of ... by brucethemoose2 on Wednesday April 19, 2023 @07:08PM (#35634448)
I am really hoping Intel disrupts this status quo. The only thing stopping AMD/Nvidia is anticompetitiveness.
Re:Stability AI Launches the First of Its StableLM Suite of ... by kristianp on Wednesday April 19, 2023 @09:59PM (#35635493)
Does llama.cpp use the npu or metal? I thought it uses NEON instructions? So currently those units aren't even used.
Re:Stability AI Launches the First of Its StableLM Suite of ... by brucethemoose2 on Wednesday April 19, 2023 @10:22PM (#35635612)
I don't think so. M chips just happen to have a really good memory subsystem and good simd performance through accelerate, so the CPU performance is pretty good.

Some stable diffusion implementations can use the NPU or GPU, or (experimentally and unsucessfully) both.

Re:Stability AI Launches the First of Its StableLM Suite of ... by viraptor on Wednesday April 19, 2023 @06:00PM (#35633846)
> but ain't no way we run models meant to run on 8 nvidia A100 on our smartphones in the next 5 years

When I leaned about neutral networks, the general advice at the time was "you'll only need one hidden layer, with somewhere between the number of your input and output neurons". While that was more than 5 years ago, my point is - both the approach and the architecture changes over time. I would not bet on what we won't have in 5 years.

Re:Stability AI Launches the First of Its StableLM Suite of ... by brucethemoose2 on Wednesday April 19, 2023 @06:33PM (#35634164)
Vicuna (LLama) 13B is pretty good IMO. A 20B model can definitely fit in RAM on future devices.
Re:Stability AI Launches the First of Its StableLM Suite of ... by GavinB on Wednesday April 19, 2023 @01:15PM (#35630721)
I'd suspect it will actually accelerate moving everything into the cloud.

If your entire business is in the cloud, you can give an AI access to everything with a single sign or some passwords. If half is on the cloud and half is local, that's very annoying to have all in-context for your AI assistant. And there's no way we're getting everything locally stored again at this point!

Re:Stability AI Launches the First of Its StableLM Suite of ... by bugglebeetle on Wednesday April 19, 2023 @01:25PM (#35630825)
Right, this is why StabilityAI is getting in bed with Amazon, so private, fine-tuned models can operate on all your data sitting out there in S3 buckets or whatever.
Re:Stability AI Launches the First of Its StableLM Suite of ... by brodo on Thursday April 20, 2023 @05:08AM (#35637799)
I really doubt that someone responsible for security would give anyone (or anybot) access to everything.
Re:Stability AI Launches the First of Its StableLM Suite of ... by qingdao99 on Wednesday April 19, 2023 @01:20PM (#35630771)
> But once one exists you can use it to make more relatively cheaply by generating training data.

Is that a real technique? Why not just shrink down the model itself directly somehow, is that not possible?

Re:Stability AI Launches the First of Its StableLM Suite of ... by MacsHeadroom on Wednesday April 19, 2023 @08:08PM (#35634851)
That's what pruning is, but it's not that straight forward and has limits. Finetuning a smaller model on the output of a larger one is much more flexible and reliable.

GPT 3.5 is probably a 13B Curie finetuned on the output of full size GPT-3 175B, to give you an idea of the technique.

That is smaller than the third smallest StableLM and the same size as LLaMA-13B which can run at useful speeds off of a smart phone CPU.

Re:Stability AI Launches the First of Its StableLM Suite of ... by int_19h on Wednesday April 19, 2023 @11:39PM (#35636098)
> GPT 3.5 is probably a 13B Curie finetuned on the output of full size GPT-3 175B

What is the basis for this assessment?

Re:Stability AI Launches the First of Its StableLM Suite of ... by iliane5 on Thursday April 20, 2023 @12:16PM (#35642294)
GPT-3.5 is much worse at "complex" cognitive tasks than Davinci (175B), which seem to indicate that it's a smaller model. It's also much faster than Davinci and costs the same as Curie via the API.
Re:Stability AI Launches the First of Its StableLM Suite of ... by int_19h on Thursday April 20, 2023 @03:22PM (#35644908)
It's clearly a smaller model, but I'm very skeptical that it is 13B. It is much more lucid than any 13B model out in the wild. I find it much more likely that they used additional tricks to scale down hardware requirements and thereby bring the price down so much (int4 quantization, perhaps? that alone would mean 4x less hardware utilization for the same query, if they were using float16 for older models, which they probably were)
Re:Stability AI Launches the First of Its StableLM Suite of ... by iliane5 on Thursday April 20, 2023 @04:37PM (#35645928)
I'm sure they're tweaking lots of things under the hood, especially now that they have 100M+ users. It could be bigger (30B?, maybe 65B) as coming down from 175B gives quite a lot of room, but the cognitive drop from Davinci gives away that's it's much smaller.

People fine-tuning LLaMa models on arguably not that much/not the highest quality data are already seeing pretty good improvements over the base LLaMa, even at "small" sizes (7B/13B). I assume OpenAI has access to much higher quality data to fine-tune with and in much higher quantity too.

Re:Stability AI Launches the First of Its StableLM Suite of ... by int_19h on Friday April 21, 2023 @12:59PM (#35656688)
I have been playing with all the local LLaMA models, and in my experience, the gains that are touted are often very misleading (e.g. people claiming that 13B can be as good as ChatGPT-3.5; it is absolutely not) and/or refer to synthetic testing that doesn't seem to translate well to actual use. Using GPT to generate training data for fine-tuning seems to produce the best results, but even so, GPT4-x-Alpaca 30B is still clearly inferior to the real thing. In general, the gap between 13B and 30B for any LLaMA-derived model is pretty big, and I've yet to see any fine-tuned model at 13B work better than plain llama-30b in actual use.

So I think that 65B may be a realistic estimate here assuming that OpenAI does indeed have some secret sauce for training that's substantially better, but below that I'm very skeptical (but still hope I'm wrong - I'd love to have GPT-3.5 level of performance running locally!).

Re:Stability AI Launches the First of Its StableLM Suite of ... by iliane5 on Saturday April 22, 2023 @08:38AM (#35666019)
Agreed, there is way too much hype about the actual capabilities of the LLaMa models. However, instruction tuning alone makes Alpaca much more usable than the the base model and to be fair even some versions of the "tiny" 7B can do small talk relatively well.

> Using GPT to generate training data for fine-tuning seems to produce the best results, but even so, GPT4-x-Alpaca 30B is still clearly inferior to the real thing.

Distillation is interesting and it does seems to make the models adopt ChatGPT's style but I'm dubious that making LLMs generate entire datasets or copy/pasting ShareGPT is going to give you that great of a dataset. The whole point of RLHF is getting the human feedback to make the model better. OpenAI's dataset/RLHF work seems to be working wonders for them and will continue to give them a huge advantage (especially now that they're getting hundred of millions of conversations of people doing all sorts of things with ChatGPT)

Re:Stability AI Launches the First of Its StableLM Suite of ... by andrewcamel on Wednesday April 19, 2023 @01:10PM (#35630677)
On this topic, Apple is the sleeping giant. Sleeping tortoise maybe. Everyone else has been fast out of the gates, but Apple has effectively already been positioning to leap frog everyone after a decade+ of M1 chip design. Ever since these chips launched, the M1 chips have felt materially underutilized, particularly their GPU compute. Have to believe something big is going on behind the scenes here.

That said, wouldn't be surprised if the truth was somewhere in between cloud-deployed and locally deployed, particularly on the way up to the asymptotic tail of the model performance curve.

Re:Stability AI Launches the First of Its StableLM Suite of ... by ohgodplsno on Wednesday April 19, 2023 @01:38PM (#35630994)
M1 GPUs are barely real-world tested, alright chips. They're far from being a sleeping giant.
Re:Stability AI Launches the First of Its StableLM Suite of ... by smoldesu on Wednesday April 19, 2023 @01:26PM (#35630838)
What would a "leap frog" look like, in your mind? I'm struggling to imagine how they're better positioned than the competition, especially after llama.cpp showed us that acceleration works with everything from AVX2 to ARM NEON. Compared to Nvidia (or even Microsoft and ONNX/OpenAI), Apple is somewhat empty-handed here. They're not out of the game, but I genuinely see no path for them to dominate "everyone".
Re:Stability AI Launches the First of Its StableLM Suite of ... by yunwal on Wednesday April 19, 2023 @04:20PM (#35632816)
My guess is a leapfrog would have more to do with how LLMs are integrated into an operating system, rather than just coming out with a better model. I don’t think we’re gonna get a substantially more capable LLM than GPT-4 anytime soon, but fine-tuning it to sit on top of the core of an operating system could yield results.
Re:Stability AI Launches the First of Its StableLM Suite of ... by smoldesu on Wednesday April 19, 2023 @05:03PM (#35633297)
Feels like Microsoft already beat them to the punch. Their ONNX toolkit has better ARM optimization than Apple's own Pytorch patches, and their collaboration with OpenAI places them pretty far ahead of the research curve. I'm convinced Microsoft could out-maneuver Apple on local or remote AI functionality, if they wanted to.
Re:Stability AI Launches the First of Its StableLM Suite of ... by s3p on Wednesday April 19, 2023 @01:49PM (#35631116)
What does "stage plays on the radio” mean?
Re:Stability AI Launches the First of Its StableLM Suite of ... by what_ever on Wednesday April 19, 2023 @02:07PM (#35631342)
Trying to be fancy to say things won't be running locally. The orchestra/performers won't be live in front of you but on the radio.
Re:Stability AI Launches the First of Its StableLM Suite of ... by earthboundkid on Wednesday April 19, 2023 @10:58PM (#35635841)
That is not what that idiom means.
Re:Stability AI Launches the First of Its StableLM Suite of ... by crucialfelix on Wednesday April 19, 2023 @02:49PM (#35631831)
When radio first started, people read plays written for the stage, because that's what they knew and what they had. Later people learned to write for the medium and make radio native entertainment.

Same thing happened when TV arrived. They did live versions of the radio entertainment on a set in front of a camera.

Re:Stability AI Launches the First of Its StableLM Suite of ... by burtonator on Wednesday April 19, 2023 @03:11PM (#35632078)
We're stuck here for a while due to the size, and cost, of the larger models.

The main reason I want a non-cloud LLM is that I want one that's unaligned.

I know I'm not a criminal and I want to stop being reprimanded by GPT4.

What I'm most interested here is fine tuning the model with my own content.

That could be super valuable especially if we could get it to fact check itself, which you could with a vector database.

Re:Stability AI Launches the First of Its StableLM Suite of ... by shostack on Wednesday April 19, 2023 @03:30PM (#35632285)
What's been so interesting with the explosion of this has been how prominently the corporately-driven restrictions have been highlighted in news and such.

People are getting a good look in very easy to understand terms at the foundational stage at how limiting the future is to have this just be another big tech controlled thing.

Re:Stability AI Launches the First of Its StableLM Suite of ... by barking_biscuit on Wednesday April 19, 2023 @07:42PM (#35634687)
I know we want things that are insanely powerful and totally unrestricted, and because we want them, I think we'll get them. And then I genuinely think this tech is going to end in tears.
Re:Stability AI Launches the First of Its StableLM Suite of ... by ChatGTP on Wednesday April 19, 2023 @07:58PM (#35634791)
Don’t the general populace also have valid concerns about more powerful models and newer architectures being able to do damage ?
Re:Stability AI Launches the First of Its StableLM Suite of ... by WhiteNoiz3 on Wednesday April 19, 2023 @03:57PM (#35632585)
They have said that the alignment actually hurts the performance of the models. Plus for creative applications like video games or novels, you need an unaligned model otherwise it just produces "helpful" and nice characters.
Re:Stability AI Launches the First of Its StableLM Suite of ... by yeck on Wednesday April 19, 2023 @08:20PM (#35634916)
The character simulacrum used by an LLM tends to be the result of "system" prompts that set by the service you are using. GPT-N isn't exactly trained to be helpful and nice, but ChatGPT has system prompts describing the character it should be performing as. If you work with just GPT-4, you can get more zany outputs.

That said, OpenAI does use RLHF, which does bias the model away from raw internet madness and something that OpenAI wanted at the time of training. A lot of models haven't gone through rigorous RLHF, though.

As a side note, RLHF might be the best alignment technique we currently have in practice, but it is not decisive. It has been noted in multiple experiments that RLHF can just train a model in how to trick the human reviewer, if tricking is easier in practice than doing a think the human review wanted. So this isn't even really seen as aligning a model by alignment researchers. At least not an approach that can scale with the increasingly intelligence AI models.

Re:Stability AI Launches the First of Its StableLM Suite of ... by yeck on Wednesday April 19, 2023 @08:14PM (#35634880)
Alignment is an unsolved problem. None of the current stronger models are "aligned", just tuned in ways that weight some biases more than others, but even that is dependant of the features of their inputs.
Re:Stability AI Launches the First of Its StableLM Suite of ... by skybrian on Wednesday April 19, 2023 @03:11PM (#35632079)
This is sort of like saying the world wide web is a fad. Many people made that argument, but a lot of desktop apps got replaced by websites even though they were supposedly inferior.

ChatGPT works fine as a website and you don’t need to buy a new computer to run it. You can access your chat history from any device. For many purposes, the only real downside is the subscription fee.

If LLM’s become cheaper to run, websites will be cheaper to run, and there will be lower-cost competition. Maybe even cheap enough to give away for free and make money from advertising?

Re:Stability AI Launches the First of Its StableLM Suite of ... by zirgs on Wednesday April 19, 2023 @04:28PM (#35632909)
The other downside starts with an "As an AI language model..."
Re:Stability AI Launches the First of Its StableLM Suite of ... by ModernMech on Wednesday April 19, 2023 @04:39PM (#35633041)
And ends with "...I'm afraid I can't do that."
Re:Stability AI Launches the First of Its StableLM Suite of ... by skybrian on Wednesday April 19, 2023 @09:04PM (#35635181)
Which is why I said "many purposes." It doesn't work for everything.
Re:Stability AI Launches the First of Its StableLM Suite of ... by precompute on Wednesday April 19, 2023 @03:31PM (#35632300)
This is mostly why the future of computation only makes sense monetarily if you have everyone shift to a thin client. So, banning GPUs is likely considered a "necessary evil" by the BigTech cognoscenti for accomplishing that goal.
Re:Stability AI Launches the First of Its StableLM Suite of ... by WhiteNoiz3 on Wednesday April 19, 2023 @03:42PM (#35632424)
I agree - I think for security and privacy we need it to be on-device (either that or there needs to be end to end encryption with gaurantees that data won't be captured for training). There are tons of useful applications that require sensitive personal information (or confidential business information) to be passed in prompts - that becomes a non issue if you can run it on device.

I think there will be a lot of incentive to figure out how to make these models more efficient. Up until now, there's been no incentive for the OpenAI's and the Googles of the world to make the models efficient enough to run on consumer hardware. But once we have open models and weights there will be tons of people trying to get them running on consumer hardware.

I imagine something like an AI specific processor card that just runs LLMs and costs < $3000 could be a new hardware category in the next few years (personally I would pay for that). Or, if apple were to start offering a GPT3.5+ level LLM built in that runs well on M2 or M3 macs that would be strong competition and a pretty big blow against the other tech companies.

Re:Stability AI Launches the First of Its StableLM Suite of ... by zamnos on Wednesday April 19, 2023 @08:08PM (#35634858)
That hardware's gonna look a lot like ASIC Bitcoin miners if an architecture to replace LLMs is popularized. General-enough purpose computing ain't going away for a long time.
Re:Stability AI Launches the First of Its StableLM Suite of ... by vsareto on Wednesday April 19, 2023 @04:21PM (#35632831)
I think you'll be paying a cloud provider instead of an API company, but it'll still be a monthly service charge for the service

I don't see small/medium companies getting into acquiring hardware for AI

Re:Stability AI Launches the First of Its StableLM Suite of ... by circuit10 on Wednesday April 19, 2023 @04:34PM (#35632979)
At least for now, good LLMs need GPUs that cost tens of thousands, so a cloud API is the only reason option. It definitely makes a lot of sense
Re:Stability AI Launches the First of Its StableLM Suite of ... by jrm4 on Wednesday April 19, 2023 @04:38PM (#35633023)
I think it may be naive that people believe that the deciding factor on how these things are used is likely to be "chip speed." or "efficiency on the machine."

I wish we were in that world; but it more likely seems like it would be "Which company jumps ahead quickest to get mindshare on a popular AI related thing, and then is able to ride scale to dominate the space?"

REALLY hope I end up being wrong here; the fact that so many models are already out there does give me some hope.

Re:Stability AI Launches the First of Its StableLM Suite of ... by lairv on Wednesday April 19, 2023 @04:44PM (#35633107)
This doesn't seem that obvious to me, serving LLMs through an API allows to have highly optimized inference with stuff like TensorRT and batched inference while you're stuck with batch size = 1 when processing locally.

LLMs doesn't even require full real-time inference, there are applications like VR or camera stuff where you need real-time <10ms inference, but for any application of LLMs 200-500ms is more than fine

For the users, running LLMs locally means more battery usage and significant RAM usage. The only true advantage is privacy but this isn't a selling point for most people

Re:Stability AI Launches the First of Its StableLM Suite of ... by pornel on Wednesday April 19, 2023 @04:52PM (#35633183)
You're still thinking in terms of what APIs would be used for, rather than what local computation enables.

For example, I'd like an AI to read everything I have on screen, so that I can ask at any time "why is that? Explain!" without having to copy paste the data and provide the whole context to a Google-like app.

But without privacy guarantee (and I mean technical one, not a pinky promise to be broken when VC funding runs out) there's no way I'd feed everything into an AI.

Re:Stability AI Launches the First of Its StableLM Suite of ... by brucethemoose2 on Wednesday April 19, 2023 @06:41PM (#35634228)
We are very close to optimized ML frameworks on consumer hardware.

And TBH most modern devices have way more RAM than they need, and go to great lengths to just find stuff to do with it. Hardware companies also very much like the idea of a heavy consumer applications.

Re:Stability AI Launches the First of Its StableLM Suite of ... by ForHackernews on Wednesday April 19, 2023 @04:53PM (#35633196)
?

All software is sold as SaaS today, because it's more profitable. The same will be true for LLMs.

Re:Stability AI Launches the First of Its StableLM Suite of ... by Rastonbury on Wednesday April 19, 2023 @11:22PM (#35635987)
LLM seems more akin to AWS, than a SaaS, companies will create products upon LLMs like how companies rely on AWS to support their products. The build vs buy calculus may tip heavily towards build once they can run on device with good user experience, no need to pay for cloud compute any longer.
Re:Stability AI Launches the First of Its StableLM Suite of ... by ForHackernews on Friday April 21, 2023 @03:18PM (#35658649)
> The build vs buy calculus may tip heavily towards build once they can run on device with good user experience

Hahahahahaha... oh wait, you're serious? Let me laugh even harder.

Have you used any commercial software in the last 25 years? Garbage web apps have replaced very nice, performant local applications across the board. My stupid fitness tracker app (that should be a 10 MB sqlite DB) instead fails to even open without an internet connection.

Is your theory that companies will suddenly decide they hate getting money and love paying money for developers to create great user experiences?

I wish I lived in your world.

Re:Stability AI Launches the First of Its StableLM Suite of ... by coffeebeqn on Wednesday April 19, 2023 @06:44PM (#35634251)
LLMs also need persistent storage for best performance. Otherwise you’re always starting at square one
Re:Stability AI Launches the First of Its StableLM Suite of ... by brodo on Thursday April 20, 2023 @05:04AM (#35637781)
All modern Apple hardware has dedicated AI chips. I bet they are already are working on an LLM-based Siri.
Re:Stability AI Launches the First of Its StableLM Suite of ... by amelius on Thursday April 20, 2023 @08:09AM (#35638786)
There will be a time when LLMs need data persistence to "improve our user experience". The LLM will act like a "friend" that will remember you when you come back.