Latest / Agentic Conversations (formally mlops.community) / MLOps vs ML Orchestration // Ketan Umare // #183
Transcript
- 0:00And my name is Caitlin and the CEO of Union.
- 0:04I intermittent fast so I have coffee black every morning.
- 0:09Just say a shot of espresso with hot water.
- 0:14Welcome back to the MLM Community Podcast.
- 0:17I'm your host, Dimitrios. Today we're talking with Kate
- 0:19Tan and we have a special guest, host Stephen, who is not here
- 0:24with me to do the normal banter of the intro, but he jumps in
- 0:28about 2345 minutes into the conversation.
- 0:31You will notice that he is there asking questions.
- 0:34It's very special because he is a user of flight, he works at
- 0:40Vault, the delivery service, and we actually did a podcast.
- 0:44Specifically with him recently, so go check it out.
- 0:47And he is an avid user of the flight platform and he built the
- 0:53mill platform at Vault with flights.
- 0:56So I thought it was only right that we get him to come on here
- 0:59and chat with Katan and really dive into some of these
- 1:03questions that we had with Keaton.
- 1:06Ohh man, this is like his third time on and I enjoy talking to
- 1:09him every time he comes on, especially because he.
- 1:15Talked about some things that he didn't necessarily talk about a
- 1:18lot in the first two times on which are how he feels building
- 1:22a startup. You know he left lift after
- 1:26building out the platform there and he decided to start union,
- 1:31which is what? Light is based on and he really
- 1:35talked about a building union being a company builder.
- 1:40And then he also talked about how they differentiate between
- 1:45what features need to go into Flight, the open source project,
- 1:50and what features he feels needs to go into Union.
- 1:53I thought it was fascinating looking at the differences there
- 1:56and how he felt and how he prioritises one over the other
- 2:00because flight has this gigantic community.
- 2:03Around it, it's doing some great things and a lot of people are
- 2:06asking for certain features and Keaton has to field these
- 2:10features and say is the product going to go in that direction?
- 2:13Are we going to invest resources into the open source product
- 2:18having these capabilities or? Are we going to create these
- 2:22capabilities inside of Union? And the long and short of it
- 2:26was, was that when he's thinking about creating?
- 2:30Features inside of Union, it is because they are more enterprise
- 2:36use case features. I can't knock them for it.
- 2:39You gotta get those enterprises happy.
- 2:42They're the ones that are paying the bills, so I understand how
- 2:45that works. This conversation was great,
- 2:48though, because it's rare that you get.
- 2:51Someone who is an avid user of a tool alongside of the creator of
- 2:56the tool to get a little banter going back and forth.
- 3:01Hope you all enjoy this podcast with Ketan and my co-host Steven
- 3:08And if you like it or you know someone else that would like it
- 3:11would mean the world to me if you share it with a friend,
- 3:14Let's get into it. And a huge shout out to Union
- 3:17and Ketan for being a sponsor of the ML OPS community.
- 3:20They've been one of the first sponsors that we've ever had.
- 3:24And so it is from the. Bottom of my heart.
- 3:30Thank you. For anyone that is looking to
- 3:32get some of them pipelining tools, hit up Caton.
- 3:35Just tag them in the slag or check the link in the
- 3:39description. Get yourself started with
- 3:41flight. It is fully open source.
- 3:43Or if you're that enterprise use case, go ahead and drop them a
- 3:47line and tell them you want to give them a boatload of money.
- 3:49See you. Katon man, this is your third
- 3:58time on the show. I don't know of many people that
- 4:01have been offered. The ability to come back, I know
- 4:07one time, but two times. So this is a huge accomplishment
- 4:12and I'm humbled. We can only reserve it for
- 4:15someone like yourself, man. It is an absolute honour, as
- 4:19always, to have you on here and today.
- 4:23I want to talk about so much. I mean one of the last times
- 4:26that you were on here we. Went.
- 4:29Down a huge rabbit hole, talking all about orchestration.
- 4:32I want to go back down that rabbit hole and hear what's
- 4:35changed since the last time you were here because.
- 4:38Large language models came out and that boom happened.
- 4:42But I also want to know like. We talked a lot about air flow
- 4:47and how airflow isn't enough. Last time I want to retouch on
- 4:51some of that stuff and I was doing a little bit of research
- 4:56for this episode and I I went back and I listened to some of
- 5:00the snippets from the last time that we talked.
- 5:02So I may put you on the spot and hold you to some of the stuff
- 5:06that you said, but she had these points before the hand.
- 5:10Dude, I'm gonna call out the elephant in the room, which is
- 5:14you've had a company now for 2 1/2 years.
- 5:17You are a founder. You're full on startup founder.
- 5:20How's it feel? That's a great question.
- 5:23I actually, I was talking to my wife the other day and I told
- 5:27her he may not work, he may fail, but I still would be
- 5:31happy. At 50, when I look back, I'll be
- 5:34like, hey, I did something cool. I tried building a crazy
- 5:39product. I tried building a company.
- 5:42I tried building a community IIH like 10 years.
- 5:45During that year, you know, it's like I was it Steve Jobs or Jeff
- 5:55Bezos. I think regret minimization and
- 5:57I think probably I feel like I realised very great like I
- 6:01literally think that we especially in the tech industry
- 6:06we sometimes go in the last decade I've seen excess and it's
- 6:14very easy to get caught in that excess and when I started the
- 6:17company I told my wife you probably not gonna make any
- 6:20money and and high. Expectations Crazy, that is.
- 6:25That is nuts. But I did started to make money.
- 6:29I started to actually try and do something really different and
- 6:35it it took guts and I had to dig deep and I was able to so and
- 6:42I'm continuing to and which is fantastic.
- 6:44I still want to come in every day and do more, which is why I
- 6:47look forward to and unfortunate to have done this.
- 6:52Also. Of course, I've been very lucky.
- 6:55Yeah, I I think this is this is the best experience of my life.
- 6:59Dude, so you set the expectations high with your wife
- 7:03so that it wouldn't be too hard to break them, huh?
- 7:07I'm imagining you guys have made some money and so she's already
- 7:11probably very happy for you now. Yeah, we we we worked for 10
- 7:17years. So we're we're OK, right.
- 7:19We, you know, that's the other thing, we live with minimal
- 7:23stuff and that's you're happy. But yeah, when I look back I
- 7:26realise that many people are still stuck and that's how we
- 7:29hire. Do we're like if you just come
- 7:31to me and say like, hey, it's all about competitions like
- 7:33startups start for you? Now that's yeah, go find a job
- 7:37at one of the big Fang companies and there are great jobs.
- 7:40Again, nothing against that. And that's the right thing for
- 7:42you to do in the right stage of for like, you should know it.
- 7:45If you know it, don't do it for the money.
- 7:47Do it for having a fun ride. Yeah, so you're on this ride
- 7:52now, man. You've built quite the community
- 7:55with. Flight and.
- 7:59I want to hear about how that has been because me as a
- 8:01community guy and especially in the ML space, what have you
- 8:06noticed since open sourcing flight back in the day and then
- 8:11getting crazy ML engineers like Steven to come and start using
- 8:15it? And all this in between?
- 8:19Yeah, this is like the Rocky cutscene right now.
- 8:22You're in it. Oh my It's like companies need
- 8:32money to do almost anything. Communities don't need money.
- 8:36Come come. Communities need passion and
- 8:38love. If you join the slack and still
- 8:40ask a question, I will still be answered and you'll probably see
- 8:44me answering all the time. And that really, I don't know
- 8:49what we did. What we did is we did not build
- 8:52a toy in open source. We did not lie to the community.
- 8:56We consistently tried to improve it and we tried to help where we
- 9:00can. Yes, there were people who had
- 9:02different expectations and those people did not join the
- 9:05community. But most of the people who
- 9:06stayed on hopefully, I've been happy and I've, I've talked to
- 9:10them consistently. They're some of the earlier
- 9:13folks and and they're still using.
- 9:16They're still happy they're still looking forward.
- 9:18They still want to move on and and it's it's growing and it's
- 9:22going from one company to another and the best sign of the
- 9:27community that I have had is when a person leaves a company A
- 9:32and then goes to be like hey I missed this product, Can you
- 9:35please add this to this company and and and that that's been
- 9:38happening consistently now right a lot of times.
- 9:42So and it's slower growth probably because it's organic,
- 9:47but it's more rooted growth and the growth that sustains.
- 9:53Yeah, definitely. I mean I can talk from my point
- 9:56of view here is that when I joined flats like flights, the
- 9:58slight shadow, actually it was like it was very nice and you
- 10:01know, people had a lot of empathy as well and like you
- 10:03know, people were taking the time as well to explain things,
- 10:07even things that might be simple for you, Kate, and for example,
- 10:10you know, still take the time to explain it.
- 10:13The the flight community has a lot of empathy and is also
- 10:16understanding. To be like, yeah, there are
- 10:18people behind it and. And yeah, they they are trying
- 10:22to build something. So yeah, and then then what we
- 10:25realised is the type of people come in right now it's, it is a
- 10:28range right? People with played with people
- 10:31who have not played with Kubernetes.
- 10:33People who you know experts in certain fields like Mill but do
- 10:38not know anything about data. Everyday people who are data
- 10:40ideas we're trying to work out. And so it's a huge mix, like
- 10:45some people have never even tried Docker, right?
- 10:47And then they'll come and ask us like how do we do it.
- 10:49So we ended up building like certain things like image spec
- 10:52that was essentially to answer or help folks who do not know
- 10:57this and still get the maximum out of it.
- 10:59The what we have learned is that it community you don't choose
- 11:02right. It's not like, again, a company
- 11:04you can choose who you work with in a community you don't
- 11:08initially, and probably you don't want to because you want
- 11:12that diverse. If that misses, our people are
- 11:16getting one-dimensional feedback and that one-dimensional
- 11:18feedback will potentially put it in the wrong place.
- 11:22Is that it's an echo chamber. Yeah, that's such a good point.
- 11:26I mean one thing that you mentioned there is that people
- 11:29are coming from every angle and one angle that they're coming
- 11:32from is the data engineering angle and I imagine.
- 11:37They're very much thinking, hey, I'm gonna run this ML
- 11:42orchestration just like I do my regular ETL.
- 11:45What happens then? Yeah, it's fun.
- 11:51Then they say where does the backfill button for like OK hold
- 11:54on, what's the backfill? Ohh, why is that?
- 12:00There are no time, always existent.
- 12:02And I'm like OK, time is relative and time is not.
- 12:06You turn into the philosopher Kate John.
- 12:09Yeah. All of a sudden, like, shit.
- 12:11I didn't know I had to go down that road.
- 12:13I'm gonna have to put on my white beard.
- 12:16And to start, yes, nobody. Absolutely right.
- 12:20Actually, I still keep on finding people who expect it to
- 12:27do, let's say what else wrote there or something else does and
- 12:30we're like, but is it? It is its own product, right?
- 12:33You have to give it its own, its own merit.
- 12:36Like for example you cannot just ship like massive well models
- 12:41that are being trained and pipelines to these products.
- 12:44Similarly you probably cannot do time on on flight.
- 12:49That's we because we think of time as just a parameter.
- 12:53We think time is is an axis. Especially in the world you're
- 12:56back testing your your running azoff scenario if you're
- 13:03checking your hypothesis. When you're checking your
- 13:05hypothesis, you wanna be able to play with anything later.
- 13:08Die and play with data. I'll play with Martin, David I.
- 13:11Yes, Cleveland Chord. So that and that's our first,
- 13:16that's like the user first philosophy that we have like and
- 13:21the user is experimenting in 90% of scenarios when they're
- 13:24testing and building any product that uses eminent data because
- 13:29you don't know if this is ever going to reach a customer.
- 13:32When I first talked to a data scientist on machine learning, D
- 13:35or even a data engineer was building a product nowadays that
- 13:38reaches a customer. And then what is the likelihood
- 13:41that a customer really see it and it's 5050 in the beginning
- 13:45and then as you prove it, it becomes higher and higher.
- 13:49Uh. So that's a different modality
- 13:51of operation and I think we are not.
- 13:55We have seen massive, massive by origins in the data and ML
- 14:00communities and that is sad because ML communities cannot
- 14:05survive without data. Many of the data engineers that
- 14:08exist today will have to start building data products in my
- 14:11opinion, and every product with that, when Mill is infused, it's
- 14:16actually getting data. It's used somewhere.
- 14:18So you have to start relying like it's not OK to go and
- 14:21delete a table and just backfill it, right?
- 14:24That's not OK from any point of view because you've probably
- 14:26made a decision that changed the outcome.
- 14:30Let's say for example, you go to a bank and it denies your loan
- 14:34and then next day you go to the same bank and you talk to them,
- 14:38the customer service and they say, hold on, I can see the loan
- 14:41is approved. You're going to be angry.
- 14:44What do you want people to prove your point.
- 14:46And so when you go back and they'll be like, OK, let me go
- 14:48back to the system and check it out and you turns out that there
- 14:50was some data corruption in the top and you deleted it and and
- 14:54you don't know what it was. And now you're like, OK, I made
- 14:57some bad decisions in my life and you can't even regret about
- 15:01it. So that's how I think about it.
- 15:05Like we all have to start thinking in a little different
- 15:08modality and it'll take time, right?
- 15:10This is the reality of the world and that means we have to keep
- 15:14on shifting that mics. Turns out that the model that
- 15:19was powering your loan scoring was actually ChatGPT, and it
- 15:23hallucinated. Yeah, it gives you a different
- 15:27answer every time. So just keep applying and you
- 15:30may get lucky. Yeah.
- 15:31Ohh yeah, that's that's dangerous.
- 15:36I don't want to be in a banking system that does that.
- 15:39Yeah, totally. Well, you said something really
- 15:41good there. That I think is worth noting
- 15:43too, which is. A lot of these ML products.
- 15:48They have. I think 5050 is a very generous
- 15:52number to give people. When you're exploring and you're
- 15:55trying to figure it out, you're just trying to see what's going
- 15:59on. How can we hopefully get some
- 16:02value from this? But you have to really push the
- 16:07limits of what you think is possible and go down.
- 16:12Dead ends that you don't realise are dead ends until two or four
- 16:15weeks later. Yeah, I'll tell you an example,
- 16:18but also the 50 fifties from the user, from the ML engineers
- 16:21perspective or the data scientist perspective, they
- 16:23think they're going to have to talk to them again, nothing.
- 16:28I get it. But it's like, you know, the
- 16:29optimism in a human. But the reality is that there
- 16:33are five other data scientists at the same time working
- 16:36potentially the same problem from a different axis.
- 16:39There was a data scientist who built this amazing model, which
- 16:42was, you know, Ottomans were hot.
- 16:45It's OK, we'll go. And it was very good, extremely
- 16:50complex. So it was hard, but like you
- 16:52know, it's it showed value in some limited testing, but to
- 16:57pressurise it takes a while. He went down the rabbit hole and
- 17:01it did not prove any value, absolutely nothing, right.
- 17:04So production. So yeah it's is like it's not
- 17:11even 50 at that point. We were 7030 almost all of us
- 17:14like ohh this seems amazing. We looked at the world and what
- 17:17a genius insight and it seems like it but it proves that it
- 17:20did not work. Like another example that I
- 17:23actually typically gives that I worked on as well.
- 17:25The first things is real time traffic right.
- 17:28So in Etas we we were trying to use real time traffic.
- 17:36ETF's are estimated time of arrival that lift would give
- 17:39when you want to get it right and you were like think traffic
- 17:44will play a very, very critical role here.
- 17:46Now they can have because everywhere there's a lot of
- 17:48traffic and that will change the ETS dramatically and we can
- 17:53bring down our embassy and Maes and so let's try that out and we
- 17:58how do you prove it like it kind of simulated a little bit.
- 18:01I tried it out and maybe so but real time traffic is a big
- 18:05challenge. Yeah you have to get data real
- 18:08time processing analyse it. It was all quote, some of the
- 18:12code was AC because the routing engines are in C viewer like
- 18:16loading things and this takes like six months of effort to do
- 18:19this stuff. And then that time we didn't
- 18:21even have slight like thing. One of the reasons why it's like
- 18:24kind of works with any languages because of that stuff, right?
- 18:28You're scared in the beginning, yeah.
- 18:30And what it turns out is that thankfully we didn't invest in
- 18:35real time M as I've heard many times, because firstly, the
- 18:41speed at which you go causes a lot of aberration.
- 18:44Exactly. Think about it.
- 18:46There is one car that stops that we have a sample for and we
- 18:51think there's huge traffic jam, but potentially turns out that
- 18:54that was just a top light or just like you know, that person
- 18:58decided to stop for a. Little drop it off there.
- 18:59Yeah, whatever. And you don't want to change
- 19:03like the ETS. It's just dramatically
- 19:05fluctuate. The ETS up and down.
- 19:06It doesn't matter. So you have to put a damper.
- 19:08You have to put like a bunch of other models.
- 19:10And it turns out the hourly predictions for a week are so
- 19:14good that the bias adjustment is what the traffic does only like
- 19:19a little bit of addition so that it improves the tail problems.
- 19:24You don't really cause a huge deviation in this.
- 19:26And so that's what we found. And you're like, OK, people are
- 19:29saying let's do real time and this is the most real time kind
- 19:32of scenario that you can think of, like fraud, right.
- 19:35Even in fraud, if one person does a fraud, you don't want
- 19:38immediately to react to it like saying that, all right, this
- 19:40everybody else who's doing like everybody's known should be
- 19:43rejected. Saying, no, dude, that guy was
- 19:46probably a one off case, right. So you want to wait for a little
- 19:50bit, buffer it up, damper it out and then.
- 19:52So 10 minute travel is what we found pretty good.
- 19:57So things like that, like you know you you learn only when you
- 20:00try and you don't know the real outcomes till you till you
- 20:04really put it in production. Then I have to think about that.
- 20:07So I'm actually working on a project too.
- 20:09Lots of that now. So maybe I'll be like we don't
- 20:12need real time e-mail here. No, try try smart, try go, go
- 20:16faster and you know and then speed it up.
- 20:18It's easier to prove value every time you go up, and at some
- 20:21point you'll be like, hey, the next step is so hard that the
- 20:24ROI on it is like. I like, it's our quantifiable so
- 20:28well, but also I hear about, like, you know, from all meetups
- 20:32and everyone, everyone is always like, oh, I walk through all The
- 20:34Time Machine learning all the time.
- 20:36And then you always ask the question like, yeah, but what do
- 20:38you mean what do you call with real time?
- 20:39You know? And usually it's like 15
- 20:42minutes, 20 minutes and you're like, well, let's.
- 20:47It's it's very hard to do. You have to think about signals,
- 20:51right? How noisy are these signals?
- 20:53And then you fancy again. I'm sure there are some signals
- 20:56like, but I even tick tock doesn't do it like real real
- 21:00time because they have to gather enough sample to kind of affect
- 21:04the rate. But I probably should get
- 21:07somebody from TikTok. I know somebody I can connect
- 21:09you, so he can totally come clean and and share.
- 21:14Man, well, I, you know, I was thinking about how many
- 21:18different edge cases you'll have to and it just.
- 21:22Comes back to this idea that you're over engineering
- 21:25something that is not going to give you that big of a benefit
- 21:31at the end of the day. So how much time are you going
- 21:34to put into that engineering? When the benefit that you get
- 21:39out of it is not related in any way, it's like maybe the benefit
- 21:44is half or a third of the amount of time and effort and energy
- 21:49and resources you push into this.
- 21:51But it's almost like a badge of honour that we can wear and say,
- 21:55like, you know, I'm the one who got that real time shit figured
- 21:59out and so now I can go give talks all around the world on
- 22:02it. Yeah.
- 22:03No, I think there are really cool cases in which real time
- 22:06works like, again, don't get me wrong, like pricing and so on is
- 22:09just like, but what ends up happening?
- 22:14Is that when there is really that need general purpose
- 22:17infrastructure is not. The D5 choice right is what
- 22:22you'll realise because did they are very customer like everybody
- 22:25has these custom needs it one of the things that we found is a
- 22:29bit surveying and features survey and all of that.
- 22:34The really, really big teams said like, hey, we don't want to
- 22:37use this stuff. We want to build our own because
- 22:38we have huge performance requirement.
- 22:41That being said, there are parts of it that do, which is where we
- 22:44put our most efforts and right where we found, like back
- 22:47testing or training or collecting data or evaluating
- 22:52and so on is almost always the case and you need it.
- 22:57But like surveying feature sharing, for certain people it
- 23:00can be very very hard just because their needs are like.
- 23:04A bespoke. And maybe that will eventually
- 23:08all that should be. Maybe everything it solves
- 23:11everything is. And and it brings everything
- 23:14together, but. As far as I can tell, not yet.
- 23:19But how do you balance everything out like because I
- 23:22mean, you know, the community would be like, hey, I want that.
- 23:25And you know, they'll be like it's really important for us,
- 23:27like if you don't build that, we don't use flight.
- 23:29But then it might be something extremely specific as well.
- 23:32So how do you balance those? Ohh how about this jumping into
- 23:36community I think. Fantastic question that have
- 23:39been. Lot of people actually have come
- 23:44and asked us two things. One is.
- 23:51Dusk fusion or. Running really really, really
- 23:55fast workflows on flight. And.
- 23:59And and and and some other things are like another person
- 24:02that's like really long training job.
- 24:05It's a distributed, get full observability, let's say metric.
- 24:09Sorry. And and I'm going to take these
- 24:12two examples. I think we can do both.
- 24:16The problem is if I do any of those.
- 24:19Anybody who is installing flight will.
- 24:22Right. And this is how it is.
- 24:24They will love it. They want that effect, but it's
- 24:26not going to be easy to install. It's very hard to minimise the
- 24:31total number of dependencies that you can take on a product.
- 24:35And the reason why you want to minimise is because and
- 24:39installation for a large company like.
- 24:43LinkedIn, Spotify and so on. They are able to directly have
- 24:4610s of engineers, but a small company has almost no straight
- 24:51really like maybe three. And if I tell them now you need
- 24:55Kafka or you have to go and buy MSK and then they go, OK, I
- 25:00don't want to introduce this new thing into a stack literally.
- 25:04Another one would be, you know, into observability like the
- 25:08first one we we were actually. We will, we are picking, we are
- 25:13and that and that's where we started thinking OK how do I
- 25:17keep improve or reduce the surface area of what you need so
- 25:21that microbial people can get value and that's like.
- 25:24And where can we like take away the management overhead?
- 25:28For most people, that's. And that's how we do a trade
- 25:32off. We are like we literally cannot.
- 25:35Even. And The thing is, we also want
- 25:37to do it in a very open source site way.
- 25:41Because flight is part of the destination, we I don't own it.
- 25:44We we don't really go and add like hooks in there.
- 25:48Saying that now it goes to Union cloud or something that's we
- 25:50don't do that helps you have to immerse yourself in the MLPS
- 25:55content. The best way to do it is to
- 25:58subscribe to the Inner OPS Community Podcast.
- 26:02So good luck and keep learning. The way we do it is we listen to
- 26:12a lot of people and we honestly tell them that.
- 26:15We agree, some of this is really cool.
- 26:18Here is an alternative that you guys go and use and we have
- 26:21actually told that before and in some cases we say that doesn't
- 26:25exist, but they're what like the same versioning and everything
- 26:28with like the performance let's say off like of super fast
- 26:31running task and we're like oh you realised what we have to do.
- 26:35We have to engineer the way that container startup we have to
- 26:38bring in hard containers, we have to.
- 26:42Right, certain core that's QA and and like some queues etc.
- 26:47Distributed queues, you have to do the reader elections like
- 26:50hundreds of things underneath and we can build it right.
- 26:52We have built this in the past. But will that improve your one
- 26:58use case? Yeah, what about the 95% of the
- 27:00use cases that are there today on the profile, right.
- 27:03Adds complexity to that. So that's why we built a plug in
- 27:05architecture and so on so that we can keep on extending these
- 27:08things. And so eventually we hope that
- 27:11we can do these certain things. In those cases where somebody
- 27:15comes and says I want this, and then you say, all right, you
- 27:17know what, actually, it's probably better if you use
- 27:20Airflow 1.10 for that. Yeah, I think it scales better
- 27:25than two dot. So I'm just joking.
- 27:27Underhanded chap. Yeah, No.
- 27:32For everybody out there that is on air flow 1.10, we feel for
- 27:35you and you're you've got yourself into some fun.
- 27:40But before we talk about airflow 1.10, I I did want to stay on
- 27:43this idea of like union versus flight for a minute and.
- 27:48Think about it seems like you've clearly set aside, hey, we are
- 27:52going to use flight for the majority of service area that we
- 27:56can cover and we're going to add these plug-in models so that we
- 27:58can continue to extend it. And when people come to us in
- 28:01the community and they want new features, they can get that.
- 28:05And whether it's us giving it to them or it's us creating a plug
- 28:09in with another tool that can give it to them, we're going to
- 28:12make sure that that's possible, especially if we hear it more
- 28:15than once or twice in the same day.
- 28:18And. Then for those really hard jobs
- 28:22that you are thinking about that are going to take a lot of
- 28:26engineering and you're thinking that companies.
- 28:30May not have the resources or the power that human power to
- 28:36throw at it. But it is a very high high
- 28:41quality problem and if someone could solve that for them.
- 28:45They would be very happy. And so it's worth you creating a
- 28:48managed service around or it's worth you creating some kind of
- 28:52paid product around it because you know that the companies that
- 28:55do have those problems that don't have the 10s or 20s of.
- 29:00Or 30s. However many engineers to throw
- 29:03at the problem, they're going to be able to say, OK, you know
- 29:07what, we'll give you some money for that.
- 29:10Yeah, I'll give you another example.
- 29:12In that world is like almost everybody has asked us.
- 29:15Build our back into flight the flight it ships with, so.
- 29:22There's an SO wall of shame I don't if you know by the way
- 29:25basically and we were ourselves using a product many products
- 29:29like internally at Union and we have like.
- 29:32Ohh, I have to pay for Enterprise just to get so this
- 29:36is crazy. What world are we living in?
- 29:40And leadership as a so in in like that and I've told you this
- 29:43in the past, it causes a lot of I tell the team like I don't
- 29:46know why. Because everybody will ask like
- 29:50I cannot get key clock working. I cannot get all zero Google
- 29:55assist on Google. So like it's terrible.
- 29:57It doesn't even have an authorization server, like
- 29:59people don't realise. So we have to build an
- 30:01authorization server and that has vulnerability problems,
- 30:03right people? Because people will not change
- 30:05some of the codes and we're like OK.
- 30:08You have to know what you're getting into, right?
- 30:10This is complicated stuff. This is this is potentially.
- 30:15Security hazard. And so you should understand
- 30:18what you're getting into, and they're able it, right?
- 30:21And that is the reason why we ship with us.
- 30:23So there's like you should be secure.
- 30:26But please go and you long thing like you just you know we then
- 30:29give two or three but people expect that we can work with
- 30:32every single product Cognito Azure LDAP, it's unlimited
- 30:37number of services right and. Then people will.
- 30:41Most of the folks would say, hey, can we get?
- 30:45Are back and they're like. There is no standard even for,
- 30:48albeit, there's nothing. Think about the crazy amount of
- 30:52madness that I'll have to go through, because even just to
- 30:55support and it will not be working because you have to go
- 30:58and pay this random providers. And whenever you are facing with
- 31:03such a thing, it better to go to.
- 31:06Potentially illicit service which knows what they're doing
- 31:10right like and this is where we can offer and you guys can
- 31:14create it an open source that's absolutely open, but it's super
- 31:18hard to explain to the community how they have to.
- 31:22Super. It's it's completely not lack of
- 31:25trying, right? Trust me, it's not lack of
- 31:27trying itself. Yeah, but I asked this question
- 31:30already. I've been guilty to ask the
- 31:32airbag question on the flight. See if it you thought, no, no,
- 31:37no, no. I know it's everybody.
- 31:39And I'm like, I tell me the standard, let's come up with a
- 31:42standard and then let's build it, right?
- 31:44Like, what if there is no standard how I'm going to build
- 31:46it exactly? Yeah.
- 31:47But even like unfolds, internally it's like, yeah?
- 31:51And it doesn't work across right?
- 31:53Because many people are running in multi cluster mode, like even
- 31:55if you use the cooperative oppa kind of stuff that's.
- 31:59So it's yeah, it is I I have not found a single solution, but
- 32:02maybe I'm just naive and and this is a community.
- 32:05Please contribute. That's what I say.
- 32:08PR's union does ship with Iraq. We know how much work it took
- 32:13just to make our bed possible. You know the the set of things
- 32:18that we wanted to do was. He within a company that could
- 32:21be a financial infra team. They could be a a a data infra
- 32:25ML and for Emma product right? And some may be dealing with
- 32:29very. Private data like customer data
- 32:32and you have to keep them secure and that's where we provide RBAC
- 32:35and we take it all the way down to a single word.
- 32:39And this takes a lot of effort. So it's possible.
- 32:42We know you can do it with light.
- 32:44We just don't know what service we actually have to connect with
- 32:47some other services, pay them money to that.
- 32:50You're doing all of that, folks. And So what are some of these
- 32:54other high value features that you have incorporated into?
- 33:00Union on off the back of flight, right?
- 33:03That aren't really proper for flight because of the
- 33:07engineering work and the amount of time you need to put into it.
- 33:11And also again. The overhead that you will need
- 33:16to ship flight with. Yes I'll tell you a bunch like
- 33:23maybe a non trying to steer but the and I'll give you a reason
- 33:26behind each one which is first time ever probably open source
- 33:31company is going to say this but so flight supports multi cluster
- 33:36but it's not dynamic multi cluster you have to configure
- 33:39the clusters because if you think about it most people are
- 33:41running a single cooperative cluster.
- 33:43And that's why. That worked for 80% of the
- 33:47cases, and we've tweaked a single cluster to almost the
- 33:51maximum. We know companies that are
- 33:53running hundreds of thousands of workflows and power which is and
- 33:59each of them having hundreds of tasks of millions of tasks.
- 34:03An hour on flight and it works absolutely fine in its scales.
- 34:07OK, in there also we decided to go like a single binary for the
- 34:11absolute beginner, but you can scale out to multiple pieces and
- 34:14so on. But in Union what we found is
- 34:19that. You were talking to users and
- 34:21they're. I don't get GPS, I guess what do
- 34:24I do? Can you give me GPS?
- 34:26I'm like, I mean I have to do a GPS myself, but I know GCP has
- 34:30GPUs or Oracle cloud has GPUs et cetera.
- 34:34So what we do in union is you can bring a Kubernetes cluster
- 34:37or any cloud and connect to union or within a cloud and some
- 34:41people are like, hey we want to separate out different projects
- 34:44and. In GCP or certain things, and
- 34:48all of that is supported out-of-the-box on the union
- 34:49where you can bring in clusters, clusters have their life cycle
- 34:53and you can drain them, etc. Because we inverted the model
- 34:58out of the need, our first goal was to actually get.
- 35:02Yeah, you need to work on laptops.
- 35:04And that's that's what we started.
- 35:06So we had like 4 laptops and you can connect four laptops and
- 35:09workload to be sent to four laptops dynamically.
- 35:13The second one was of course RBAC.
- 35:15I told you the reasons SSAB configure the SSO, so you have
- 35:18to do the wrong thing because we pay for it.
- 35:20It's not free, but we can figure it.
- 35:24Lord is. Another thing that when we were
- 35:28talking to people, we realised everybody wants to get deep
- 35:31visibility into what's happening.
- 35:33Like let's say you're training a model and you're like is my GPU
- 35:37getting saturated? Is my CPU getting saturated and
- 35:40never getting saturated and? And So what we call that is task
- 35:46level monitoring. So you can go to an individual
- 35:48task and in unit allows you to dig deep into it and it gives
- 35:52you all kinds of metrics like how much storage are you using.
- 35:55Now if you realise yes this can this be done in open source, I
- 35:58think people can do it, but you'd have to host a different
- 36:01set of monitoring infrastructure.
- 36:03And this is like, again, I can add it and people were like, OK,
- 36:06you're putting data or whatever. Yeah, we don't do data, by the
- 36:11way. And the other other thing that
- 36:14we realise why this is important to think about is we are not
- 36:19designed APM Systems today to solve these problems for our
- 36:23millennial and I'll tell you how.
- 36:26Data Dog with red all of these appeals system.
- 36:30It's not one, it's almost everyone of them.
- 36:32Charge based on the cardinality. Cardinality is based on number
- 36:36of metric unique values. Pipelines that experiments are
- 36:43all unique. And at scale in that company,
- 36:47already hundreds of or thousands of experiments in a short period
- 36:52of time. And they die away, they go up,
- 36:54they don't exist. But because of the retention
- 36:57policies within the system, you will get charged at the end of
- 36:59the month for every single experiment you ran.
- 37:03And actually many types. My often what I said to people
- 37:08is like, I would love to do a business where I am paid for
- 37:12observing you do something. That's a PM for me.
- 37:15You just come and observes, you do something and it's like,
- 37:18alright, here you go, Amazing. I'll pay you $60 million.
- 37:23Sadly, I'm not that company. Nobody pays me for to do that.
- 37:29But so we thought, this is actually a massive problem, so
- 37:32let's solve that. So the TLM is included in Union
- 37:36Cloud for free and we've designed it in a way that the
- 37:39cost of operating it for us is not.
- 37:42Enormous. So we can observe individual
- 37:46things at a very, very low cost. The secondary thing is we
- 37:51realise, OK, you do this at an individual level.
- 37:54But when there are platform, there is like Stephen, right,
- 37:56he's he's offering a service he wants.
- 37:59To know across this company who is.
- 38:03Using our GPUs. And then because you know that
- 38:06would be may come and ask like OK yesterday we spent
- 38:09$1,000,000, can we identify what we did and is there an ROI for
- 38:13doing it. So you need a top level like a
- 38:16dashboard. Again this is observability.
- 38:19So that gets added on it like it allows you to drill down by a
- 38:22project over and workflow figure out who's running what, which
- 38:26where you're spending are you. The other interesting thing
- 38:29through our many years you have found is that most people over.
- 38:34Calculate the amount of memory or CPU et cetera that they need
- 38:37and end up using 50% or lower than that.
- 38:40That is 50% savings on your tip. And we show you right off the
- 38:44bat like, hey, here's a 50% optimization chaps, go change it
- 38:48as you will see if eventually you are automatically into some
- 38:52of these things. And that's why we're really
- 38:53capturing some of this stuff. Yeah and and so these are three
- 38:58features along with that we are working on how deep lineage and.
- 39:05Shedding of artefacts, etcetera, that work.
- 39:10And and that's about it. Like we we have few other
- 39:13smaller features which we manage everything for you.
- 39:16So we have kind of built. Like including, Like most people
- 39:20don't get it. You don't have to manage
- 39:22Kubernetes cluster. You don't even have to know
- 39:24you're running cooperative cluster.
- 39:25You don't have to roll you're running machines or scaling
- 39:28them. You just tell us pointers to an
- 39:30account and we manage all of. At any scale.
- 39:35That's our goal. Boom.
- 39:37That's so cool. Yeah, it's really cool.
- 39:39It's inspiring. Like, especially like, I felt
- 39:42seeing a couple of times when you were talking when, you know,
- 39:44like the data dog observability or like using resources like
- 39:48crazy in a data scientist, they're like, yeah, I won,
- 39:51there's a hundred, you know? Yeah, it's.
- 39:57Like, I want all of them, yeah. And doing it uniformly across
- 40:01every cloud, across every deployment is a super art
- 40:04challenge. And that's what we've been
- 40:06trying to solve. And we're doing it securely,
- 40:07making sure there's no security availability.
- 40:11It's our chatting and we think once you start using it, there's
- 40:15no way you're going to go back. Well dude, there is one thing
- 40:19that I wanted to finish off with which is.
- 40:23We started or in the beginning of the conversation we were
- 40:27talking about how data engineers come with their certain wants
- 40:33for what? Flight offers and how mill
- 40:37engineering is a bit different. I get the feeling since ChatGPT
- 40:42came out, there's a lot of. The LM's that have come out and
- 40:48how that's different than quote, unquote classical ML.
- 40:51What have you seen and what do you think?
- 40:53What are your thoughts on that that have been folks that have
- 40:57had a chat with her like hey, we are building an NM
- 41:00infrastructure in IT, Why? What do you mean by that?
- 41:04Like, let's break it down. You're taking a model?
- 41:08Sure, that's a checkpoint from the past and you're fine tuning
- 41:12it. And that's what most people want
- 41:14to do. If you are thinking of fully
- 41:16training a model from scratch, I question whether that's the
- 41:22right thing to do. In this day and age where Llama
- 41:25Two is open source, I unless you have something really found a
- 41:31great insight which most companies would not have, I
- 41:35would not do such a thing. And then it mostly fine tuning.
- 41:42And if you're doing fine tuning, it's still entertaining.
- 41:46The hard part is there are two hard parts here, or three parts
- 41:50which are common. Take data, the most important
- 41:54part. Take your data and get it into a
- 41:56format that can be used. Because you're going to change
- 41:58the prompt, right? So then and then send it to the
- 42:02through the training cycle. Uh, update to your prompts or
- 42:05maybe even send to multiple training like you might have to
- 42:08do retraining to answer questions, et cetera, and then
- 42:12evaluate. You should evaluate before you
- 42:15deploy and then the final part is deployed trade and this is
- 42:21that I'm editing infrastructure now let's go to classical music.
- 42:24You get data. Father Martin evaluate, they
- 42:29deploy OI. Don't think it differs.
- 42:33The big difference is that all models are best, and so you
- 42:38basically they're hungry for cheese.
- 42:41But you should also wonder whether the biggest model is the
- 42:46right model for they depends on their problem domain and I don't
- 42:51know how to prove it but to try so.
- 42:56So what we do and we looks like you're being we have an elastic
- 43:01Lugin which essentially allows you to train models on multiple
- 43:07GPUs, could be on one node on multiple nodes and it uses like
- 43:12the torch run which is the default that you see everywhere
- 43:15and it automatically scales it out and so on.
- 43:18And also there are plugins for types, so you can create, you
- 43:23know back to our state, although that's and so on.
- 43:25So we can optimally use the GPU, that's what you need.
- 43:28You just need that. There's no way to improve
- 43:31performance of training by putting any kind of cash or
- 43:35anything in between. You have to use raw networks so
- 43:39that GPUs have to communicate with themselves and using the
- 43:42best back end like nickel or or EI and then communicate with
- 43:47each other if they're on on a node and they have to be placed
- 43:50up. This is all infrastructure
- 43:53orchestration, yeah, yeah. And then you want to do a
- 43:57checkpoint day. So we did this.
- 44:00That's why we added hugging face as an integration with flight
- 44:03now. So if you people install
- 44:04Transformers it has a flight callback.
- 44:08You then you will be able to get metrics of all the execution as
- 44:12well as checkpointing. So you can just simply say
- 44:15adding phase checkpoints like to automatically checkpoint your
- 44:17code. So you can start using Spark
- 44:19machines if you want to train it, bring down the cost is
- 44:23consistent, and then recover the training.
- 44:26You can do all of those things and it's all available.
- 44:29Or you can use a. If Ray is what you want to use,
- 44:33you can use Ray. We don't pick a choice.
- 44:36We do not see a massive user rate if you are.
- 44:42Most models can be fine-tuned unlike 8A1 hundreds which is 1
- 44:48node and you put that on one Lord.
- 44:52The the net interconnect is very efficient between them right?
- 44:56It's on them device. And what you need to really need
- 44:59to do is you need that TLM, the task level monitoring to make
- 45:02sure you're saturating your GPU and make sure you're saturating
- 45:06your CPUs on those machine to process.
- 45:10If you do that, you will get the maximum out of your process, but
- 45:14other than that it's the same step, right?
- 45:16And then this is what we do for vision models, this is what we
- 45:19do for speech models, this is what we do for classical Xgboost
- 45:23models. Like doesn't matter, it's the
- 45:25same stuff. Now, yes, there are some special
- 45:28plugins and they exist. Yeah, I guess for me the only
- 45:31thing that is missing there and that I always think makes.
- 45:35Dealing with large language models.
- 45:37A bit different than traditional quote unquote, traditional
- 45:40e-mail is the whole prompting. I think the hardest part is
- 45:42evaluation. Yeah, that's that's a great
- 45:45point. Yeah.
- 45:47Those two those two things just prompting it and then evaluating
- 45:50it, it's a huge task and it's not necessarily, I mean I guess
- 45:56evaluation you could kind of look at is.
- 45:59Accuracy, but not quite. And so, how do you even know?
- 46:06Yeah, that's it. Yeah, but if you hallucinate,
- 46:09how do you know your it is hallucinating?
- 46:13But you have to. It's like as hard a problem as
- 46:17searching a needle in a haystack, right?
- 46:18Language in the haystack. Here is the Internet, maybe
- 46:22there is some document that says that is right.
- 46:26So that's not your problem domain.
- 46:27Is interesting right? You can if your problem domain
- 46:30is limited, you can evaluate on that problem domain.
- 46:34And I think Hugging Face has been doing some really amazing
- 46:36work on this side, like creating the leaderboard and so on, and
- 46:39it's expensive. They have the money.
- 46:42So it's really, really amazing stuff that they're.
- 46:45Doing well, do you think do you think because I've heard like
- 46:47they consensus being using LM's to evaluate.
- 46:52Prompts for you at Allens. Do you think it's something
- 46:56that's we're gonna have more in the future?
- 46:57Like I I tend to talk about it by someone from Google and they
- 47:00were like, yeah, we tend to use elements to evaluate our
- 47:03products and. And the roofing, I guess my only
- 47:06thing is probably you need a benchmark still somehow right?
- 47:11Like if it evaluated once you create a benchmark.
- 47:15Almost I don't know about manually or some somehow which
- 47:19creates that like like get your golden set.
- 47:22Yeah, you say like use my watermark.
- 47:25If I'm hitting my watermark and improving on it, I'm most likely
- 47:29improving. But again, it's most likely it's
- 47:31not 100% and it depends on your application, right?
- 47:35If you are using this to again administer loans, don't.
- 47:40Maybe not. Maybe help somebody in Slack to
- 47:46answer a question and you're putting a caveat over there that
- 47:50I am a bot. I may be wrong.
- 47:53So it's amazing application of it, right?
- 47:56And like, whenever there's what I found is whenever there's a
- 47:59human in the loop, the applications really tend to shy
- 48:05because you're you're what. This is the promise of Mill.
- 48:09And that's what we are doing. We are augmenting a human.
- 48:12We are reducing this stupid stuff that you'll get sorry to
- 48:16buy or and just give it to you. Like here's my four things.
- 48:19Can you pick one for me? An exam?
- 48:21Right. And then and then the human does
- 48:23the job and based on the context that they already have, which
- 48:27may not be written now and then, you know then I feel.
- 48:31But besides that, going to your original question, I think the
- 48:34infrastructure is still the same, serving is still the same,
- 48:37there are fantastic work has been done, like suddenly I feel
- 48:41quantization is working really well, can really freeze all of
- 48:47these modules and shrink them to work on whatever hardware
- 48:51nowadays, It's amazing so. Well, dude, Katon, this has been
- 48:57awesome, man. I appreciate every time that you
- 48:59come on here. And today did not disappoint.
- 49:03So I think we're going to end it there.
- 49:05Ben, thank you. Thank you for having me.
- 49:07It's always fun. And thank you for having
- 49:09Stephen. You get extra brownie points for
- 49:10that. Thank you.
- 49:17Hi, this is Michael Eric. I'm the founder of Pametan Data
- 49:21Innovation and Confetti AI and this is a quick public service
- 49:24announcement. If you're tired of having
- 49:26nightmares about the machine learning models you have in
- 49:28production, then I encourage you to subscribe to the ML OPS
- 49:31Community Podcast. It's where all the cool ML OPS
- 49:34kids hang out and learn how to tame their ML models.