News for hackers. Stuff that matters.
Re:Running large language models like ChatGPT on a single GPU by humanistbot on Monday February 20, 2023 @01:11PM (#34870862)
This will only happen if "Open"AI or other big orgs release the model weights, which only Stable Diffusion did. Cost to train is still astronomical.
Re:Running large language models like ChatGPT on a single GPU by JoshCole on Monday February 20, 2023 @01:40PM (#34871220)
* * *
Re:Running large language models like ChatGPT on a single GPU by permo-w on Monday February 20, 2023 @02:43PM (#34871986)
yeah there an absolute pile of LLMs that are fully open-source. OpenAI’s GPT2 for one, but also Bloom, OPT, GPT-J, and I’m sure myriad others too
Re:Running large language models like ChatGPT on a single GPU by Miraste on Monday February 20, 2023 @08:51PM (#34875489)
Nothing in the ballpark of GPT-3.5 or Prometheus yet, but we'll get there.
Re:Running large language models like ChatGPT on a single GPU by Dylan16807 on Monday February 20, 2023 @01:17PM (#34870928)
On the other hand, one techie with a few million dollars...

And you could train something like GPT-3 for cheaper than a superbowl commercial. That would get you a lot of publicity.

Re:Running large language models like ChatGPT on a single GPU by Nuzzerino on Monday February 20, 2023 @01:43PM (#34871253)
I would hope publicity isn’t the motivation for doing it though.
Re:Running large language models like ChatGPT on a single GPU by idiotsecant on Monday February 20, 2023 @02:11PM (#34871577)
What motivation would be sufficiently noble?
Re:Running large language models like ChatGPT on a single GPU by Nuzzerino on Monday February 20, 2023 @02:21PM (#34871702)
Probably one where there isn't an intrinsic conflict of interest with AI risk. Or from a more traditional angle, one where the author's vanity isn't required to be appeased in order for users/customers to be happy. I'm of the opinion that you should do something with game-changing technology because the world needs it, not because you need an ego boost. All technology brings side effects, and there is no greater example of that than "democratized" AI...
Re:Running large language models like ChatGPT on a single GPU by idiotsecant on Monday February 20, 2023 @03:14PM (#34872325)
People often (usually) do objectively useful things because it's in their selfish interests to do so, ego or otherwise. The surest road to failure is expecting people to act virtuously. Generally systems that assume virtue fail, and systems that assume selfish action and steer that selfish action towards the greater good succeed.

In other words, I don't care why people do things, only that they do.

Re:Running large language models like ChatGPT on a single GPU by Nuzzerino on Monday February 20, 2023 @03:25PM (#34872451)
That’s fine, as long as publicity isn’t the motivation. It’s safe to assume that isn’t optimal for a projects success (Satoshi understood this). Not sure where you got the idea that the inverse of that was beneficial to such a project. I’ve seen first hand where it becomes a problem.

I’m not aware of many examples of starry-eyed divas achieving great results. Usually you hear about them but only because they are exceptional cases, not the norm. It’s a matter of practicality and not virtue (to say otherwise is purely a straw man argument).

Re:Running large language models like ChatGPT on a single GPU by JoshCole on Tuesday February 21, 2023 @02:07AM (#34877737)
> to say otherwise is purely a straw man argument

This is really overconfident.

That publicity isn't causally connected to success is belied by the existence of the advertising industry. While generally refuting across industries, it is worth noting that the most dominant AI company - Google - happens to be in this industry. They are explicitly known - having publicity for - their generous compensation packages. This is because of a causal model of talent attraction.

Success is obviously causally connected to publicity and the idea that it isn't isn't well supported by the evidence. Contrary to your assertion, it was not a safe assumption. Your appeal to Satoshi is an appeal to authority, not a causal model of its shielding off from project impacts.

Re:Running large language models like ChatGPT on a single GPU by Nuzzerino on Tuesday February 21, 2023 @06:31AM (#34879796)
> That publicity isn't causally connected to success is belied by the existence of the advertising industry.

The argument was about publicity as a reward motivator, not publicity itself, as a causal relation to success.

To phrase it plainly: Which first-time founders do you think Paul Graham or Keith Rabois would more likely fund: Those who aspire to solve a problem with the world that they care passionately about? Or those looking for money or fame? Last time I checked the latter case would be seen as a strong negative. The appeal to authority argument doesn’t apply in this situation because the VC portfolio performance is causally related to how accurately they predict future success of a company.

On the scale of a smaller project like this, a common failure mode is for a maintainer to stop caring about the project and go to the next thing that motivates them. Someone else may attempt to use the code or project without understanding the theory behind it. And even worse: every time this happens is a signal that this is acceptable.

AI is a different beast. Software bugs with big AI systems will become more costly, and eventually deadly. Unfortunately I’m not sure what can be done about it without a global totalitarian regime to ban its use entirely (which is not an idea I support anyway). Eventually the broken clock will be right and some profit-driven AI project will succeed in making the world a not better place, if we are even around to notice :).

I would advise deeper thought into these topics when convenient. Read Nick Bostrom’s Superintelligence book or watch his talks, at least one of which was at Google HQ.

I think someone should train ChatGPT or similar to argue or teach traditional AGI Philosophy/Ethics and hopefully that will move the needle somewhat more than the OpenAI nannyism we have now.

Re:Running large language models like ChatGPT on a single GPU by JoshCole on Tuesday February 21, 2023 @12:32PM (#34883959)
> I would advise deeper thought into these topics when convenient. Read Nick Bostrom’s Superintelligence book or watch his talks, at least one of which was at Google HQ.

You are again making unsafe assumptions.

I've read Superintelligence. I've read the Sequences. I've even read the part of the sequences where Yudowsky openly admits that he believes Peter Norvig to be above his level - and it is worth noting that Norvig disagreed with Yudowsky on the topic of AI risks.

I've gone much farther too. I've read PAIP and AIMA, both written by Norvig. I've also read Deep Learning which is by Goodfellow et. all. I've read some of Reinforcement Learning by Sutton and completed successful reinforcement learning projects. Hell, I've even read the initial book on Game Theory, though I've been more impress by the papers advancing the state of the art in that field. I know things about the subject that aren't published in any textbook and I know some things which, because I'm so near the frontier, I suspect I'm among the only people who know. In the distant past, I read books on genetic and evolutionary algorithms. I've implemented some. A copy of Science magazine sits on the desk beside me, because there is material in it that I wished to study so I bought it. Beside that is a paper on bayesian modeling in imperfect information games. I've taken courses in Control theory. During my employment at a what used to be a FANG, but is now MANGA, I worked on machine learning systems.

You are making unsafe assumptions about me.

> The argument was about publicity as a reward motivator, not publicity itself, as a causal relation to success.

Reinforcement learning in the context of ensemble models refutes this argument. It is possible to compose agents out of agents with different reward signals. The mathematics of ensemble learning tell us that when models are good for different reasons, the model built out of the ensemble of those models can be better than any model was individually.

> Which first-time founders do you think Paul Graham or Keith Rabois would more likely fund: Those who aspire to solve a problem with the world that they care passionately about?

It is worth reflecting on the fact that the founder of OpenAI has had the strongest possible endorsement from Paul Graham. He was claimed to be among the greats before his successes: Paul Graham put him among Steve Jobs and Elon Musk. When Paul Graham stepped down from YCombinator, he was so convinced of Sam's skills that he put Sam in his place. Later Sam started OpenAI.

You are giving an argument here for your initial hope that companies like OpenAI wouldn't be fame seeking. Is this your intention? I get the impression from things like "nannyism" that you are actually intending to argue the opposite.

> Eventually the broken clock will be right and some profit-driven AI project will succeed in making the world a not better place, if we are even around to notice :).

One thing that Yudowsky and people highly informed by him miss is that his teaching about rationality in terms of overcoming bias isn't actually supported by what biases really are. It really helps to use simpler models of cognition. For example, in a chess playing AI, you end up seeing a dual mode process just like you do in the brain. Bostrom and Yudowsky would both have you believe that there is a better agent so much so that it puts all existing agents to shame. The thing is, we actually do know how to calculate the perfect agent through working backward from the outcomes through the transitional structure of the game to its start. The issue is that the number of states which are possible in the game is very high - comparable to the number of atoms in the universe high. This is sometimes called the combinatiorial explosion.

It ends up that isn't physically realistically even in simple problems to have a perfect intelligence. So what the brain does and what chess engines do is that they have a dual mode system. The first part solves the general problem, but it has error. Then the other part solves for a specific situation: because the specific situation is less general than the general problem the error-laden heuristic it provides always has error and is actually algorithmically intended to be used to improve upon the approximation. Yet you can't induct on the omnipresent ability to make progress in the specific situations to the ability to make progress in the general situation. Yudowsky and Bostrom and many people actually do try to do this sort of inference based on observed ability to make progress, so they have extremely wrong intuitions about what it is possible.

Generally speaking, everyone who speaks about cognitive biases pejoratively tends to suffer from this error. A good example is that the author of the OvercomingBias blog has actually articulated bias toward things that benefit a person as an example of a bias. Notice, in the dual mode systems we are talking about, this isn't a bias. Mathematically the assumption that people do this and we should do this corresponds with equillibrium approximation improvement. You see it show up in things like the minimax algorithm, not because it is irrational, but because the minimax algorithm corresponds with nash equilibrium approximation error reduction. The causal explanation of its purpose doesn't correspond with bias, but because these people aren't working from models of cognition, they just observe error and think - ah, bias, lets overcome it. In actuality almost all the seeming bias in humans are better understood in terms of performance optimizations that are necessitated by the problems being solved being very hard.

Anyway, I'm really just trying to argue you were being overconfident. I don't think your belief that publicity

Re:Running large language models like ChatGPT on a single GPU by JoshCole on Tuesday February 21, 2023 @04:28PM (#34887667)
So for example, here is what I mean, I flipped to a random page 147 in Bostrom's book and he writes: "If we are wondering whether a mathematical proposition is true we could ask the oracle to produce a proof or disproof of the proposition" because "many mathematical propositions are of this kind" and my immediate reaction is - Gödel incompleteness theorem talks about cases that aren't covered by what he talks about.

See what I mean about failing to truly grapple with intractability? He doesn't address the subject as seriously as it ought to be! It ought to be taken with deadly seriousness, because it isn't a niche thing irrelevant to the discussion.

Notice Turing's halting problem applies when discussing agents reacting to other agents! Notice it!

Notice that decisions in game theory, especially the equilibrium policies we can make claims about, are defined with respect to other policies. Notice it!

Notice that the general category of decision problems we are discussing with regard to intelligence is actually of the sort in which we are dealing with Turing's halting problem and Gödel's incompleteness. This is actually not an irrelevant category which he is excluding - he just accidentally skipped past, with a cheery "most are like this" handwave - most questions actually relevant to intelligent agents.

It wasn't him being clever. It wasn't him being wise. It wasn't him being formidable. It was him clinging to the lights, because he wants to think within the lights.

In contrast, Norvig just admits we have to give up on certain aspects of correctness due to intractability. It is so much more formidable, because he doesn't try to operate just under the light, but explicitly calls attention to the darkness and talks about the implications of grappling with it.

I would say that Bostrom does the same thing, but he gave more attention to the idea of going faster than humans can and less attention to the idea that there is a physical limit to the speed of light. He focuses more on the physical possibility of improvements due to the benefit of increased traction and less on the inevitably of encountering the impossibility of traction.

Re:Running large language models like ChatGPT on a single GPU by Nuzzerino on Tuesday February 21, 2023 @10:24PM (#34891234)
I'll have to check out Bellman's work, thanks!
Re:Running large language models like ChatGPT on a single GPU by JoshCole on Wednesday February 22, 2023 @12:45AM (#34892099)
BTW, Bellman actually coined the term curse of dimensionality [1]; got that confused with combinatorial explosion since it is a synonyms in the contexts I typically encounter it [2].

[1]: https://en.wikipedia.org/wiki/Curse_of_dimensionality

[2]: https://en.wikipedia.org/wiki/Combinatorial_explosion

OpenAI has a pretty good introduction to the Bellman equations in their Spinning Up in RL lessons [3]. Sutton's work in Reinforcement Learning also talks about Bellman's work quite a bit. Though Bellman was actually studying what he called dynamic programming problems his work is now considered foundational in reinforcement learning.

[3]: https://spinningup.openai.com/en/latest/

Uh, and for the dual mode observations the person that brought that to my attention was Noam Brown, not Bellman or Norvig. If you haven't already checked out his work, I recommend it above both Norvig and Bellman. He has some great talks on Youtube and I consider it a shame they aren't more widely viewed [4].

[4]: https://www.youtube.com/watch?v=cn8Sld4xQjg

Re:Running large language models like ChatGPT on a single GPU by JoshCole on Tuesday February 21, 2023 @02:51PM (#34886086)
> The argument was about publicity as a reward motivator, not publicity itself, as a causal relation to success.

That the causal model supports publicity seeking leads us to ensemble models. When models are good for different reason, the ensemble of the models ends up better than any individual model. Reinforcement learning research has shown you can successfully train an agent out of decomposed reward signals by building an ensemble model atop them.

The fact that the causality says publicity matters means that agents which recognize the importance that publicity contribute to the solution actually do have the expectation of being part of the solution.

It is very common to see this talked about in terms of diversity improving solution quality when talking about it in the context of companies and it is generally considered a good idea to have a diverse team as a consequence.

Anyway, I'm mostly responding because I disagree with apriori declaration that all who disagree are attacking a straw man.

I think that was overconfident, because the causal structure of publicity and its relation to outcomes disagrees with that.

Re:Running large language models like ChatGPT on a single GPU by strohwueste on Monday February 20, 2023 @04:37PM (#34873260)
The summary includes a dangerous thought: For example: why does north Korea develop a nuclear bomb is not important, just that they do. But only they why makes it problematic.
Re:Running large language models like ChatGPT on a single GPU by idiotsecant on Tuesday February 21, 2023 @11:42AM (#34883236)
I'm not sure who was advocating for North Korea making nuclear weapons in this exchange.
Re:Running large language models like ChatGPT on a single GPU by IncRnd on Monday February 20, 2023 @02:25PM (#34871765)
Noble? You're anthropomorphising machine learning. On possible motiviation would be to train a model, instead of training a model in order to create publicity around a model being trained.
Re:Running large language models like ChatGPT on a single GPU by idiotsecant on Monday February 20, 2023 @03:17PM (#34872358)
I think you're misreading, nobody is anthropomorphizing anything other than the very 'anthro' component of the system we're talking about - the people distributing the funding.
Re:Running large language models like ChatGPT on a single GPU by IncRnd on Monday February 20, 2023 @03:32PM (#34872547)
I may have misread your comment, then. Either way, thank you for the explanation!
Re:Running large language models like ChatGPT on a single GPU by paxys on Monday February 20, 2023 @01:52PM (#34871384)
You can do it once, but probably not every day.
Re:Running large language models like ChatGPT on a single GPU by Ajedi32 on Monday February 20, 2023 @02:34PM (#34871885)
Why would you want to retrain it from scratch every day? Stable Diffusion doesn't do that either.
Re:Running large language models like ChatGPT on a single GPU by paxys on Monday February 20, 2023 @02:43PM (#34871983)
Because things happen every day. If ChatGPT wants to compete with Google, staying up to date with recent events is the minimum bar.
Re:Running large language models like ChatGPT on a single GPU by Ajedi32 on Monday February 20, 2023 @02:52PM (#34872106)
You wouldn't need to re-train from scratch for that, just fine-tune on the new data sources. I don't think constant re-training is the optimal strategy for that use-case anyway. Bing does it by letting the LLM search a more traditional web index to find the information it needs.
Re:Running large language models like ChatGPT on a single GPU by paxys on Monday February 20, 2023 @04:32PM (#34873200)
Okay but someone has to do the fine tuning. The code has to be updated. Parts of the training have to be redone. All of this has costs. It isn't a "do it once and forget about it" task that it is being touted as in this thread.
Re:Running large language models like ChatGPT on a single GPU by coldtea on Monday February 20, 2023 @04:53PM (#34873461)
>The code has to be updated

I'm pretty sure this is not how an LLM works.

>It isn't a "do it once and forget about it" task that it is being touted as in this thread.

That's neither here, nor there. Training the LLM itself is not a "do it multiple times per day if you want to compete with Google" thing as it has been stated in this subthread.

Re:Running large language models like ChatGPT on a single GPU by baobabKoodaa on Thursday February 23, 2023 @08:23AM (#34910207)
> > The code has to be updated

> I'm pretty sure this is not how an LLM works.

You can say that about any software. "You can use this software perfectly well without ever updating it." Sure, you can do that, but typically people have lots of reasons to update software. LLM isn't magic in this sense. An LLM does not mysteriously update its own code if you just wish hard enough. If you want to continue the development of the LLM then you need to make changes to the code, just like with any other software.

Re:Running large language models like ChatGPT on a single GPU by simonw on Monday February 20, 2023 @02:59PM (#34872169)
That's not necessary. Look at how a Bing works: it's a LLM which can trigger searches, and then gets fed the search results back to it as part of the prompt.

I wrote about one way to implement that pattern here: https://simonwillison.net/2023/Jan/13/semantic-search-answer...

Re:Running large language models like ChatGPT on a single GPU by coldtea on Monday February 20, 2023 @04:53PM (#34873452)
That's not what the training is about.

Things happen everyday, but languages and words and their associations don't change in any measurable way every day...

This is not like web crawling...

Re:Running large language models like ChatGPT on a single GPU by baobabKoodaa on Monday February 20, 2023 @02:59PM (#34872171)
Well maybe not every day, but having a short feedback loop and the ability to run your code multiple times with different variations is generally considered to be a prerequisite for software development. If you actually want to keep developing the model, you need the funding to be able to train it more than once.
Re:Running large language models like ChatGPT on a single GPU by coldtea on Monday February 20, 2023 @04:50PM (#34873430)
>but having a short feedback loop and the ability to run your code multiple times with different variations is generally considered to be a prerequisite for software development

This is not "software development" in general, this is LLM training.

It's not like you're building some regular app, api, or backend.

Re:Running large language models like ChatGPT on a single GPU by baobabKoodaa on Tuesday February 21, 2023 @03:19AM (#34878283)
If you are claiming that training a LLM literally only one time is enough and there is no need to train it more than once, you are wrong. The researchers who created OPT didn't go into a basement for 12 months, then come out, train their model once, hit publish, and go to coffee. That is a fantasy. Likewise, if a CS student wants to dabble in this research, they need the ability to train more than once.

I'm not gonna engage in a rhetorical argument about whether this should be called "software development" or "LLM development" or something else. That's unrelated to the question of how much training is required.

Re:Running large language models like ChatGPT on a single GPU by coldtea on Tuesday February 21, 2023 @04:04AM (#34878630)
>If you are claiming that training a LLM literally only one time is enough and there is no need to train it more than once, you are wrong.

No, I'm rather claiming that what you claimed is wrong in the context of LLM training: "Well maybe not every day, but having a short feedback loop and the ability to run your code multiple times with different variations is generally considered to be a prerequisite for software development".

LLM training is not the same as writing a program and "running your code with different variations". For LLM you don't need to quickly rerun everything with some new corpus - it would be nice, but it's neither a prerequisite, not even crucial for any current use.

Hell, it's not even a "prerequisite" in programming, just good to have. Tons of great programs have been written with very slow build times, without quick edit/compile/build/run cycles.

Re:Running large language models like ChatGPT on a single GPU by baobabKoodaa on Tuesday February 21, 2023 @05:13AM (#34879170)
I wasn't talking about running the same code with a new corpus. For that kind of use case one can simply fine tune the pretrained model. The example I gave was "if a CS student wants to dabble in this research".

You said "LLM training is not the same as writing a program and running your code with different variations". How do you think these LLMs were made, seriously? Do you think Facebook researchers sat down for 12 months and wrote code non stop without compiling it once, until the program was finished and was used to train the LLM literally only one time?

Re:Running large language models like ChatGPT on a single GPU by Dylan16807 on Tuesday February 21, 2023 @10:04PM (#34891110)
I would expect them to use small sizes for almost all the testing.
Re:Running large language models like ChatGPT on a single GPU by baobabKoodaa on Wednesday February 22, 2023 @02:51AM (#34892868)
Yes. There _is_ a need to train LLMs more than once, and training is prohibitively expensive, so you need workarounds such as training on a small subset of data, or a smaller version of the model. We're not yet at the point where a CS student on consumer hardware could afford to do this kind of research.
Re:Running large language models like ChatGPT on a single GPU by Dylan16807 on Wednesday February 22, 2023 @12:06PM (#34898719)
> We're not yet at the point where a CS student on consumer hardware could afford to do this kind of research.

Okay. But I was saying someone with millions of dollars to spend could do it. And then another poster was arguing that millions of dollars was not enough to be viable because you need lots of repeated runs.

Nobody was saying a student could train one of these models from scratch. The cool potential is for a student to run one, maybe fine tune it.

Re:Running large language models like ChatGPT on a single GPU by baobabKoodaa on Thursday February 23, 2023 @08:20AM (#34910163)
Here is the upthread comment I was responding to:

> Why would you want to retrain it from scratch every day?

I was explaining why someone might want to retrain it more than once (although not literally every day).

Re:Running large language models like ChatGPT on a single GPU by taneq on Monday February 20, 2023 @09:23PM (#34875691)
To summarize this discussion, we went from "this might mean we don't need a fleet of $10k+ GPUs to even run a LLM" to "yeah but an individual couldn't train one every day though". These goalposts are breaking the sound barrier.
Re:Running large language models like ChatGPT on a single GPU by idiotsecant on Monday February 20, 2023 @03:18PM (#34872371)
Is there information out there about how much it cost (in time or human-hours) to do the additional training necessary to make chatGPT? I am genuinely curious what the scale of the effort was.
Re:Running large language models like ChatGPT on a single GPU by mensetmanusman on Monday February 20, 2023 @03:59PM (#34872826)
VCs are funding $100,000,000 AI compute efforts now, so it might be something like that.
Re:Running large language models like ChatGPT on a single GPU by bitL on Monday February 20, 2023 @10:45PM (#34876221)
Any larger crypto enthusiast with a bunch of 3090s and a solar farm can do it for nearly free (assuming fixed expenses paid by Eth already...)
Re:Running large language models like ChatGPT on a single GPU by tarr11 on Monday February 20, 2023 @01:24PM (#34871017)
Wonder if someone would be willing to start an open source project where we could crowdsource donations for training, and people could possibly donate their GPU usage for it.
Re:Running large language models like ChatGPT on a single GPU by polishdude20 on Monday February 20, 2023 @01:37PM (#34871178)
There's gotta be something like this already. Like a SETI @ Home type of thing .
Re:Running large language models like ChatGPT on a single GPU by mryab on Monday February 20, 2023 @01:55PM (#34871420)
There is! See https://petals.ml/ for inference of models like BLOOM-176B over the internet or https://arxiv.org/abs/2301.11913 and https://arxiv.org/abs/2206.01288 that show you how to do pretraining from scratch in the same setting. Disclaimer: I'm a coauthor of these systems (including the one in OP)
Re:Running large language models like ChatGPT on a single GPU by exebook on Monday February 20, 2023 @03:26PM (#34872464)
Amazing work! If I had a GPU, I'd join. I know similar project for text-to-image: https://aqualxx.github.io/stable-ui/
Re:Running large language models like ChatGPT on a single GPU by efreak on Tuesday February 21, 2023 @09:59PM (#34891080)
https://github.com/aqualxx/stable-horde-notebook

My only problem with stable horde is that their anti-cp measure involves checking the prompt for words like small, meaning I can't use a nsfw-capable model with certain prompts (holding a very small bag, etc). That, and seeing great things in the image rating and being unable to reproduce because it doesn't provide the prompt.

Re:Running large language models like ChatGPT on a single GPU by scottmf on Monday February 20, 2023 @01:45PM (#34871295)
That’s what Stability AI has been doing… There are already open source LLMs the size of GPT-3 such as OPT and Bloom
Re:Running large language models like ChatGPT on a single GPU by ipsum2 on Monday February 20, 2023 @02:50PM (#34872078)
No they haven't. Stability AI is funded by the founder and VC money, not crowdsourcing.
Re:Running large language models like ChatGPT on a single GPU by gaogao on Monday February 20, 2023 @01:24PM (#34871030)
Meta has released the model weights for OPT-175B, which is used in the paper. There's also a lot of full release LLMs from other labs on the way as well.
Re:Running large language models like ChatGPT on a single GPU by stavros on Monday February 20, 2023 @03:21PM (#34872409)
Are there any that perform anywhere close to GPT-3?
Re:Running large language models like ChatGPT on a single GPU by jejeyyy77 on Monday February 20, 2023 @07:07PM (#34874667)
Stable Diffusion was behind DALLE, but has since surpassed it. Don't hear anyone talking about DALLE anymore.
Re:Running large language models like ChatGPT on a single GPU by neilmovva on Monday February 20, 2023 @03:41PM (#34872631)
While OPT-175B is great to have publicly available, it needs a lot more training to achieve good results. Meta trained OPT on 180B tokens, compared to 300B that GPT-3 saw. And the Chinchilla scaling laws suggest that almost 4T tokens would be required to get the most bang for compute buck.

And on top of that, there are some questions on the quality of open source data (The Pile) vs OpenAI’s proprietary dataset, which they seem to have spent a lot of effort cleaning. So: open source models are probably data-constrained, in both quantity and quality.

Re:Running large language models like ChatGPT on a single GPU by mensetmanusman on Monday February 20, 2023 @03:50PM (#34872734)
It’s fun to think about a few billion weights being the difference between useless and gold.
Re:Running large language models like ChatGPT on a single GPU by tiborsaas on Monday February 20, 2023 @04:17PM (#34873042)
Looking at my bank account I can relate :)
Re:Running large language models like ChatGPT on a single GPU by Miraste on Monday February 20, 2023 @08:49PM (#34875481)
OPT-175B isn't publicly available, sadly. It's available to research institutions, which is much better than "Open"AI, but it doesn't help us hobbyists/indie researchers much.
Re:Running large language models like ChatGPT on a single GPU by generalizations on Tuesday February 21, 2023 @08:50AM (#34881093)
I wonder when we'll start putting these models on the pirate bay or similar. Seems like an excellent use for the tech. Has no one tried to upload OPT-175B anywhere like that yet?
Re:Running large language models like ChatGPT on a single GPU by cma on Tuesday February 21, 2023 @01:23PM (#34884737)
It could go on the clear net since trained weights aren't subject to copyright.
Re:Running large language models like ChatGPT on a single GPU by naillo on Monday February 20, 2023 @01:23PM (#34871009)
There are some open source LLM models already such as the one this repo is running and mentioning like OPT-175B
Re:Running large language models like ChatGPT on a single GPU by JoshCole on Monday February 20, 2023 @01:19PM (#34870955)
No, it isn't astronomical. It is smaller than that. Still large, but not astronomical.
Re:Running large language models like ChatGPT on a single GPU by ipsum2 on Monday February 20, 2023 @02:49PM (#34872067)
Have you tried training a large model before? If not, you're probably discounting how difficult and expensive it is.
Re:Running large language models like ChatGPT on a single GPU by coldtea on Monday February 20, 2023 @04:56PM (#34873487)
Well, for those that trained the largest one atm, it cost them in the order of 10 million dollars (actually less).

That's how much some tech companies pay for catering.

Hell, that's in the order of a single socialite's wedding costs.

Re:Running large language models like ChatGPT on a single GPU by JoshCole on Monday February 20, 2023 @10:19PM (#34876042)
At Voyager's speed it would take approximately 749,000,000 years to reach Canis Major Dwarf. OpenAI was founded in 2015. So it has been eight years. 749,000,000 - 8 = 748,999,992. 1.06809079e-8% of the time of a random astronomical time; rounded, that is about, uh, 0.00%ish.

I mean, don't get me wrong. It is a very expensive project. It just isn't astronomical. Anyone reading this and thinking - oh I could never do that even in hundreds of millions of years - that would be wrong. If you won the lottery or just made good financial decisions you could do a project comparable to this instead of getting a very nice house in the Bay Area.

Re:Running large language models like ChatGPT on a single GPU by leesec on Monday February 20, 2023 @03:22PM (#34872414)
No it isn't. Stable Diffusion is less than 200 grand to train.
Re:Running large language models like ChatGPT on a single GPU by huijzer on Monday February 20, 2023 @03:26PM (#34872465)
According to Christopher Potts (Stanford Professor and Chair, Department of Linguistics, and Professor, by courtesy, Department of Computer Science), training a large language model costs about 50 million [1].

[1]: https://youtu.be/-lnHHWRCDGk?t=637

Re:Running large language models like ChatGPT on a single GPU by nl on Monday February 20, 2023 @07:48PM (#34874987)
Yeah this is way wrong, unless counting the salaries of everyone involved for a few years in the lead up while writing software that ended up being used

https://bigscience.huggingface.co/blog/bloom was trained with a $7M grant, and that was the first time they'd done it (so there was a lot of failures).

Re:Running large language models like ChatGPT on a single GPU by anononaut on Monday February 20, 2023 @03:25PM (#34872460)
I heard it was $4MM alone in AWS compute time.
Re:Running large language models like ChatGPT on a single GPU by speedgoose on Monday February 20, 2023 @03:31PM (#34872530)
This number seems to match the $200k, if you take into account the cloud margins of our favourite counterfeit products reseller.
Re:Running large language models like ChatGPT on a single GPU by postalrat on Monday February 20, 2023 @03:30PM (#34872520)
So about 40k on your own machines.
Re:Running large language models like ChatGPT on a single GPU by inciampati on Monday February 20, 2023 @04:34PM (#34873237)
It does make it seem like a box of H100s will easily be able to make an interesting open LLM.
Re:Running large language models like ChatGPT on a single GPU by jejeyyy77 on Monday February 20, 2023 @07:06PM (#34874655)
Crowd source the training costs - leaving some profit for the project owner. Open source the models.
Re:Running large language models like ChatGPT on a single GPU by nl on Monday February 20, 2023 @07:27PM (#34874829)
There are current open source projects working on training their own LLMs.

I'm aware of one very credible one that has applied for a TPU grant from Google worth under $200K to train the whole model.

I think laion.ai will probably get their first with their fleet of A100s though.

Re:Running large language models like ChatGPT on a single GPU by eternalban on Monday February 20, 2023 @08:03PM (#34875133)
A few million dollars. Kickstart the project, get 100 a head and 100,000 backers. Also check with Uncle Sam and see if there are any grants that can be used for this. Start a campaign and get rich concerned people to donate. Jeff may also want to show AWS can also train AI so maybe even get a break there an Amazon can get some nice PR. The list of possibilities seems extensive given the price tag of $12MM and upside of a fully public GPT.
Re:Running large language models like ChatGPT on a single GPU by pavelstoev on Monday February 20, 2023 @11:45PM (#34876716)
It does not have to be. We have optimizations for all kinds of workloads - https://CentML.ai
Re:Running large language models like ChatGPT on a single GPU by worldsayshi on Tuesday February 21, 2023 @04:46PM (#34887919)
> Cost to train is still astronomical.

It sounds like something that could/should/would be crowdfunded?