News for hackers. Stuff that matters.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by leetharris on Wednesday October 11, 2023 @04:45PM (#37850030)
For applications that aren't latency sensitive my company has found that Apple hardware inference is far less expensive than the competition when calculating for electricity usage. I wish they would make a cloud offering.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by crooked-v on Wednesday October 11, 2023 @05:00PM (#37850189)
You could always rack mount some Mac Minis.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ninkendo on Wednesday October 11, 2023 @05:26PM (#37850450)
It’s sad that racking and maintaining your own physical hardware is becoming such a lost art… I appreciate the up-front simplicity of cloud offerings as much as anyone, but there’s something to be said for owning your own hardware and avoiding the continual rent payments you’re sending the cloud providers.

The wisdom is that cloud providers are better at infra than you, and that the economies of scale make it better to piggy back on what they’re doing, but… AWS is the most profitable part of Amazon for a reason. They’re overcharging you.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by cherryswitch on Wednesday October 11, 2023 @05:37PM (#37850568)
Sometimes the flexibility and time savings is worth the added upfront cost. Similar to how companies like to hire consultants or lease office space. Being able to walk away is better for short term, because companies value profits in the short term.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ilc on Wednesday October 11, 2023 @05:58PM (#37850787)
For most orgs: AWS is not overcharging IMHO.

When you look at the cost of the hardware + hosting. Yes, it certainly looks and feels that way.

But if you've dealt with corporate IT, and had to deal with 3-6 month lead times on getting hardware, or politics to get your hands on hardware to get stuff done.

AWS is cheap. It gives you velocity.

If your company is large enough that it can offer the elasticity of resources that Amazon offers or even 1/4 of it... and you have an IT org that will let it happen. Yes, AWS is a waste.

But with AWS... when a project dies, you can wipe its costs out, people won't hold onto hardware so they have hardware for the next project, etc...

Trust me. I've been IT, I can spec and build rack systems. I am a software dev. And I've been a dev most all my career.

For 90%+ of orgs... they don't have the maturity and skills to handle that type of infra without substantially distracting from their primary business.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ttt3ts on Wednesday October 11, 2023 @07:21PM (#37851637)
I find at AWS I am always wasting engineer time optimizing dumb things. Do you know how much a TB of ram costs? Or 10TB of blazing fast NVME costs? Less than $5K. How much does that cost at AWS?! This is not even considering bandwidth which AWS overcharges soo much. Yet I waste time.

Also, maintaining servers is not hard at a proper data center. It is often more hands off than the migrations cloud providers force on their customers.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by wredue on Wednesday October 11, 2023 @09:16PM (#37852380)
Yeah. Also, to be honest, we still have process and approvals to get through to spin up AWS stuff.

It’s not like process disappears just cause you’re not on your own hardware. Infra is still its own team with its own budgets poking and prodding at every damn turn for every little thing till rejecting your requests, you escalate and then have a 4 week battle over needing the space.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by JCharante on Thursday October 12, 2023 @04:41AM (#37854831)
Really? At my old company each division had its own budget and account and then you’d be an iam member of an account and spin up services under that account, but there’s no central authority to send a request to. There were tools to analyze underused services across all accounts (like EC2 instances constantly under 2% cpu load meaning they were flagged for downsizing if possible).
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ilc on Thursday October 12, 2023 @11:54AM (#37858936)
Then your company should have stayed on prem.

If you are paying the price of being on prem, which is really lack of ability to provision and de-provision infra quickly. There's little point to the cloud, unless you just have no infra to begin with (small companies).

I'm in a small firm now. I can't imagine having an approval process to spin up a few instances to run my tests and spin them down after. That'd be silly.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by sitkack on Wednesday October 11, 2023 @07:34PM (#37851749)
I work in cloud and you sound like a shill.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ilc on Wednesday October 11, 2023 @08:37PM (#37852148)
More a realist. If you have the scale to go on prem. Do it.

Most firms don't. Or don't have the skills.

Also, the cloud can help an IT project recover from errors. Let's say, I'm about to buy 500k of hardware to setup some storage. I get my requirements, I architect it, do my design work, and then buy the hardware. I have to over provision a bit because of reality and human error... But when I discover that the requirements, shift 2mo in my project, and I've already ordered the hardware... I may be hosed.

This isn't hypothetical, this is what happens. Things evolve and shift. The cloud allows for more agility. If your firm is large enough, or has its stuff together enough, go for it on-prem.

I've got 20+ years on prem.. I've seen it fail all over. I've seen cloud be a mess too. But if you told me to clean up one. I'll take the cloud.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by throwaway2990 on Wednesday October 11, 2023 @09:10PM (#37852353)
Anyone who thinks the blanket statement “cloud is expensive” really doesn’t know what they are talking about.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by benreesman on Wednesday October 11, 2023 @08:17PM (#37852054)
Getting good results on AWS/GCP is neither easy nor simple: it’s a different set of headaches.

It’s still a win for a lot of use cases and I still do it quite often, but the meme that it’s this “click and you’ve just hired the best ops team in the world to work for you” and so the 50-500% markup is actually a bargain is horseshit. A Bizon box in your living room fucks AWS up on flops/$ on most instance types and pays for itself in 30 days.

It is one of the best ops teams on Earth: but they’re working for you like the Google search team is working for the user.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by mannyv on Wednesday October 11, 2023 @08:34PM (#37852134)
The problem with using a cloud provider is that you still need to know what you're doing.

Your application isn't going to magically become HA/DR. You still have to make it that way, from your application design/coding up through the deployment.

I mean, if you're not storing your session IDs in a data store that's reachable by all the nodes behind your load balancer then no amount of infrastructure is going to save you.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by TheNewsIsHere on Thursday October 12, 2023 @10:27AM (#37857655)
A great illustration of this is the GitHub outage a few years back. They had a fairly well distributed application layer but the database topography at the time didn’t consider the failure mode, even though the application layer did.

That’s a realistic scenario no matter whether you’re bare metal, building out your own cloud, or using someone else’s. No amount of AWS/GCP/Azure/et al marketing changes that.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ilc on Wednesday October 11, 2023 @08:42PM (#37852188)
And when your comcast link dies, GG man. Oh, what about when you drop a drive?

Yes, you have to learn things to goto the cloud, and I won't say it is all roses, it ain't. But... AWS is less likely to fsck it up.

If you have the constant load to burn the flops 24x7x365... go for it. If you have the ops team to do it... go for it.

If you don't... take a bit of time and learn the cloud which is much easier than getting on-prem right.

Especially for smaller firms, this isn't even a close call IMHO.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ndriscoll on Wednesday October 11, 2023 @11:44PM (#37853287)
Back in the day, Google was an innovator by using lots of cheap commodity servers instead of a few expensive ones and just accepting failures as a fact of life. I wonder 25% seriously whether there's an opportunity for a similar mad genius move to pay for business class fiber at a half dozen remote employee's homes across the country and just have a good replication/failover strategy. 24/7 on call isn't that big of a deal if you just have to go into your basement to swap a drive. Going to be on vacation? Don't be the primary site while you're out.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by benreesman on Thursday October 12, 2023 @02:31AM (#37854092)
People like vast.ai are making moves in this geberal direction FWIW if you’re passionate about it.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ChrisMarshallNY on Wednesday October 11, 2023 @09:48PM (#37852565)
For me, I prefer hosted/cloud, preferably managed.

I’m quite capable of setting up whole server stacks. I did it for years, but I stopped, some time ago, and consider myself to be, for want of a better word, incompetent at being a modern admin.

I think I’d screw the pooch, so I prefer that someone who does it every day, handle it.

But I write Swift code, every day, so I’m not incompetent at everything.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by civilitty on Wednesday October 11, 2023 @09:52PM (#37852600)
In order to reliably get an 8x A100 or 8x H100 pod from AWS you need to get 1 year reserved instances. That 1 year costs significantly more than an equivalent LambdaLabs pod at retail, leaving tens of thousands per pod for hosting and management. Per pod. An engineer breaks even managing a dozen of them!

There’s so much demand companies are renting boxes that they literally pay for with their commitments plus an AWS tax. The numbers are bonkers right now and if you don’t want to go with a reserved instances, on demand is like $40/hr (last I checked). Cloud servers were never that much cheaper but now with GPUs the total cost of rental has exceeded total cost of ownership by a significant amount.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by solardev on Wednesday October 11, 2023 @06:00PM (#37850824)
Where does this stop? Do you produce your own electricity? Farm your own food? Make your own silverware and shoes? Sometimes it's just easier to outsource the things you don't want to (or aren't good at) doing yourself.

If I wanted to host a website, sure, I can build a server out of parts and negotiate with my ISP and get a business pipe and handle all caching and such. Or like I can pay a provider $5/mo and get better performance and reliability with no management overhead. Yeah, maybe over 5 years I'd save more money doing it myself... but it's not worth the time.

If I wanted to generate a photo or a dozen, or a few paragraphs of text, that's like a few cents worth of cloud AI. Maybe low single-digit dollars. Or I could spend thousands on fat GPUs or a Macbook, spend forever training it, and still end up with a sub-par result.

AWS is profitable not just because they're overcharging you but because they are providing a hugely useful service for millions of businesses that don't want to deal with that infrastructure themselves, any more than they'd want to manage their own plumbing or electrical grid or roads and bridges leading to their office. DIY makes sense if you're doing it as a hobby or if your scale is so big that you would incur significant savings to in-house it, but for millions of small and medium businesses, it's just not the most practical approach. Nothing wrong with that.

I mean, it's like saying development is such a lost art... why hire a dev if you can learn to code yourself? Sure, but not everyone wants to, can, or has time.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by Spooky23 on Wednesday October 11, 2023 @07:48PM (#37851844)
Depends on the financials.

My employer has generated its own electricity and steam for decades.

For a small business - different story.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ClimaxGravely on Wednesday October 11, 2023 @10:08PM (#37852697)
I hate to say this but it has gotten to the point where I'm starting to farm some of my own food (I'm starting to get fed up with produce quality issues in my hometown).

Still haven't started on the silverware or shoes yet.

I do agree with you though. If you are a non-tech company or a company that lacks the human resources you might as well go with the cloud.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by solardev on Thursday October 12, 2023 @01:58AM (#37853893)
That's not anything to be ashamed of. It's awesome you grow your own food!
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by sbarre on Wednesday October 11, 2023 @06:04PM (#37850887)
The question I've often heard asked when deciding on build vs buy (which can apply to cloud vs. bare metal) is:

Are we in the business of building, maintaining and operating <thing to build> or do we want to buy that as a service instead and focus on our actual core business?

There's more to the cost of building and operating than just the hard costs.

Retaining good modern IT talent is getting harder and harder - and I'm not even talking about salaries.. You need a whole department including strong leaders who can hire, train, and lead the right people, etc..

This is something most companies wouldn't even know where to start with.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by hamandcheese on Wednesday October 11, 2023 @06:13PM (#37850986)
I don't think you need a whole department to rack a few minis and run some buildkite agents on them.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by londons_explore on Wednesday October 11, 2023 @06:28PM (#37851156)
You need one good motivated sysadmin.

But if you can motivate that same sysadmin to spend his skills on something more directly benefiting your company, then you should still buy it in.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by c0pium on Wednesday October 11, 2023 @07:19PM (#37851625)
Now your business depends on that one person, congratulations. Hope they don’t realize that their skills are better suited to working at AWS/Azure etc. for 2x the money. Which they are.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by londons_explore on Wednesday October 11, 2023 @07:29PM (#37851705)
It's not core stuff. If the one sysadmin leaves, you buy in a solution.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by c0pium on Thursday October 12, 2023 @12:28AM (#37853494)
I mean, fair enough I guess. Why play the OpEx vs CapEx game when you can just pay both.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by hamandcheese on Wednesday October 11, 2023 @07:32PM (#37851734)
I think you need one motivated developer who likes to tinker with hardware for a few hours a month.

Given how popular homelabs are, I don't think this would be too hard to find.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by lghh on Wednesday October 11, 2023 @09:56PM (#37852633)
I don’t want to build a business around a dev who likes to “tinker with hardware”.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by hamandcheese on Thursday October 12, 2023 @12:56AM (#37853590)
Why the scare quotes? It's a skill like any other. Startups are built by folks who wear many hats.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by mannyv on Wednesday October 11, 2023 @08:40PM (#37852177)
It depends on how important it is to you.

You can throw a bunch of boxes in a closet and it'll work. A surprisingly large amount of the early Internet was "a spare box under my desk."

The problems start when they become part of your critical path and you're on vacation and nobody knows WTF is happening.

I mean, it's a risk. If you're OK with that risk then go for it.

It's really about the politics of your office.

If everyone is OK with the idea that the box is in some closet somewhere that's fine. I've been part of a bunch of startups where we were running infrastructure on spare hardware. Sure it's not HA, but we didn't need it...or it was at least HA enough for what we needed.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by hamandcheese on Wednesday October 11, 2023 @09:01PM (#37852302)
Yeah, to be clear I wouldn't advocate this route for your core product. But running CI workers? Sure. Especially macs, which have onerous usage restrictions in the cloud that negate most of the elasticity benefits you might otherwise see.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by sbarre on Thursday October 12, 2023 @11:18AM (#37858424)
Sure, like any other high-level fictional situation you can surely come up with many valid fictional counter-points of your own, but cloud hosting is popular for a reason.

And I think in most cases companies want to focus their employees and efforts on their core business, and if that doesn't include setting up and maintaining hardware in the long-term, then you don't build, you buy.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by whalesalad on Wednesday October 11, 2023 @06:18PM (#37851035)
You’ve never had to drive to the colo at 3am huh?
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ninkendo on Wednesday October 11, 2023 @07:41PM (#37851804)
No, I had proper OOB access and could do any kind of power cycling or remote console access from my desktop.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by hnfong on Wednesday October 11, 2023 @09:28PM (#37852436)
Never seen a hardware failure, I see.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ninkendo on Thursday October 12, 2023 @06:31AM (#37855433)
The snark is getting a bit tiring. No, plenty of hardware failures but we had redundancy. Our availability wasn’t dependent on how fast I cold drive to the data center at 3am. Drive dies, who cares, there are plenty of hot spares, we’ll deal with it during business hours. Server dies, who cares, there are lots of them. We have remote hands too, so simple hardware replacement is something you can get cheap onsite labor to do.

If your operations halt until some poor sysadmin has to drive to the colo, you are absolutely doing it wrong.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ClimaxGravely on Wednesday October 11, 2023 @09:59PM (#37852649)
I'm a former build engineer and used to do everything on prem and I gotta say I miss it (not being a build engineer, the on prem experience). Since those days pretty much every company I've worked at moved their CI/CD to the cloud and I gotta say it feels so much slower, even when working from home.

I remember twice switching from an in-house jenkins/teamcity/whatever type of CI to Azure devops and the thing I remember the most was how much longer it took a build to complete as well as the massively longer time downloading a build from Azure vs from within the office. Even when working from home the on-prem stuff was faster.

The thing is, the build/devops teams seem to be about the same size in both cases. It's just kind of worse in pretty much every case when we do CI in the cloud.

Notes

- My experiences are largely for game development so the build times and artifact sizes can be quite large.

- I've only ever had CI/CD experience with Azure, I've not tried other cloud providers

- Since this is game development and we're using CI downtime is more acceptable than other cases. That said, I don't remember much downtime when I was working as a build engineer. I have seen periods of 1-2 hours of downtime once in a blue moon but then again I've seen that with Azure. In both cases it wasn't so much the setup but a build script deployment issue.

Also being able to cool off in the rack room when it's a hot day is always a treat :)

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by nre on Wednesday October 11, 2023 @05:48PM (#37850679)
Interestingly enough I was actually discussing this with a friend (who works in enterprise IT) the other day. Basically rack servers are purpose build for the task, with hot swappable components, redundant power/storage, multiple NICs, ECC, remote management, and so on. They come with enterprise support and can be easily maintained in the field.

Meanwhile a Mini cluster is literally a bunch of mini pcs in a rack, and idk if Apple even supports this kind of industrial use. While it's a quality product the Mini isn't really designed for the datacenter.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by xienze on Wednesday October 11, 2023 @06:38PM (#37851273)
> and idk if Apple even supports this kind of industrial use. While it's a quality product the Mini isn't really designed for the datacenter.

I think they know of it and tacitly approve of this use case, as evidenced by the Mac Mini having the same form factor for ages. They’re well aware that a lot of people use Minis (and Studios now) in data centers, and that the Mini footprint is sort of “standardized” at this point.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by nxobject on Wednesday October 11, 2023 @08:05PM (#37851968)
IIRC, Apple did indeed have a server SKU for the Intel Mac mini at some point.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ytch on Wednesday October 11, 2023 @08:41PM (#37852181)
It's called Xserve:

https://en.wikipedia.org/wiki/Xserve#Intel_Xserve

But since Apple discontinued Xserve and macOS Server, they seems like don't care about this business anymore.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by astrodust on Wednesday October 11, 2023 @09:38PM (#37852507)
There was also a "server" model Mini but it was very short lived and was basically a regular Mini with the "Server" software pre-installed, something that you could just throw in via the App Store with one click anyway.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by TheNewsIsHere on Thursday October 12, 2023 @10:51AM (#37858016)
It had a five year run and saw four different hardware models. It included two hard drives instead of either one hard drive and an optical drive, or just one hard drive (after they ditched ODDs).

Mac OS X Server was its own operating system originally. It was still the same core OS, but had a ton of additional servers built in. Non-exhaustively, they included IPSec VPN, email, calendaring, wiki, SMB and AFS file shares (including support to act as a Time Machine backup destination), LDAP, DNS, and software update caching before it came to macOS proper. The Server app released via the App Store was a shadow of Mac OS X Server.

These were quite popular in small professional offices like law firms.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by astrodust on Thursday October 12, 2023 @08:22PM (#37864909)
I saw it save the ass of a client who had one, as they got robbed and all their desktop computers, mostly iMacs, were stolen. The Mini was as much as lost in the wiring in the network closet and was overlooked, so everything had backups.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by MenhirMike on Wednesday October 11, 2023 @09:48PM (#37852566)
They actually had a Mac Mini Server as well for a bit. It made sense because it had a second hard drive instead of an optical drive and came with a Mac OS X server, back when that was a standalone $499 product: https://support.apple.com/kb/SP586

(Not sure what differentiates the later model Mac Mini Servers from the regular Mac Minis, since Mac OS X Server just became a $19 App Store purchase, and optical drives were no longer a thing in Mac Minis)

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by TheNewsIsHere on Thursday October 12, 2023 @10:44AM (#37857899)
I have one of the 2009 Mac mini Servers running Ubuntu 22.04 LTS like a champ. It’s still a great machine. Upgrading the HDDs to SSDs was a bit of a chore, but doable.

They discontinued the Mac mini Server line in October 2014, which was still sold with two drives instead of one. Configurable to order with SSDs by that time.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by selectodude on Wednesday October 11, 2023 @09:11PM (#37852362)
That 10GbE NIC option on the low end Mac Mini was a dead giveaway.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by GravityLab on Thursday October 12, 2023 @09:46AM (#37857043)
I have a base-model m1 Mac Mini and it's a beast. I'm using it as my build/deploy server and also as a back-end server (for running jobs) for the prototype I'm working on. I also do development on it when I want to use my big monitor rather than my laptop. And I listen to music and run Cookie Clicker at the same time while doing development.

Got three databases up and running too. It's a beast. I'd definitely consider self-hosting with a few Mac Minis, that would be fun and they're really cute, sleek devices too. I paid $650 for it and consider it a great deal. Definitely should've gotten it with more than 8gb of ram but I got it to try it out and haven't yet really needed to upgrade to a unit with more memory.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by whalesalad on Wednesday October 11, 2023 @05:06PM (#37850267)
Amazon has Apple servers for rent. There is also https://macminicolo.net and https://www.macminivault.com
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by nathancahill on Wednesday October 11, 2023 @05:59PM (#37850808)
I'm so happy MacMiniColo is still around. I had projects hosted there when they were just getting started. They've stayed true to their mission. I love that their website still feels like Wordpress 3.0.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by hamandcheese on Wednesday October 11, 2023 @06:12PM (#37850974)
They aren't accepting new Mac minis for colocation. Which means if you want to go from, say, 8gb to 16gb of ram then that's an extra $90 a month for the privilege.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by jzombie on Thursday October 12, 2023 @05:58AM (#37855226)
I am using https://www.macminivault.com for colocation.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by cyberge99 on Wednesday October 11, 2023 @06:06PM (#37850903)
There’s also MacStadium.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by detourdog on Wednesday October 11, 2023 @06:19PM (#37851052)
I have a fiber connection, the space and the experience to run a Mac mini colo. If people are really interested. I would want to do it as a co-operative that helps with the expense of the physical location.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ruph123 on Wednesday October 11, 2023 @07:56PM (#37851911)
MacMiniColo and MacStadium merged afaik.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by JCharante on Thursday October 12, 2023 @06:18AM (#37855350)
Doesn’t macos require you to rent it out with a one month minimum? At that point just buy the hardware
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by api on Wednesday October 11, 2023 @05:06PM (#37850266)
Apple really should license the M chip IP to someone to make a server chip out of it, or do it themselves. It's money on the table for them and would not cannibalize their Mac business at all. It's a very nice core.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by mschuster91 on Wednesday October 11, 2023 @05:10PM (#37850300)
Fully agree. It's time for some serious competition not just against Intel/x86 but also in the ARM space.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by dzhiurgis on Wednesday October 11, 2023 @05:35PM (#37850542)
IDK about ML part, but equivalent performing Ryzen mini pc cost me 3x less over m1 macbook (yes im aware you get more with macbook)
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by solardev on Wednesday October 11, 2023 @06:04PM (#37850886)
It's easy to outperform Apple Silicon on pure power, but what about efficiency & heat? (like FLOPS/watt or whatever). Does anything else come close yet?
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by blacksmith_tb on Wednesday October 11, 2023 @06:34PM (#37851217)
That matters a lot in a laptop, but not so much in a 1U rack? Not that datacenters love heat, but the competition isn't extra hot, it's just hotter than Apple Silicon?
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by solardev on Wednesday October 11, 2023 @06:36PM (#37851238)
I guess it depends on what you're doing with them? If you're running them 24/7 to train or model something, the energy costs might add up. Even if you're not, having more efficient chips might mean more data centers don't need as complex cooling equipment.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ska on Wednesday October 11, 2023 @07:34PM (#37851754)
A 1U rack is a small machine, but a few hundred of them+ in a constrained space is a different story. At larger scales, moving electricity in and heat out are usually the defining factors.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by dzhiurgis on Wednesday October 11, 2023 @08:54PM (#37852263)
You're quite right - 6800H TDP is 45W, M1 is 30W
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by GeekyBear on Wednesday October 11, 2023 @06:46PM (#37851340)
> IDK about ML part, but equivalent performing Ryzen mini pc cost me 3x less over m1 macbook

When running an ML workload, the Nvidea A100 has massive GPU compute resources, and a large amount of GPU local high bandwidth memory, so it's ideal, but is nowhere near low cost.

A consumer Ryzen chip is inexpensive, but lacks in both memory bandwidth and GPU resources.

The M2 Ultra has access to way more RAM than consumer GPUs, many times the memory bandwidth of a Ryzen (800GB/s vs Ryzen 7 1800X at 40 GB/s) with a large amount of local GPU resources.

Even stepping up to a Threadripper Pro would only get you a quarter of the memory bandwidth, and those aren't exactly cheap either.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by sitkack on Wednesday October 11, 2023 @07:36PM (#37851766)
There are multiple riscv based solutions that will be out in 12-18 months. But for now, getting Apple hardware is the best solution.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by starcraft2wol on Wednesday October 11, 2023 @07:56PM (#37851906)
you can buy rack mount Mac pro
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by Aurornis on Wednesday October 11, 2023 @09:54PM (#37852617)
Apple silicon is great for low power desktops and laptops, but they don't actually have groundbreaking performance relative to what we've got in the server space. If you dropped the M2 Ultra from the $4000 into a server, it would perform about the same as a $1500 AMD 7950X3D based server (this is a common budget server setup with ECC) in CPU tasks. Stick a common GPU in there and you're running circles around the M2 Silicon in GPU tasks.

The Apple Silicon is great at really low power work, but if you dial desktop or server GPU power limits down they also become quite efficient. The marginal cost of electricity is cheaper than buying more hardware, so nVidia and others run their parts deep into the diminishing returns part of the curve to maximize performance at the expense of power efficiency.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by cyber_kinetist on Wednesday October 11, 2023 @10:12PM (#37852725)
What Apple Silicon brings to the table is not simply just performance, but a large amount of unified memory that can be used by the GPU (which are needed for inference of large deep neural networks like LLMs).

A top-of-the-line Mac Studio will give you 192 GB of unified RAM in less than $7000. Meanwhile a H100 from NVIDIA with 80 GB of VRAM will cost you like $30000...

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by api on Thursday October 12, 2023 @09:21AM (#37856787)
If the software were a little better Apple Silicon would be by far the best rig for DIY LLM research or training.

192GiB RAM is enough to train or inference Falcon 180B in RAM at 8-bit resolution.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by smoldesu on Wednesday October 11, 2023 @05:44PM (#37850625)
For applications that aren't latency sensitive, I run inference on a free 4 core Ampere server from Oracle. Once you ditch the "fast" prerequisite, a lot of hardware becomes viable.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by garciasn on Wednesday October 11, 2023 @06:56PM (#37851432)
We went with a M2 Studio with maxed out RAM because we simply cannot get reliable GPU availability with cloud providers and for $6000 (with tax) we can have the equivalent VRAM of ~2 80GB GPUs instead of paying $5/hr for the pleasure.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ttt3ts on Wednesday October 11, 2023 @07:08PM (#37851543)
With a 70B param model how many tokens/second?

Did the math and assuming 100% util and equal performance (which is certainly not the case) payback on your Mac is 9 months...

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by garciasn on Wednesday October 11, 2023 @07:27PM (#37851693)
You need to pay for dedicated because they’re generally unavailable in the moment. So it’s more like 45 days, if we’re only talking about a single GPU—but we’re talking about ~2x.
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ttt3ts on Wednesday October 11, 2023 @07:38PM (#37851778)
How many tokens a second? Really trying to figure out viability.

4x NVIDIA A100 at lamda labs is $4.40 an hour and I really have not had an issue getting them.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by hnfong on Wednesday October 11, 2023 @09:23PM (#37852416)
Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by ttt3ts on Wednesday October 11, 2023 @09:45PM (#37852548)
Thanks! Ya, I opted for dual 3090 for my workstation (keeping full LLM in VRAM is crit) was wondering what lift was for M2.

OP implied that there were workloads where it out competes renting in terms of cost. Was hoping it was true for something than a single user interactive session (which can be done a lot cheaper)

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by chmod775 on Thursday October 12, 2023 @03:35AM (#37854462)
Nowadays GPUs factory defaults try to squeeze out the last bit of performance for a huge cost in power.

You can run them at half the power usage and only lose a fraction of the performance - at least in gaming. Try for AI tasks.

Re:M2 Ultra can run 128 streams of Llama 2 7B in parallel by macwebcomputing on Thursday October 12, 2023 @11:47AM (#37858828)
macweb.com is also a solution :-)