News for hackers. Stuff that matters.
Re:Facebook LLAMA is being openly distributed via torrents by pavlov on Friday March 03, 2023 @07:00AM (#35008397)
It’s interesting that these models are both massively expensive to produce and self-contained to a degree that you can distribute the end product in a torrent.

This has not been the case for most commercial software for the past 20 years, during the cloud era. If you could steal a dump of random Facebook source code, it would be 99% useless because it’s so closely tied to the infrastructure. There’s almost nothing you could usefully run on your own PC or server VM.

But these ML models are like neutron stars of computation density. You can’t really peek inside to see what’s going on either. An unknown stolen model’s properties would need to be discovered by experimentation.

Re:Facebook LLAMA is being openly distributed via torrents by seydor on Friday March 03, 2023 @07:01AM (#35008418)
> massively expensive to produce and self-contained to a degree that you can distribute the end product in a torrent.

So, like movies or software

Re:Facebook LLAMA is being openly distributed via torrents by phyalow on Friday March 03, 2023 @07:05AM (#35008445)
Or Microsoft Office...
Re:Facebook LLAMA is being openly distributed via torrents by justinclift on Friday March 03, 2023 @07:27AM (#35008628)
Or Linux distro's.
Re:Facebook LLAMA is being openly distributed via torrents by bayindirh on Friday March 03, 2023 @07:45AM (#35008830)
Or BSD distros.
Re:Facebook LLAMA is being openly distributed via torrents by Brian_K_White on Friday March 03, 2023 @08:35AM (#35009383)
These are actually trivial and silly examples. The bulk of really valuable commercial code is not self contained or portable like those.

Where is the torrent with a runnable copy of paypal, or amazon?

Re:Facebook LLAMA is being openly distributed via torrents by bayindirh on Friday March 03, 2023 @09:01AM (#35009743)
I guess you have never compiled a Linux/BSD distribution from scratch and supported it alongside its infrastructure and lead its maintenance process.

Even without that, if you want downloadable and runnable software platforms, look to public Git repositories. Some of the people who have no financial motivation will release what they do alongside installation procedures and quality of life scripts and architecture documentation.

Most of the open source platforms doesn't publish this documentation and doesn't make installation easy to keep a sizeable moat and protect the platform they have developed, hence this is why we have a division between "Free Software" and "Open Source".

In short, "The bulk of really valuable commercial code" is self contained, but not open source, or if open source it's not Free Software and made deployable for other parties. Otherwise it loses monetary value in the eyes of the people who develop that for the monies.

Otherwise we have have Elasticsearch incident, where they pivot and move to "Source Available" model to protect their castle.

Re:Facebook LLAMA is being openly distributed via torrents by Brian_K_White on Friday March 03, 2023 @09:04AM (#35009771)
"I guess you have never compiled a Linux/BSD distribution from scratch"

You guess, and so perhaps do other things as well, with poor acuity.

The incalculable value of open source software has approximately no bearing on this assertion.

Yes I love linux and bsd too I'm not defacing your religion. I'm actually quite Stallmanesque in making my own life harder by only using ooen source software as much as possible and being super fun a family gatherings talking about it.

You sure nailed that one.

Re:Facebook LLAMA is being openly distributed via torrents by bayindirh on Friday March 03, 2023 @09:11AM (#35009844)
Nice, it makes us two tech leads then.
Re:Facebook LLAMA is being openly distributed via torrents by justinclift on Friday March 03, 2023 @09:10AM (#35009834)
Heh, on that note:

https://news.ycombinator.com/item?id=34525936

Looking down that page, there are some valid magnet links.

Re:Facebook LLAMA is being openly distributed via torrents by candiddevmike on Friday March 03, 2023 @07:44AM (#35008822)
Or a car
Re:Facebook LLAMA is being openly distributed via torrents by moffkalast on Friday March 03, 2023 @07:46AM (#35008842)
But you wouldn't download one. Would you?!?
Re:Facebook LLAMA is being openly distributed via torrents by Vrondi on Friday March 03, 2023 @09:50AM (#35010294)
Not yet.
Re:Facebook LLAMA is being openly distributed via torrents by moffkalast on Friday March 03, 2023 @10:50AM (#35011159)
It's treason then.
Re:Facebook LLAMA is being openly distributed via torrents by seydor on Friday March 03, 2023 @10:14AM (#35010642)
Where s the download link?
Re:Facebook LLAMA is being openly distributed via torrents by koheripbal on Friday March 03, 2023 @08:02AM (#35008991)
Or a copy of Windows or Office source code.
Re:Facebook LLAMA is being openly distributed via torrents by gambiting on Friday March 03, 2023 @08:33AM (#35009362)
I don't think that's right - even if you had the full source code for either of those, it's extremely unlikely you'd be able to build them on your own machine.
Re:Facebook LLAMA is being openly distributed via torrents by ddulaney on Friday March 03, 2023 @08:39AM (#35009432)
Building them would be a challenge, but probably not impossible. I’ve worked on a couple of C++ projects at a similar scale to Windows (millions of LOC) and the build systems were a major pain. But a determined engineer with the readme file and no other help could get it building in a week or so.

(This probably says more about how hard it is to build C++ than anything else)

Re:Facebook LLAMA is being openly distributed via torrents by DownGoat on Friday March 03, 2023 @08:51AM (#35009609)
I don't really think it is a language ting, just more of a project size thing.
Re:Facebook LLAMA is being openly distributed via torrents by willy_k on Friday March 03, 2023 @10:01AM (#35010444)
Well, it kind of is a language thing. Many newer languages (Rust and Go come to mind) are much more consistent in the way you interact with them as your project scales.
Re:Facebook LLAMA is being openly distributed via torrents by furyofantares on Friday March 03, 2023 @09:56AM (#35010379)
Some years ago someone that worked at Microsoft told me he didn't think any individual engineer who already works on Windows could ever get Windows building by themselves with just the code.
Re:Facebook LLAMA is being openly distributed via torrents by varispeed on Friday March 03, 2023 @10:59AM (#35011282)
That just shows their bias. If the code is complete, it's only a matter of time to figure out how to build it.

May not take hours, but determined engineer should be able to figure it out.

Re:Facebook LLAMA is being openly distributed via torrents by jedberg on Friday March 03, 2023 @12:22PM (#35012486)
I think you're being naive. Microsoft has spent 1000s of engineering years on their build system. You aren't going to just replicate that in a week.
Re:Facebook LLAMA is being openly distributed via torrents by great_psy on Friday March 03, 2023 @12:47PM (#35012800)
You’re also not trying to get a full CICD pipeline complete with unit/integration tests, crypto signatures, ability to flip features on and off with a click , monitoring of the cicd pipeline, scaled so 1000s of engineers can work at once etc
Re:Facebook LLAMA is being openly distributed via torrents by VHRanger on Friday March 03, 2023 @01:11PM (#35013087)
As a user said below, you wouldn't need cross platform support, incremental builds, tests to run, etc.

Just getting the code to compile, link, baking in assets, etc. For a single architecture is a much more reasonable goal.

I'd imagine it'd be on the scale of 1-3months for an engineer to get working full time, but large error bars around this figure

Re:Facebook LLAMA is being openly distributed via torrents by rvnx on Friday March 03, 2023 @03:49PM (#35014799)
Plus it already has been done before with Windows XP, without even any documentation and there is a guide on the internet on how to build Windows Server 2003.

This was done (if I remember right) when governments and big customers had access to the Windows source-code.

Re:Facebook LLAMA is being openly distributed via torrents by int_19h on Friday March 03, 2023 @07:41PM (#35016933)
Microsoft uses Azure DevOps for products as large as Visual Studio.
Re:Facebook LLAMA is being openly distributed via torrents by nicoburns on Friday March 03, 2023 @09:59AM (#35010433)
> But a determined engineer with the readme file and no other help could get it building in a week or so.

That's probably true, but I wouldn't be surprised if something like windows doesn't have a README file. And it does have build instructions they may well be in some wiki separated from the source code.

Re:Facebook LLAMA is being openly distributed via torrents by VHRanger on Friday March 03, 2023 @01:09PM (#35013055)
Fwiw C++ is hard to build specifically, but any large project with assets is a challenge to build.

Video games build systems are a thing onto themselves even taking the c++ issues out of the equation.

Hell even comparatively simole microservices in modern CRUD apps have resorted to docker to do away with pains of rebuilding stuff.

Re:Facebook LLAMA is being openly distributed via torrents by Palomides on Friday March 03, 2023 @09:03AM (#35009757)
there's 99% complete leaked windows xp source code that people have managed to compile
Re:Facebook LLAMA is being openly distributed via torrents by Kwpolska on Friday March 03, 2023 @12:15PM (#35012378)
There are even nice timelapse videos of that process: https://vimeo.com/464644850 (you’ll need a Vimeo account to see it, because Vimeo is weird like that. This was on YouTube originally, but it was taken down.)
Re:Facebook LLAMA is being openly distributed via torrents by YetAnotherNick on Friday March 03, 2023 @12:55PM (#35012904)
I think the comparison is windows ISO image, not the source code. Code used to train LLAMA is open source, but it still requires money to use that.
Re:Facebook LLAMA is being openly distributed via torrents by underwater on Friday March 03, 2023 @05:33PM (#35015954)
More like a compiled version of Windows.
Re:Facebook LLAMA is being openly distributed via torrents by spencerchubb on Friday March 03, 2023 @07:37AM (#35008738)
I fail to see how this is different from other software in that regard. If you have parameters but not the network architecture, then it's not very useful.
Re:Facebook LLAMA is being openly distributed via torrents by renonce on Friday March 03, 2023 @08:44AM (#35009528)
You do need to guess things like activation functions, number of attention heads, order of attention layers, etc. Often the parameter names reveal something about these.
Re:Facebook LLAMA is being openly distributed via torrents by krisoft on Friday March 03, 2023 @07:26AM (#35008619)
> It’s interesting that these models are both massively expensive to produce and self-contained to a degree that you can distribute the end product in a torrent.

I was trying to come to grasp with how much resource there is concentrated in one of these models. Somehow I come to the conclusion that it cost more than buying a jet airliner to train one of these models. And it is about the same order of money as commissioning and building a skyscraper in Manhattan. Is that correct approximately?

Re:Facebook LLAMA is being openly distributed via torrents by nodja on Friday March 03, 2023 @07:34AM (#35008694)
For anyone curious, it took 2048 A100 GPUs to train LLaMa, each GPU costs roughly $15k, facebook probably gets some sort of discount.

That's a $30Mil if you want to train at that scale. Also IIRC it took 23 days to train the biggest model. Someone else can do the power consumption cost calculations.

Re:Facebook LLAMA is being openly distributed via torrents by fancyfredbot on Friday March 03, 2023 @07:59AM (#35008963)
$30m training cost is too high. Amazon's p4d.24xlarge is $32.77 an hour for 8 A100 GPUs. 2048 A100 GPUs for 23 days costs $4.6m at that rate. You might even get a discount.
Re:Facebook LLAMA is being openly distributed via torrents by orbz on Friday March 03, 2023 @08:18AM (#35009172)
At the same time I guarantee you they didn’t get it right the first time. I’m sure there were multiple (both serially and in parallel) runs as they worked out kinks and tuned hyper parameters.
Re:Facebook LLAMA is being openly distributed via torrents by zamnos on Friday March 03, 2023 @11:25AM (#35011635)
Not to mention, the kind of expertise to run this for a major corporation doesn't come for free either? Facebook employs quite a few high profile ML researchers who undoubtedly make mid-high six figure salaries.
Re:Facebook LLAMA is being openly distributed via torrents by nodja on Friday March 03, 2023 @08:27AM (#35009279)
15k is the price to buy a GPU, not to run it, you'd have to account for electricity costs which isn't so straight forward.
Re:Facebook LLAMA is being openly distributed via torrents by ithkuil on Friday March 03, 2023 @08:32AM (#35009339)
The point was that if you only need to train once, then it's cheaper to rent the GPUs than to buy them. If you need to train it multiple times, then the cost of buying the GPUs is amortized among runs.

In any case the cost per run is going to be lower than 30m

Re:Facebook LLAMA is being openly distributed via torrents by iszomer on Friday March 03, 2023 @08:42AM (#35009486)
I'm sure that's the case. The latest sku I'm responsible for QC testing now contains 4x A100's in a 2U chassis. And oh man the number of QSFP ports it utilizes..
Re:Facebook LLAMA is being openly distributed via torrents by Godel_unicode on Friday March 03, 2023 @09:26AM (#35010008)
That’s something like a 50% premium over Azure, even before reservation discounts, that’s insane!

Edit: todays pricing looks like about 20% higher, still. How are these prices so different.

Re:Facebook LLAMA is being openly distributed via torrents by sofixa on Friday March 03, 2023 @09:52AM (#35010320)
Azure is generally a pretty terrible cloud (poor UX, very slow for anything, multiple highly critical cross-tenant security issues, etc.) far behind the market leader, AWS, so they have to compensate with pricing (same reason why Oracle Cloud is so reasonably price, they're already so far behind their usual pricing wouldn't make any sense).
Re:Facebook LLAMA is being openly distributed via torrents by brookst on Friday March 03, 2023 @08:33AM (#35009364)
Buying the GPU lets you amortize cost over years, probably 20-30 models of this size, at least. Probably better to use cost over time as a unit.

If an A100 costs $15k and is useful for 3 years, that’s $5k/year, $425/mo. 2048 A100’s cost $870k for a month.

Re:Facebook LLAMA is being openly distributed via torrents by Taek on Friday March 03, 2023 @08:38AM (#35009423)
Electricity costs are basically irrelevant because the cards are so expensive.

A100 cards consume 250w each, with datacenter overheads we will call it 1000 kilowatts for all 2048 cards. 23 days is 552 hours, or 552,000 kilowatt hours total.

Most dataceneters are between 7 and 10 cents per kilowatt hour for electricity. Some are below 4. At 10 cents, that's $53,000 in electricity costs, which is nothing next to $30 million in capital costs.

Re:Facebook LLAMA is being openly distributed via torrents by datadeft on Friday March 03, 2023 @09:49AM (#35010285)
> Electricity costs are basically irrelevant because the cards are so expensive.

You mean in terms of money. I think this is exactly the problem that we have in CS, nobody really cares about CO2.

Re:Facebook LLAMA is being openly distributed via torrents by CGamesPlay on Friday March 03, 2023 @10:43AM (#35011063)
No, I'm willing to bet the CO2 cost of the cards is also way higher than the electricity. Those things are built on the global supply chain, with materials potentially making multiple thousands of kms journeys between each step.
Re:Facebook LLAMA is being openly distributed via torrents by yunwal on Friday March 03, 2023 @11:58AM (#35012144)
Long term I also imagine it's much cheaper to run these large model trainings on renewables. It's a very centralized process that doesn't necessarily need 100% availability.

The manufacturing process, however, is totally decentralized, and NVIDIA mostly manufactures in China where coal is cheap.

Re:Facebook LLAMA is being openly distributed via torrents by verall on Friday March 03, 2023 @01:14PM (#35013134)
A100s are manufactured in Taiwan.
Re:Facebook LLAMA is being openly distributed via torrents by yunwal on Friday March 03, 2023 @03:06PM (#35014355)
True, but previous chips have been manufactured in China, and they’re also developing and manufacturing their successor to A100s (H100s) in China.

https://www.cnbc.com/2022/09/01/nvidia-says-us-government-al...

Re:Facebook LLAMA is being openly distributed via torrents by verall on Friday March 03, 2023 @05:24PM (#35015868)
That says "partially developed" in China. H100s will probably be manufactured in Taiwan just like other x100 chips.

All consumer SKUs that I know of are manufactured in China. By volume this is certainly the majority of manufacturing.

Re:Facebook LLAMA is being openly distributed via torrents by Taek on Saturday March 04, 2023 @06:55PM (#35025718)
I believe in terms of climate impact the chips (made in Taiwan) overwhelm everything else.
Re:Facebook LLAMA is being openly distributed via torrents by Taek on Saturday March 04, 2023 @06:58PM (#35025738)
Because the cards are so expensive, you really do want them running 24/7. The electricity is not a big deal for these really expensive chips
Re:Facebook LLAMA is being openly distributed via torrents by SSLy on Friday March 03, 2023 @11:18AM (#35011530)
I'm on some strong hopium that those DC's run on renewables or nuclear, green energy.
Re:Facebook LLAMA is being openly distributed via torrents by jedberg on Friday March 03, 2023 @12:23PM (#35012511)
Pretty sure Facebook uses green energy for their datacenter, so the CO2 cost should be nothing.
Re:Facebook LLAMA is being openly distributed via torrents by TaylorAlexander on Friday March 03, 2023 @01:12PM (#35013101)
I always feel there is an opportunity cost here though. If that green energy wasn’t being used for compute it could be available to heat someone’s home instead of them using dirty sources.
Re:Facebook LLAMA is being openly distributed via torrents by echoer_lyrist on Friday March 03, 2023 @02:16PM (#35013797)
US grid mix produces about 0.855 pounds of CO2 per kWh[0]. So 552,000 kWh 452,640 pounds of CO2 which is 205.31 metric tons. At a cost of $40 per tonne[1] of CO2 that works out to $8,212.40 which is still small compared to the capital cost of the cards.

[0] https://www.eia.gov/tools/faqs/faq.php?id=74&t=11

[1] https://www.pnas.org/doi/full/10.1073/pnas.1609244114

Re:Facebook LLAMA is being openly distributed via torrents by waffletower on Friday March 03, 2023 @04:30PM (#35015288)
AWS us-west-2 is housed in The Dalles and Prineville, Oregon. Not only are they near a massive wind farm in the Columbia Gorge, but also quite near the Columbia river's many hydro-electric dams. Facebook and Apple also have Prineville data centers. They are built there intentionally. Electricity at many data centers is quite carbon-lean.
Re:Facebook LLAMA is being openly distributed via torrents by lmeyerov on Friday March 03, 2023 @09:53AM (#35010333)
The comparison would be renting, not buying the GPUs

I believe capex <> opex is more 1:1 nowadays, so something feels off here...

Re:Facebook LLAMA is being openly distributed via torrents by visarga on Friday March 03, 2023 @09:01AM (#35009738)
It was 1M training hours, using the price of $12/h for a box with 8x NVIDIA A100 you get $1.5m
Re:Facebook LLAMA is being openly distributed via torrents by riku_iki on Friday March 03, 2023 @12:45PM (#35012784)
> Also IIRC it took 23 days to train the biggest mode

A100 costs $2/h, so it is $2M to train biggest model. Easily kikstart crowdfundable project.

Re:Facebook LLAMA is being openly distributed via torrents by minhazm on Friday March 03, 2023 @12:59PM (#35012956)
There's no reasonable way to get an estimate of what it actually costs FB. 1) The GPU's are not single use, they will amortize it over 3 yrs and there are other things that it will be used for that generate revenue. 2) The cost of the servers for these GPU's to run in with massive CPU, RAM, and storage requirements. 3) The overhead of building and operating all of that infrastructure in terms of people, electricity, cooling, etc. 4) The overhead of having dozens or hundreds of engineers & scientists who contributed to this.

One way you can distill the first three is to use AWS/Azure/GCP costs. But then you are still missing a major factor which is the humans that worked on it, and the human may very well exceed the hardware cost.

Re:Facebook LLAMA is being openly distributed via torrents by devmunchies on Friday March 03, 2023 @02:13PM (#35013762)
Plus there's a lot of highly specialized engineers required to keep all those GPUs up and running during training and the ML engineers who are skilled in deep learning + hardware, plus the systems for gathering/cleaning/labelling data. Gather enough engineers and now you need managers, PMs, etc.

At least $10 million/yr just for the talent.

Re:Facebook LLAMA is being openly distributed via torrents by sebzim4500 on Friday March 03, 2023 @07:32AM (#35008673)
No you are probably overestimating the cost by 1-2 orders of magnitude. GPT-3 probably cost under $5 million, and this model is smaller and there have been algorithmic improvements to training transformers since then.
Re:Facebook LLAMA is being openly distributed via torrents by krisoft on Friday March 03, 2023 @08:30AM (#35009321)
> No you are probably overestimating the cost by 1-2 orders of magnitude.

You are right! Wow. Thank you for correcting me.

> GPT-3 probably cost under $5 million,

Is that one training run or includes all the fiddling to find the right hyperparameters? Or there aren't many of those in these training or they are not that sensitive?

Re:Facebook LLAMA is being openly distributed via torrents by sebzim4500 on Friday March 03, 2023 @10:01AM (#35010456)
I think they probably did a lot of hyperparameter searching to train the smaller models and then extrapolated for the largest model, but I'm just guessing. OpenAI had a finite amount of money when they were training GPT-3, they likely do it differently now that inference costs are significant compared to training costs.
Re:Facebook LLAMA is being openly distributed via torrents by forgotOldLogin on Friday March 03, 2023 @08:38AM (#35009421)
In February 2018, OpenAI signed a two-year compute contract with Google that had a $63M minimum spend.

See last page of their most recent available audited financials. https://rct.doj.ca.gov/Verification/Web/Download.aspx?saveas...

Re:Facebook LLAMA is being openly distributed via torrents by dmix on Friday March 03, 2023 @09:11AM (#35009854)
So do they estimate how much computing power/time they will need and then find some upper tier minimum $ amount to get the maximum discount possible or getting a certain resource availability commitment from Google? That's an interesting accounting problem.
Re:Facebook LLAMA is being openly distributed via torrents by sva_ on Friday March 03, 2023 @07:30AM (#35008659)
The crazy thing is that all these models are just one local minimum, out of a staggering (unknown?!) number of such points on the plane.
Re:Facebook LLAMA is being openly distributed via torrents by basch on Friday March 03, 2023 @08:42AM (#35009488)
“Brute forcing a really inefficient approximation/estimator” is a good way to summarize it.

It’s like having an overfit equation to a sample of data points, instead of the simpler actual line they fall near.

They end up being black boxes, we have almost no idea how they work inside, and we have no idea how overtrained they are when something simpler could do the same thing.

Re:Facebook LLAMA is being openly distributed via torrents by kir-gadjello on Friday March 03, 2023 @10:35AM (#35010927)
Can "something simpler", for example, code correct function bodies from comments describing functions in natural language? I think people are too quick to dismiss the power of these models.
Re:Facebook LLAMA is being openly distributed via torrents by basch on Friday March 03, 2023 @11:20AM (#35011571)
I am by no means dismissing the power. They are created very chaotically, however. Spaghetti thrown at a wall. They are brute force approximations.

They are wasteful. If LLaMa 13B is as powerful as previous 65B models, that's a significant amount of unnecessary paramaters lost/pruned in just this iterative upgrade alone. How small can they go? The fewest parameters that get the job done 99% as well is the way to go.

There is also the difference between the rules and use of language being directly compressed into the model, vs all the information known to humans compressed into the model. A smaller model that ingests relevant information on the fly (more like Bing, that supplements itself with search), may be less wasteful and perform better.

The current models being released are chosen because "they work" not because they are least fit and most performant optimized.

Re:Facebook LLAMA is being openly distributed via torrents by sva_ on Friday March 03, 2023 @04:59PM (#35015616)
I don't think the term "brute forcing" is an adequate term to describe gradient descent. Brute forcing would be to try all random weights with no system imo.
Re:Facebook LLAMA is being openly distributed via torrents by tedeh on Friday March 03, 2023 @07:28AM (#35008637)
GPT-3 cost a few million dollars in compute to train from what I know.
Re:Facebook LLAMA is being openly distributed via torrents by londons_explore on Friday March 03, 2023 @07:12AM (#35008497)
If you were to steal a chunk of source code or a binary from meta/Google, you could probably get it running inside a few weeks effort.

Sure, the binary probably depends on a lot of internal proprietary infrastructure, but also most of that infrastructure is easy to write a mock implementation of, as long as you are happy for it to be in-ram, not multi-homed and don't need it to scale to billions of users.

Most of the binaries have a standalone mode for running on a developers PC with few/no dependencies anyway.

Re:Facebook LLAMA is being openly distributed via torrents by taldo on Friday March 03, 2023 @07:26AM (#35008623)
Good luck even getting a google3-based Hello World to compile. I don't remember the exact numbers, but just #including the most basic libs resulted in a O(100M) binary.

And anything more complex than that would probably have dependencies on so many fat client libs, so much infrastructure, and so many external services, that you'll need months-years to even make sense of them, let alone mock them up.

Re:Facebook LLAMA is being openly distributed via torrents by asah on Friday March 03, 2023 @07:24AM (#35008593)
-1: as an ex-googler, I can say it was hard enough for Google itself to get its code to run, given gonzo infrastructure assumptions, proprietary libraries/languages, etc.
Re:Facebook LLAMA is being openly distributed via torrents by rowanG077 on Friday March 03, 2023 @07:27AM (#35008626)
That speaks volumes of the code quality @ Google.
Re:Facebook LLAMA is being openly distributed via torrents by asah on Friday March 03, 2023 @07:52AM (#35008901)
sorry, but that's not how code works. It's true that code quality could be terrible but in fact Google is famous/notorious for extreme code review at the line-by-line granularity, plus comments, design docs and more.

The real issues are (again) in dependencies and complex tooling. You can have beautiful code and then in the middle of it, an ML inference call that assumes a crazy ML model and set of hardware to run it on.

Re:Facebook LLAMA is being openly distributed via torrents by rowanG077 on Friday March 03, 2023 @08:05AM (#35009034)
If your core logic is so dependent on environment state that it's impossible to get subsets running within multiple weeks of fulltime work then it's bad quality code.

Even just decent quality code keeps side effects isolated to the application fringe as much as possible.

Re:Facebook LLAMA is being openly distributed via torrents by ithkuil on Friday March 03, 2023 @08:38AM (#35009418)
It's a tradeoff.

Google has no incentives to allow an arbitrary component run standalone. Quite the contrary.

What they do get in return for the coupling is that they can evolve the common libraries and code patterns across the board (there are even automated code refactoring tools that help you do massive code changes, automating code review sessions across hundreds and hundreds of teams, with all changes tested against all reverse dependencies etc etc). All this allows for a level of internal code quality that is hard to see elsewhere.

Unless you really care a lot about that one requirement you seem to care about. In that case, yeah, you'd choose a different tradeoff.

Re:Facebook LLAMA is being openly distributed via torrents by owkman on Friday March 03, 2023 @08:26AM (#35009272)
Assume you got source for a game written in a proprietary game engine. If you don't have access to the game engine itself, nor the API documentation, etc, how long will it take to get this game running in your manner of choosing?

The infrastructure in these companies is a huge amount of scaffolding that's non-trivial to replicate.

Re:Facebook LLAMA is being openly distributed via torrents by fluoridation on Friday March 03, 2023 @08:46AM (#35009539)
Arguably it's not low quality code, but low quality system. Code can be correct, clear, and documented, and still be fragile and sensitive to platform configuration changes. E.g. "how many switches do I have to change in the build system before the code no longer builds?", "how many network jacks can I move this server over before I lobotomize the system?"
Re:Facebook LLAMA is being openly distributed via torrents by ibejoeb on Friday March 03, 2023 @08:22AM (#35009220)
You ought to be able to arrive at the same conclusion, then, with these LLMs. Without arrays of GPUs, it would take thousands of years to train one. Without a corpus of billions or trillions of words, one would produce output of very limited utility.

I think you have to consider that some things are systems, and it is the assembly of their components that imparts the true quality.

Re:Facebook LLAMA is being openly distributed via torrents by delecti on Friday March 03, 2023 @05:00PM (#35015627)
It's not poor code quality to depend upon available dependencies.
Re:Facebook LLAMA is being openly distributed via torrents by dgacmu on Friday March 03, 2023 @09:03AM (#35009764)
The effort to open source tensorflow was at least a person year worth of work to extract it from google3. Required reimplementing a bunch of stuff.
Re:Facebook LLAMA is being openly distributed via torrents by hiddencost on Friday March 03, 2023 @07:25AM (#35008610)
This is just wrong.
Re:Facebook LLAMA is being openly distributed via torrents by version_five on Friday March 03, 2023 @07:45AM (#35008832)
Finding a sha256 hash with N leading zeros is basically arbitrarily computationally expensive but could be written on a piece of paper. I don't see training an ML model as an egregious example of concentrating compute power
Re:Facebook LLAMA is being openly distributed via torrents by greggsy on Friday March 03, 2023 @07:51AM (#35008887)
It’s not the power they’re referring to, it’s the density of information and effort that went into its creation.
Re:Facebook LLAMA is being openly distributed via torrents by version_five on Friday March 03, 2023 @07:53AM (#35008910)

  But these ML models are like neutron stars of computation density
I guess I interpreted that differently
Re:Facebook LLAMA is being openly distributed via torrents by TomSwirly on Friday March 03, 2023 @08:16AM (#35009155)
"The osmium of computational density" just doesn't have the same ring to it.
Re:Facebook LLAMA is being openly distributed via torrents by brookst on Friday March 03, 2023 @08:36AM (#35009388)
Your SHA256 hash won’t be able to summarize text, write poems, or make up plots for books.

The crazy thing about these models is that the compute power going into them is at least somewhat reversible.

Re:Facebook LLAMA is being openly distributed via torrents by nerpderp82 on Friday March 03, 2023 @09:47AM (#35010260)
Are you saying they are like compact memoizers? What Stable Diffusion can fit into that model is amazing.
Re:Facebook LLAMA is being openly distributed via torrents by brookst on Friday March 03, 2023 @09:58AM (#35010411)
Certainly they retain not just information but compute capacity in a way that other expensive transformations don’t. I’m hard pressed to think of another example where compute spend now can be banked and used to reduce compute requirements later. Rainbow tables maybe? But they’re much less general purpose.
Re:Facebook LLAMA is being openly distributed via torrents by nerpderp82 on Friday March 03, 2023 @10:34AM (#35010919)
HashLife seems like a scale free memoizer, https://en.wikipedia.org/wiki/Hashlife

How Well Can DeepMind's AI Learn Physics? https://www.youtube.com/watch?v=2Bw5f4vYL98 https://arxiv.org/abs/2002.09405 https://sites.google.com/corp/view/learning-to-simulate/home

Discovering Symbolic Models from Deep Learning (Physics) https://www.youtube.com/watch?v=HKJB0Bjo6tQ

Scientific Machine Learning: Physics-Informed Neural Networks with Craig Gin https://www.youtube.com/watch?v=RTPo6KgpvBA

Steve Brunton's channel is even more mind blowing than Two Minute Papers, https://www.youtube.com/@Eigensteve

Not only can we bank computation, speed up physical simulations by 100x but I also saw some work on being able to design outcomes in GoL (game of life).

There was a paper on using a NN to build or predict arbitrary patters in GoL, but I can't find it right now.

Re:Facebook LLAMA is being openly distributed via torrents by icrbow on Saturday March 04, 2023 @06:45AM (#35020158)
I don't know abut NN prediction, but apparently you can bootstrap anything* with strategically placed 15 gliders.

https://btm.qva.mybluehost.me/building-arbitrary-life-patter...

Re:Facebook LLAMA is being openly distributed via torrents by version_five on Friday March 03, 2023 @10:36AM (#35010942)
It would be interesting to see an analysis of this. I see your point - otoh is there a reason to believe that more computation is being "banked" than say matrix inversion, or other optimizations that aren't gradient descent based?

The large datasets involved let us usefully (for some value of useful) bank lots of compute, but it's not obvious to me that it's done particularly efficiently compared to other things you might precompute.

For converged model training, training is often quite inefficient because the weight updates decay to zero and most epochs are having a very small individual effect. I think for e.g. stable diffusion, they dont train to anywhere near convergence so weight updates have a bigger average effect. Not sure if that applies to llms

Re:Facebook LLAMA is being openly distributed via torrents by SSLy on Friday March 03, 2023 @11:20AM (#35011562)
When SD1.4 dropped, someone here described how those models are a form of lossy compression.
Re:Facebook LLAMA is being openly distributed via torrents by int_19h on Friday March 03, 2023 @07:45PM (#35016967)
Back when wavelet compression was still being developed, there was a joke that the best compression algorithm is "give an image to a grad student and tell them to figure out the best transform".
Re:Facebook LLAMA is being openly distributed via torrents by nerpderp82 on Friday March 03, 2023 @08:19PM (#35017166)
That was a specific fitting/optimization step and not the whole algorithm.

Fractal Image Compression, https://en.wikipedia.org/wiki/Michael_Barnsley https://www.abebooks.com/servlet/BookDetailsPL?bi=3131987970...

Re:Facebook LLAMA is being openly distributed via torrents by IceHegel on Friday March 03, 2023 @09:07AM (#35009805)
This is a great comment.
[dead]
Re:Facebook LLAMA is being openly distributed via torrents by shagie on Friday March 03, 2023 @11:13AM (#35011457)
Under Feist Publications, Inc., v. Rural Telephone Service Co. ... it gets tricky.

From Wikipedia:

> The ruling of the court was written by Justice Sandra Day O'Connor. It examined the purpose of copyright and explained the standard of copyrightability as based on originality.

> The case centered on two well-established principles in United States copyright law: that facts are not copyrightable, and that compilations of facts can be.

> "There is an undeniable tension between these two propositions", O'Connor wrote in her opinion. "Many compilations consist of nothing but raw data—i.e. wholly factual information not accompanied by any original expression. On what basis may one claim a copyright upon such work? Common sense tells us that 100 uncopyrightable facts do not magically change their status when gathered together in one place. … The key to resolving the tension lies in understanding why facts are not copyrightable: The ″Sine qua non of copyright is originality."

> ...

> The standard for creativity is extremely low. It need not be novel; it need only possess a "spark" or "minimal degree" of creativity to be protected by copyright.

> In regard to collections of facts, O'Connor wrote that copyright can apply only to the creative aspects of collection: the creative choice of what data to include or exclude, the order and style in which the information is presented, etc.—not to the information itself. If Feist were to take the directory and rearrange it, it would destroy the copyright owned in the data. "Notwithstanding a valid copyright, a subsequent compiler remains free to use the facts contained in another's publication to aid in preparing a competing work, so long as the competing work does not feature the same selection and arrangement", she wrote.

> The court held that Rural's directory was nothing more than an alphabetic list of all subscribers to its service, which it was required to compile under law, and that no creative expression was involved. That Rural spent considerable time and money collecting the data was irrelevant to copyright law, and Rural's copyright claim was dismissed.

---

And so, my (I am not a lawyer) take on this is that the numbers of the model are not copyrightable. The selection of the source material is... kind of. This gets into a "a recipe is not copyrightable, yet a recipe book is"

The model may, however, be a trade secret. ( https://en.wikipedia.org/wiki/Trade_secret )

Re:Facebook LLAMA is being openly distributed via torrents by m3kw9 on Friday March 03, 2023 @09:37AM (#35010137)
The config itself would be enough to lock anyone out
Re:Facebook LLAMA is being openly distributed via torrents by Vrondi on Friday March 03, 2023 @09:49AM (#35010289)
Whole new vistas open up to possible retaliation for piracy. Imagine how a bootlegged AI could have been set up to not just steal your info but manipulate you into ruining your life as revenge for bootlegging it...
Re:Facebook LLAMA is being openly distributed via torrents by starkd on Friday March 03, 2023 @09:55AM (#35010372)
Is the current model capable of updating itself? Or will the user be fed answers from a static model that never learns anything new?
Re:Facebook LLAMA is being openly distributed via torrents by great_psy on Friday March 03, 2023 @12:48PM (#35012816)
You now have the ability to teach it new things. Given you have the compute resources
Re:Facebook LLAMA is being openly distributed via torrents by mcbuilder on Friday March 03, 2023 @12:56PM (#35012921)
I don't know about about this model, but usually with these ML models you download the static weights, but nothing is stopping you from fine tuning them to your needs/new information.

It's not automatic, would require some ML Engineering, but nothing is stopping you if you have the Pytorch graph and weights.

Re:Facebook LLAMA is being openly distributed via torrents by shultays on Friday March 03, 2023 @09:59AM (#35010427)
I mean the answer to the life is 42 but it took 7.5 million years for an advanced alien tech computer with the size of a building to calculate that

/s

Calculating things takes time and unrelated to output size. There are NP problems that simply outputs true or false yet requires more computational power than the universe can support

Re:Facebook LLAMA is being openly distributed via torrents by btbuildem on Friday March 03, 2023 @10:26AM (#35010821)
It also does require formidable infra to just run these giant models. I wonder if now-useless crypto mining farms could be repurposed.
Re:Facebook LLAMA is being openly distributed via torrents by adam_arthur on Friday March 03, 2023 @10:55AM (#35011218)
Which is why it will be very difficult to monetize them with similar margins to SaaS era businesses.

The bar to competition is far lower, as already evidenced by the plethora of AI products being put forward. Its a race to the bottom on pricing

Re:Facebook LLAMA is being openly distributed via torrents by tudorw on Friday March 03, 2023 @02:23PM (#35013867)
is there an ai to fuzz 'alien' models and map their 'reactions' yet?
Re:Facebook LLAMA is being openly distributed via torrents by cvccvroomvroom on Friday March 03, 2023 @09:02PM (#35017399)
How are they produced?

There's an ass ton of hardware that might otherwise be idle.

Re:Facebook LLAMA is being openly distributed via torrents by heap_perms on Monday March 06, 2023 @04:43AM (#35039178)
> are like neutron stars of computation density

I really like that expression.