Latest / Agentic Conversations (formally mlops.community) / Databricks Model Serving V2 // Rafael Pierre // Coffee Sessions #125
Transcript
- 0:00My coffee. I drink espresso like 99% of the
- 0:03time, so, yeah, I'm not one of the cookies who drinks alcohol
- 0:09martial art, but why it's? I am very excited today to be
- 0:16joined by Cube flows, biggest fan, or at least.
- 0:20That is what I remember. Let's find a I never gonna live
- 0:24that down now. So dude, I love it.
- 0:26And so maybe one person other than myself If on the Internet
- 0:30calls you that but I don't care. I'm gonna keep calling you it
- 0:35because I think you are you've probably been reached out by the
- 0:39cube flow Community since that conversation we had uh, yeah,
- 0:43we're we definitely we hang out with you for Cutie quite a bit.
- 0:46So there we go. So for those who do not know
- 0:49Ryan came on the podcast, he was an excellent.
- 0:52Guess we talked a lot about doing kubernetes and machine
- 0:57learning together specifically Cube flow and how it works.
- 1:01And because this conversation that we just had with Rafa
- 1:06centered a lot around machine learning and kubernetes I
- 1:09thought who should I have as the perfect co-host?
- 1:13Well I'm gonna hit up Ryan and see if he's available and the
- 1:17Stars aligned you were available.
- 1:19So we got to have this really cool conversation with Rafa.
- 1:22What are some of your takeaways man?
- 1:25You know, I love talking to is awesome.
- 1:27I think what has blown away with was his history, right?
- 1:30Just kind of how he came to be to where he's doing it to me.
- 1:33It seems like he was on the Forefront of so many things that
- 1:36we just have to take for granted right where whether it be like
- 1:39just go into what has caused iot before, there is iot, right?
- 1:44Cuz we score there was the cloud.
- 1:45Yeah, Brothers, the cloud, right?
- 1:47Like he was, he was do it. I mean, it was really cool to
- 1:49see kind of that words, like someone like these kind of, like
- 1:52stumbled into this field. I feel like this some degree,
- 1:55right? I took the scenic route.
- 1:56He's been kind of at the Forefront.
- 1:59His Insight was great to on just so many different aspects of
- 2:03just the machine whirring life cycle, right?
- 2:04When it as it applies to kubernetes.
- 2:06So, and his answer was really funny when he's not, I asked him
- 2:08the question about, you know, whose career is what who's it
- 2:11right for? It was like, I don't know,
- 2:12people say he probably listen to our my conversation was like,
- 2:15Verbatim what I say. So I was like, I feel really
- 2:17validated at that point of like someone else has my opinion.
- 2:20But yeah, sundered Spirits, man. Yeah you guys exactly.
- 2:24Yeah. I The enjoyed at the end of it,
- 2:26when we were kind of talking about must-haves these days,
- 2:29when you're looking at a machine learning platform, there's the
- 2:32nice to haves and there's the must-haves and he broke down,
- 2:35what he feels are must-haves. I think the surprise there for
- 2:40me was the explain ability piece and then I really liked how he
- 2:44talked about this. He was, he kind of gave it up
- 2:47and he said, look, we talked a lot about data lineage, but we
- 2:49don't talk about model lineage and you can tell a lot About how
- 2:55a model performs if you can see everyone that has touched that
- 2:59model and everything that they've done with that.
- 3:01So I mean, maybe that was just because he wanted to give a nice
- 3:05little plug 2 ml flow. Maybe he just really is into
- 3:08that, who knows? I get the feeling that it is the
- 3:11later and so that, that was for me, one of my favorite pieces, I
- 3:17think we should just get right into this.
- 3:20Everyone who is listening, if you have not seen, Yeah, we're
- 3:25doing meetups all over the world.
- 3:28Ryan's in SLC, the Salt Lake City, and we're doing ml Ops
- 3:33Community. Meetups there.
- 3:35We're doing them in Washington. We're doing them in Berlin.
- 3:39We've got them in India. I mean, there's even one in
- 3:42Australia. So, wherever you are in the
- 3:44world, there's probably some ml Ops community in real life event
- 3:48happening near you. I highly encourage you to get
- 3:51out there hang out with some people.
- 3:53It's so so invigorating to a see people again and then be learn
- 3:58from all of these other learn from your peers.
- 4:01Like we're we've got such cool talks that are going on and if
- 4:05you're on YouTube, you might want to subscribe to our other
- 4:09channel that just puts out all of the in real life recordings.
- 4:12So we've got all of the talks that are happening at all of
- 4:15these in real life. Meetups we started a whole new
- 4:18channel for that. Go jump on it.
- 4:21Subscribe to everything that you do with YouTube.
- 4:24Tube. And for now we're going to just
- 4:27jump right into it with Rafa. Where do we even start with you
- 4:35Rafa man? You've been in the game for a
- 4:37long time. I don't even know where to get
- 4:40started. Shit, why don't we start at the
- 4:46beginning? Like he was a breakdown.
- 4:50What was your first job? And how did you start touching
- 4:52data? Click, are all really happy to
- 4:55be here, quite excited. I follow and loss, committed and
- 4:58quite lovely. So yeah, definitely an honor to
- 5:01be here. Well, first of all, I think,
- 5:04even before I started working, when I was a child, it was a
- 5:09huge Video. Game Geek.
- 5:13Got Atari Inc. When I was six.
- 5:15Yeah, that's that's How I started it.
- 5:18So you have the a bunch of consoles and for a while I
- 5:22wanted to I had this idea that I wanted to work in game
- 5:25development and at some point to just morphed into computer
- 5:32science. And yeah, so it did to talk to
- 5:35Jerry for my stay. So Yeah, that's that's basically
- 5:41the industry I started. So I started soft engineer
- 5:45really long ago when there was no communities, that no Docker
- 5:49and but I started right from the beginning.
- 5:52In a really one of the most intensive Industries back then,
- 5:58but also students today, which is the stock market.
- 6:01So, I used to write a soft engineer and the Brazilian Stock
- 6:06Exchange Conquerors of weathering.
- 6:10So that was my first job major experience.
- 6:13There are a lot of cool things. Working Financial companies for
- 6:18for a while, move the beach to a different industry.
- 6:23Worked in telematics in an Israeli company.
- 6:27Lived for a while in Tel Aviv by the way, amazing as well, fond
- 6:31memories of those times. So it was actually asset
- 6:36tracking flashcards. Wrecking Company.
- 6:38So I like to joke and say it was iot before, there was a coyote.
- 6:43So all these cars and trucks pushing all these data, not to
- 6:51the club because there was no cloud back down.
- 6:53We talk about 2010 but basically we have a bunch of these TCP
- 7:01sockets running in a Data Center and this car is talking to this.
- 7:07Nice. Did you sockets polish theater?
- 7:09Right. So we started.
- 7:11I think that was my first experience with data from, or
- 7:16analytics going to of your rights because back then I
- 7:21remember we had use cases, for example, we need it in real time
- 7:26to detect. If, for example, truck driver
- 7:29from FedEx, was leaving the area where he was supposed to be with
- 7:33geofencing for instance. Other more analytical use case.
- 7:40For example, I want to look at the fuel consumption for the
- 7:44last six months, who is the driver who gets late.
- 7:48The most, who is the driver, who is very involved in this kind of
- 7:52thing. And this was in 2010.
- 7:57So to track and yeah, and you were doing you were doing Real
- 8:00Time. Stuff in 2010 at this iot with
- 8:03no cloud. And how did that even look?
- 8:07Back in those days. He did it look pretty, but for
- 8:14me was also a huge Paradigm Shift right away when I started
- 8:18this off to engineer. First of all, I work mostly with
- 8:22batch kind of Systems and mostly we proprietary stack.
- 8:29So Microsoft was huge on C sharp and SQL Server back then.
- 8:37And this was, I think my first experience with open source.
- 8:41So we're running Linux all the way we were running.
- 8:47See to process these streaming data in a really efficient
- 8:52manner. So it was all really new for me
- 8:57in rates also at the same time, it's quite exciting.
- 9:01But from the infrastructure perspective I think it was a
- 9:03biggest one of the biggest challenges, right?
- 9:06So it was basically a metal running a Data Center and I
- 9:11think it was also was a challenge to know for us to
- 9:18scale and to know when to scale you didn't have the elasticity,
- 9:23right? So So we don't have more static,
- 9:27kind of planning. And would you say that that is
- 9:32one of the biggest differences these days and like something
- 9:36that you're the most thankful for that elasticity that you can
- 9:40have now just at the touch of a button you can scale up or scale
- 9:43down Absolutely, I believe if I had to think about the top three
- 9:52biggest selling points of the cloud for me, this will be
- 9:54number one, which is quite interesting as well that that
- 10:00connects a bit to to my personal experience with communities.
- 10:05I want I want to lie to you. The learning curve is a bit
- 10:10steep in the beginning. It was a bit overwhelming
- 10:12because there was so much so many things.
- 10:14Has to learn the terminology was also kind of a kind of a
- 10:19challenge. Remember is to think of artists
- 10:21poets and what are these service accounts and all that stuff.
- 10:26But when I when I finally grasp that the way I looked into it
- 10:31was ok. So now I can control it's almost
- 10:34like I can control an entire data center with gold and I can
- 10:39simply say, Okay instead of going there and placing a
- 10:43virtual machine in a In Iraq. I can just spin up for them for
- 10:52certain that I found even more amazing to just create a
- 10:56horizontal, bonds, autoscaler and hand, and just leave it run,
- 11:00right? I was flabbergasted when I when
- 11:04I when I learned over all these things.
- 11:06So it was kind of a watershed moment as well.
- 11:11Because from, from one side, I was Amazed, but also not
- 11:18concern, but also I was also, I also felt challenged but also I
- 11:25felt okay. So I'm never going to have to
- 11:27deal with with bare metal audience, that's it.
- 11:33So you know what you're saying is pretty awesome.
- 11:36Is reminding me of like you know, all of the learning curve,
- 11:38right? That the same thing had to go
- 11:39through right of hearing aids what would you say is the single
- 11:42hardest thing to grasp when you were starting out with that it?
- 11:46What was the hardest concept of the whole kubernetes ecosystem?
- 11:49That was just like this is hard. I just I think he's very still
- 11:52struggle with the today. I don't know there's double
- 11:54things for me but That's a good question.
- 12:03I think, I remember when I was in college, the night working
- 12:06classes, they were not my strongest, my strongest skill, I
- 12:13gotta say. So I think when you transpose
- 12:17when I transpose disagreeing that is it was something like it
- 12:19was Haunting me again. So, I would say probably, I
- 12:24don't know if you ask this question, if you ask This
- 12:27question one week for an hour girls and going to see the same
- 12:29thing. But for me it was quite I guess
- 12:34I can't remember the type of feelings.
- 12:36I had when I was, well, as having to deal with that again,
- 12:38and it was almost like I was going back in time and say,
- 12:42okay, if I forget stuff again. But yeah, I think at the same
- 12:50time there was a bright side. Definitely.
- 12:52Right. So I said, well, I'm gonna
- 12:55actually have to learn this, you know, not only because we can
- 12:57be, that is because also, if you're running stuff in the
- 13:00cloud, you need to know that. Form the most basic security
- 13:06kind of requirement section agent.
- 13:09That's essentially of Yeah, I thought to myself.
- 13:13Okay let's let's do two birds with one stone and let's
- 13:15releasing. Yeah.
- 13:17So it's for its exact. What about you today?
- 13:20Networking 100% like that's the hardest part, right?
- 13:24Like it's just I like I was not a software engineer before I
- 13:26came into this, right? I'm like that traditional
- 13:28engineer building, you know, literal things.
- 13:31And then have to kind of slowly move my time over here and
- 13:33networking to this day. Still just kind of haunts me.
- 13:36I feel like, like it's just it's something that no matter how
- 13:39many times I've done it, it's still That's, that's the
- 13:42correct. There's a lot of that obviously
- 13:43going on in a curious platform. So, I just got to kind of like
- 13:47that would be the biggest thing for me.
- 13:48It's always been. It's nice to hear those the same
- 13:50thing for you. So that's, yeah, the amount of
- 13:52times I've heard people talk about headaches with Ingress,
- 13:55as, you know, if I had a dime for every time that I heard that
- 14:01I would be a rich man. But so then, let's like, jump
- 14:05into doing machine learning on kubernetes and how you got into
- 14:08that Ruffin, like what you're looking at.
- 14:11At, when you start to see, okay, kubernetes has all of this
- 14:16potential. I'm all in on the cloud, I'm all
- 14:19in on kubernetes. And now I'm going to not only do
- 14:23my analytics on there, I'm going to try and do more and more
- 14:26machine learning workloads. What are some things that came
- 14:28up and still to this day come up like what are some pains that
- 14:33you're having when you're doing that?
- 14:37Yeah, sure I think it's an interesting question, right?
- 14:40The think for me the it's a bit newest rides.
- 14:45I think right now. The vision of the challenges
- 14:51getting extended of the challenges and implications that
- 14:54you have. When you're running machine
- 14:56learning, that is is quite different.
- 14:57From when I started writing, I have these efforts of trying
- 15:03things and breaking stuff, you know.
- 15:06So it was Almost like tomatoes was untamed land, but at the
- 15:10same time, sometimes people myself included are just naive.
- 15:15Okay, I'm gonna spin up. This is deployments and I'm
- 15:20gonna pack if my mother was a container, everything is going
- 15:23to work hunky-dory, right? And and then you start to learn
- 15:28about things like secret Secrets management.
- 15:33How do we scale these to Enterprise level as well?
- 15:36Right? Because one thing is you are
- 15:39working in a small team of five people and usually not a cluster
- 15:45own AK as over. Eks races, most likely it's
- 15:49going to be fine, right? But when talking about machine
- 15:53Learning Center of Excellence was talking to, to Ryan before
- 15:57we started, one of the places I worked.
- 16:00They had this interesting concept of a center of
- 16:03excellence. Specialized in Korean Ellis, One
- 16:07of the reasons because they were be gone machine gun and the
- 16:10communities. So, in this case, you had this
- 16:13team who were like, The Gatekeepers of communities, but
- 16:17they were also like internal Consultants, you kind of chain.
- 16:21So they provided a blueprint. All the cicu pipelines, all the
- 16:25helm charts, so that you could do your own thing, and it was
- 16:29100% automated points. 0 0. Manual Intervention, which is
- 16:35also something that you You don't think writing the
- 16:38beginning, right? And it's even a healthy
- 16:41sometimes not to consider that because sometimes you just want
- 16:46to run an India, right? And I think my biggest takeaway
- 16:50is you might be tempted tempted to start things as an MVP in
- 16:56curing edges, and to keep things like that and then you just
- 17:01learned that it's not enough when they breaks, right?
- 17:05Then so things are able to Dicked.
- 17:07Some of the things are just common sense, right?
- 17:12I can't just give a quick kick this example in terms of
- 17:15workload estimation, if you do a bank, like, at the envelope
- 17:18calculation, you can say, okay, I need to have at least three
- 17:22notes to have high availability, each of them with 16 gigs of
- 17:27memory and so on. But things start to get more and
- 17:31more complex and you start to, you need to scale at some point,
- 17:38and then, yeah, the challenges are different.
- 17:44So I want to follow up with that a little bit.
- 17:46Yeah. There's a lot of pain points,
- 17:49right, and we can get to the like it's deep depth in those
- 17:52but my first question would be, what is I mean, in your opinion,
- 17:56why is kubernetes a good platform for ML?
- 17:59Or is it or right? Do you need like what kind of
- 18:03extra support? I don't have a lot of things but
- 18:05like why is it a good platform for getting 4 ml?
- 18:08Yeah, that's that's a great question.
- 18:10So I am quite but I need to make a disclaimer first.
- 18:15I'm quite passionate about Community, as you could tell me
- 18:17you're going up. You're gonna be riding these
- 18:19demo files like oh Ray discussion.
- 18:21Are you gonna you gonna be doing that all day long?
- 18:23I'm going to be the happiest guy on Earth to do things and to
- 18:29enter cabin. That is it's amazing for, it's
- 18:33definitely my cup of tea. But why do I think is a good
- 18:39platform for machine learning? I think it gives though, as I
- 18:43was saying, you can actually be to my predecessor, right?
- 18:45He gives a lot of power. And also related to the
- 18:49elasticity that we were talking about robot rate.
- 18:53Gives you a lot of power, gives a lot of flexibility and the
- 18:57isolation is also there, of course, right.
- 18:59Because in the end of the day is a container orchestration
- 19:01platform. I think the combination of these
- 19:04three make makes it quite powerful for two things, not
- 19:10only for production ization, but also for something that we all
- 19:16need, which is reproduce ability, right?
- 19:19One thing is to I am a data scientist in wanting I create my
- 19:24own Docker image to package model.
- 19:29I've seen places that they were quite happy with running these
- 19:33in a Docker engine running in a virtual machine, you know.
- 19:37But then you're pretty much limited to the kind of Stack
- 19:41that you have running in the machine.
- 19:42Whereas if we transport them to the communities world, you can
- 19:47simply say, Okay, I want to add locate 16 G GB because these
- 19:53other guy was using the same amount of memory 4 CPUs and so
- 19:57on. So I think this power and this
- 19:59flexibility allows you to To reproduce most most kind of
- 20:04experiments by controlling. This is that pertain in my
- 20:10purse, I could be a combination of the three.
- 20:13Just one follow-up then. So to kind of continue with
- 20:17that, then this is something I've continually trying to kind
- 20:20of form an opinion on myself, but it's obviously I agree with
- 20:23you community is a great platform for ML but is it always
- 20:28the right answer and what if what does the team composition
- 20:32or what does that the organization look like, where
- 20:34it's the right answer? I'd like to hear like your
- 20:37thoughts on on that one. Yeah.
- 20:39Now that's a fair question. I think we were in America where
- 20:45nothing is really exact science, right?
- 20:48Despite this B of the classical conventions, right?
- 20:55And I don't either assume, there is a silver bullet.
- 20:58I think we've been at is is it's not different.
- 21:02I think I'm going to give two examples.
- 21:06I've worked in companies with these two types of landscape so
- 21:11you'll have one company. Where teens are isolated.
- 21:16Each of these teams are doing their own thing and your team?
- 21:20Particularly no one knows about Renee's, that will knows knows
- 21:23what it is. No one is able to support it.
- 21:29And I was crazy enough to spin up looking at is clustering in
- 21:32this type of setting. It was, it was a huge
- 21:35experience, but your mileage may have arrived at the need to be
- 21:39either. You need to be willing to
- 21:42support these that old saying, right?
- 21:45You build it, your own it. Or you need to get the buy-in
- 21:51from people, like some kind of commitment in a way that you
- 21:57know, that someone will supports that stack at some point.
- 22:01And it's not, it's not easy to find people know it work.
- 22:04So I think just to wrap up this first part, if you don't have
- 22:08enough maturity and at the same time, if you don't require that
- 22:12level of scale, you might be Pretty okay, before running
- 22:18Docker in a virtual machine or a couple of virtual machines and
- 22:22that's pretty much it. On the other hand, if you have a
- 22:28mature organization, you should need to scale.
- 22:32But at the same time you know that you're going to be able to
- 22:35get the right amount of investment and the right amount
- 22:38of enablement, then I would say go for it.
- 22:43You sure if you are okay with that idea, Of supporting it
- 22:47because let's be honest. He's also a complex Beast to to
- 22:52support it, right? I think for any blind stuff,
- 22:55it's amazing. Now when it comes to supporting
- 22:58it for Mission critical applications, 24/7 stuff.
- 23:02Yeah, you need to be aware of what's part of the game.
- 23:06If you are, if you are aware of what's needed, and you're fine
- 23:09with that, you're not having any problems with him at night, then
- 23:13I would say go for it. I mean, how many times have we
- 23:17heard that story of just the loan data scientist, that now
- 23:22needs to figure out kubernetes because they can't get devops
- 23:26resources, or devops is too busy to give them the time of day and
- 23:31they want to show some business value with all of these jupyter
- 23:34notebooks that they've got and so they're trying to figure out
- 23:38a way to do that. And next thing, you know, they
- 23:42learn kubernetes and it's like six months later.
- 23:45Seven months later. And they start getting into
- 23:47these networking issues, or they start banging their head against
- 23:50the wall, because it is a beast. And, as one past guest, Brandon
- 23:56said he was like, yeah. Kubernetes is a beast, but I'm
- 23:58so happy for it to be this Beast because it allows you to yeah,
- 24:04exactly. Like it is so crazy to just sink
- 24:08your teeth into it, but I need that kind of that horsepower,
- 24:12you know, I need the oven to bake that hot for me to be able
- 24:15to do What I want to do. So exactly.
- 24:19And I think it's amazing when that happens.
- 24:22I when I hear these kind of stories, unfortunately, I don't
- 24:26hear a lot, but when I see those things happening, there are
- 24:30little scientist rolling up the sleeves and learning community.
- 24:34And is I think to myself, well, let's talk to this guy.
- 24:38Aaron. And I think the framework itself
- 24:43has evolved a lot over the years.
- 24:45So now these Kind of things are possible, Right?
- 24:47But I think there's still a lot to to overcome.
- 24:51I think, let's, let's be honest, right?
- 24:54I'm curious for you for the experience.
- 24:55You guys have as well for fun, your conversation to have, but
- 25:00also from from, from your experience of work, but in my
- 25:04experience, not a lot of people are using to invest the time to
- 25:08learn it and Even you even have some tools which promised to
- 25:14make these this transition smoothly.
- 25:18For some of the other day was given us in.
- 25:19I'm Elvis in and was quite quite amazed way.
- 25:23It should be honest. So I think one of the biggest
- 25:26purposes for it instead is to is to remove this frictionless are
- 25:30right from from the modeling and experimentation part to avoid
- 25:35additional Parts kind of encapsulate these this overhead,
- 25:39all these things you need to know but Are you still have some
- 25:44other responsibilities? Yeah, I think the best story of
- 25:49this that I've heard is and it's still is hands-down, my favorite
- 25:53introduction in the MLS Community slack.
- 25:56This guy Alice alone, o came in and he said, I was a happy data
- 26:01scientists. And so my boss told me I need to
- 26:03deploy the machine learning model that I created.
- 26:06And now I'm like, in here, I find myself in this ml, Ops
- 26:11community. And next thing you know, we
- 26:13actually interviewed him probably like six months back.
- 26:17He's like, yeah, I'm not really even a data scientist anymore.
- 26:19I'm so into this whole engineering thing.
- 26:23I kind of like hung up my jupyter notebooks and now I'm
- 26:26just getting into the raw code and so it's cool to see that.
- 26:29That is possible. I do agree with you that that's
- 26:32a little more few and far between and I know a lot of data
- 26:37scientists who are happy just saying like, here's my jupyter
- 26:40notebook. Do You want with it.
- 26:42I just want to know if my accuracy score is what I think
- 26:46it is when I was training it and, you know, like everything
- 26:49else you take care of two. And so, then that that is
- 26:53probably the cultural side of ml Ops that we need to talk about
- 26:59more, you know? And we need to have people
- 27:00understand. I really like how you and Nick
- 27:03Wilson talked about it when he came on the MLS Community meet
- 27:06up one time the virtual meet up and he mentioned how there is a
- 27:11A difference. Now that he sees with,
- 27:13basically, because of the ml Ops movement, people start to
- 27:18understand like a data scientist, a data engineer and
- 27:21ml engineer. And SRE, they all kind of speak
- 27:24the same language. And there's not clear borders of
- 27:27where one stops and the other starts.
- 27:30It's almost like this. If you were looking at a picture
- 27:36frame and in the first picture on the left, you have all of
- 27:41These colors that it's just like, yellow blue black white.
- 27:45And it's very clear where one color stops and the other color
- 27:49Starts. Now what his way of seeing it is
- 27:53like now it's almost like a gradient where you're not really
- 27:57sure which one starts in which one stops where and that is an
- 28:03incredible view point and I think that's like what we try to
- 28:06Aspire for and you're probably in a healthy organization if
- 28:10that's how You're doing things right.
- 28:12Like if everyone can kind of take a little bit of weight off
- 28:15of the other person or their job function, doesn't necessarily
- 28:19sit right in this one spot and then everything else is not my
- 28:25problem. Yeah, exactly.
- 28:27I think you hit the nail on the head there and I also think it
- 28:32also depends it's interesting right?
- 28:34Because we starts to connect to a bit more, let's say
- 28:37philosophical aspects, right? So the company culture thing
- 28:40that they say, Each part as well.
- 28:43If people are stimulated to try new things, people are supposed
- 28:47to help each other to step outside of their comfort zone.
- 28:51Dan that kind of situation described.
- 28:56It's naturally going to happen. All right?
- 28:59But you also have places where usually people are not a
- 29:03simulated or they're not they're not stimulated to get outside of
- 29:08your comfort zone. Organization related to do.
- 29:11To help each other or to try anything.
- 29:13Sometimes, they're even penalized for trying new things.
- 29:16Yeah. So in this kind of this in this
- 29:20kind of setting it's natural that each person is going to
- 29:24protect your own third, right? I do my data science, you know I
- 29:28don't wanna do my mom. I remind all those.
- 29:31I create my wildest dream and models.
- 29:33I don't want to be the one who's going to be called up at night,
- 29:35you know, if he's stopped working.
- 29:36So my work stops here. Here is your jupyter notebook.
- 29:41Now, it's your job to bring the mother from Jupiter back to her,
- 29:44you know. I'm just gonna like, Echo like a
- 29:48lot of these things. So, my experience, right?
- 29:50Like one, you're right. I really, I really maybe it's
- 29:53because I'm like this person, but I really enjoy the idea of
- 29:56that breaking those barriers, right?
- 29:57Because that's where I think like you said the company, like
- 29:59a culture that has that where everybody's understands to some
- 30:04degree, right? It's going to be very but they
- 30:06understand what is required to take their idea to, you know, to
- 30:11production, let's call it, right.
- 30:13So I think that that is Well, and I gotta say the, the data
- 30:17scientist that, you know, rolls up their sleeves and starts to
- 30:20get a little, get their hands dirty a bit.
- 30:22And and the software side on the engineering side of things,
- 30:25that's I think that's healthy, right?
- 30:28Especially if you're going to be working with s res machine
- 30:32learning Engineers, right? It's important that you look,
- 30:35everyone tries to speak that same language like here.
- 30:37So that's just icing. That's where the most success
- 30:39successes as well but yeah, this is awesome.
- 30:44No, I mean, It's exactly at that, right?
- 30:46And I can also Imagine, I think, I think it's definitely a
- 30:49win-win situation because like something, let's say that I'm
- 30:51wishing like an engineer. And in the beginning, we have
- 30:55these way of working where each person sits in their home, in
- 31:00their own, Silo are scientifically trained mop.
- 31:03They just train models and they bring bring to us in writing is
- 31:08okay, here is your declared. So this is one thing.
- 31:12Another thing which is completely different is is the
- 31:15singular scientist coming to you and saying hey can we do a code
- 31:18review together? Can you give me some pointers on
- 31:23how to make this better? Can you show me?
- 31:25How how you do your work? Why I say?
- 31:30This is a win-win situation because for the data science is
- 31:33learning learning opportunity and for me as a mushroom are
- 31:38engineered to see their kind of Interest, that's the definition
- 31:42of teamwork, right? You're not just coming.
- 31:45Hey, judges for me, it's not a production line kind of thing,
- 31:48you know, it's actually a collaboration.
- 31:50So I think. Yeah, the chances of
- 31:54Effectiveness in this case are much bigger.
- 31:57And I think this doesn't apply only for mushroom, or
- 32:00engineering and the decisive generators and give advice was
- 32:04for everything so I think. Yeah, no.
- 32:08I totally totally grid that, right?
- 32:10Like that these thing I got skills kind of applies for a
- 32:14lot. I I want to dig a little bit now
- 32:16because I think we've talked a little bit about kubernetes,
- 32:18right? And talked about it, but we do
- 32:19you also work for data bricks? So I had this question.
- 32:22This is my first question actually wrote down before this
- 32:24is the one to ask you. So when does it make sense?
- 32:28This is stuck on the same theme, right?
- 32:29Well, when does it make sense to use a tool like data bricks over
- 32:33some open source software? I'm kubernetes.
- 32:35Like, where is where is that? Kinda goes back to my original
- 32:39question. Like, what is the type of team
- 32:40dinner? So where does database come in
- 32:41help? And how has it changed, right?
- 32:43It's been like a year and a half since I've really done.
- 32:45A deep state of bricks as a single platform, right?
- 32:47So I think I'm sure there's been a lot that's changed since then,
- 32:50but I'm curious to know from where does it make sense?
- 32:53Like when does it make sense to use a tool?
- 32:54Like a two bricks over just going through open source in
- 32:56case? Yeah, I noticed that's the
- 32:59social good question. It's interesting to think about
- 33:02this because I've lived both forearms, right?
- 33:05So I was running Community supposed to before to deploy
- 33:11machine learning, and now if they do break, so we have I want
- 33:15to serving version 2.0, which is basically serverless, real time
- 33:21points and we deploy that started as someone ringing
- 33:25hearing through the flame that basic idea for
- 33:30platform-as-a-service. Some people call the platform as
- 33:34a service of stuff to service. So I think, in a way the same
- 33:37kind of Advantage is apply right?
- 33:40Sometimes for example, what makes you go with deploying your
- 33:44Your own Patrick after cluster instead of running all Conflict.
- 33:49For example, a bit of the answer is quite similar, it's if you
- 33:56don't want to manage it, if you don't have people who are
- 33:59skilled in that type of technology and you don't want to
- 34:02have the kind of overhead, I would say that it definitely
- 34:05makes sense, but I think in the case of data Briggs, there is
- 34:07one important of these share rides.
- 34:11I think for a long time, our vision has been to be our goal
- 34:18to go to platform for doing all things machine learning, right?
- 34:21So I think one of the northern stars is that the less
- 34:25platforms, you need to manage the more you can focus on your
- 34:29data and on your respective business out of this is value on
- 34:33a theoretical. So I think the choice in this
- 34:38case is pretty much in line with that, right?
- 34:42I think, if you, if you see the value in shifting, this this
- 34:50effort from managing this platforms to To running this as
- 34:56a service so that you can focus on other things.
- 34:59I would say, that's the biggest big difference in kids in this
- 35:02case, the biggest Advantage. Okay, so here's like the
- 35:05point-blank question. Now, I come to you and I say,
- 35:09all right, well, I have a spark operator.
- 35:11My kubernetes cluster. Why?
- 35:13Why do I need a brace? What does it give me?
- 35:16What else do I gain their? Yeah, that's a, that's a good
- 35:18one as well. So I think Again, part of the
- 35:24answer is the same. You, you won't have the overhead
- 35:28that you that you have. I don't know how much overhead
- 35:31you have actually been since your mileage for rice, but I've
- 35:35seen companies that have 50 people to manage a sparkle
- 35:41surrounding communities. Or their companies, ten people's
- 35:46public companies with one person.
- 35:50But I think the fact is you willing, That that overhead.
- 35:54That is a fact, right? And on top of that, I think from
- 35:59a functionality functionality perspective, you have other
- 36:04bonuses for example, Photon acceleration, which is something
- 36:07that's part of the offerings that we have a little bit
- 36:09strongly. It's not part of the open source
- 36:12version, but I think the third in the biggest one is she
- 36:18related to the idea of centralization, right?
- 36:20So you don't need to move. Move between different silos,
- 36:25different platforms, because everything is running inside the
- 36:28same box, so that don't works. A lot of a lot of benefits.
- 36:33When all your data is in the same place, but also all your
- 36:37most of your underlying infrastructure is in the same
- 36:40place, we have a seems to worry. And yeah, thus less over it.
- 36:48So I would say it is the biggest My name's Alvin structure and
- 36:54I'm head of machine learning engineering at origami energy
- 36:57here in the UK. And I'm bothering you today to
- 36:59recommend. You subscribe to the ml Ops
- 37:02community of cast to give up to date a lot of the brilliant
- 37:06goings-on, within the community get Goods.
- 37:09What some of the greatest minds, of course, the amount of space
- 37:12on top too. It's funny that probably like
- 37:17six weeks ago, I was in New York and I met up with a Cheeto who
- 37:21also has been on here in the Podcast.
- 37:23And we were joking that spark engineers in big companies.
- 37:29They can do absolutely nothing but they are so vital to those
- 37:33companies that they're like, hiding in plain sight, you know,
- 37:37you could sit back, get this, huge paycheck and really be like
- 37:41the linchpin for that whole company because of the value
- 37:46that spark hasn't and what you were talking about like that
- 37:49overhead and potential like basically Business is running on
- 37:55top of this. Like all of these use cases that
- 37:57are running on top of it and if spark fails, you are SOL.
- 38:02And so, but I kind of wanted to shift gears a little bit and
- 38:06jump into something that you were talking about when it comes
- 38:09to like the best way to structure and promote code
- 38:14across experimentation and exploitation environments.
- 38:19Because I feel like that's something that We see a lot of
- 38:24especially like I think about the Google paper or the Google
- 38:29like best practices of ml Ops, right?
- 38:32Where they talk about. Here's the level 0.
- 38:34Here's level one. Hears, level two and level.
- 38:38As soon as you get to level one, there's like that separation
- 38:41between the two environments. And so have you seen or have you
- 38:46tried to recognize some patterns or some ways that work best when
- 38:52it comes? To promoting the code between
- 38:54those two environments. Yeah.
- 38:57Yeah, this sort of anything interesting question that you
- 39:00were saying about these favorite from Google.
- 39:02I think I recently Microsoft has also published something instead
- 39:06of 3, they talk about five. Yeah, sure, yeah, totally.
- 39:11I don't remember exactly what, what are they but yeah I think
- 39:17people's companies people's ways of seeing this.
- 39:22They are changing quite fast rate.
- 39:27I think again, I think there is no silver bullets.
- 39:31If you pretty much depend on the kind of I always like to think
- 39:34about the kind of problem that you're trying to solve, right?
- 39:38You have you can deploy code across different environments,
- 39:42but you also have some some companies who just train a model
- 39:46in experimentation and just promote the mothership
- 39:49production rate and they are fine with them.
- 39:52So I think I think just to illustrate the difficulty in
- 39:58saying, what is what is the best way?
- 40:00So just to try to make this more concrete, if you are operating
- 40:06in that tightly regulated environment really critical, you
- 40:12cannot afford for things to stop working.
- 40:16Let's say, for example, you're running fraud detection module,
- 40:20if the module stops for 10 minutes amazed, Your lose
- 40:22millions in Revenue that will dictate in my perspective, the
- 40:27amount of of, of complexity like say or features that you have
- 40:35when it comes to these pipelines to to promote these models from
- 40:39exploration to us, but to West radiation.
- 40:42So thanks for example, unit. Testing integration testing AV
- 40:47testing, which is something not all companies do it, right?
- 40:51And then some companies do They also go an extra mile and do
- 40:54some things, which are even more sophisticated like, do some
- 40:57sampling? For example, they want to really
- 41:00make sure that the extracting, the biggest performance as
- 41:06possible. And for that, they want to
- 41:07battle test all these model versions.
- 41:10So, I think your particular needs and your scenario are
- 41:17going to are going to be faced that Yeah, that's that's what I,
- 41:24that's the way I like to approach things not only in
- 41:26terms of this problem, but also I think machine learning
- 41:30problems and generate. And when you think about the,
- 41:34these trade-offs, that are like the flexibility verse Simplicity
- 41:40or the Impact versus complexity verse ease of use all of those
- 41:45trade-offs that you're juggling in your head when you're looking
- 41:49at a platform and putting, Together.
- 41:52Something that is end-to-end. How do you rationalize each one
- 41:57of those questions? And let's take it because I know
- 42:00it. Totally is specific to each use
- 42:02case. So if we were going with that
- 42:05fraud use case let's like take that as our example because I
- 42:07think that is a fairly common use case that a lot of people
- 42:11are dealing with and it is very Mission critical.
- 42:15Yes. Right.
- 42:15For this case, for instance, if I, if I if I were in charge of,
- 42:22According to some, some system like that up.
- 42:24I would want to be as restrictive as possible, right?
- 42:27So only pull requests to merge codes to the to create a new
- 42:34release reviews from at least two people to March these.
- 42:42These poll request and so on. And I think I should have read
- 42:45about it in this kind of, when you are, when you reach that
- 42:49kind of restrictiveness or to give you this, but positive
- 42:52turned that level of maturity, it starts to look a lot like to
- 42:56look a lot like a mature software development.
- 42:59Process, right? You have what reviews you have
- 43:02code reviews, you have four, I principle.
- 43:06So in this case I want to be more adversity as possible and
- 43:13the reason for that is that the stakes are really high.
- 43:16I don't want to be the guy in charge if something stops
- 43:20working right, the impact can be huge.
- 43:25So in this case, this is kind of the approach that I would try to
- 43:28done. But you also have other things
- 43:30that you need to have my rights. Yeah, you're not able to be
- 43:34these two to reach this level of maturity.
- 43:36If you don't have the right resources, if you don't have the
- 43:41right team and the right knowledge, so, It's also it's
- 43:46also not something that happens overnight.
- 43:47It's make it more of a changing mindset then That's something
- 43:53that girl for the short term. Well, I like that, you're
- 43:56talking about how it resembles a mature software architecture, or
- 44:02a mature software organization, where do you think it doesn't
- 44:06resemble that like what parts are different?
- 44:09I think, I think the way I see it on a high level perspective,
- 44:14so we've softer you only have one type of artifact, which is
- 44:18decoded celebrate mushroom. I mean, You have the code
- 44:23artifacts. So in this case there is a lot
- 44:26of an overlap with software development and software
- 44:29engineering but you know you only only one artifact.
- 44:32We have three types of artifacts.
- 44:34You have the also have models and you also have the data of
- 44:38course. So I need to manage and to have
- 44:41a process that is comprehensive enough to cover all of the tree.
- 44:47And each of the tree are different disciplines.
- 44:49If you cannot write for The models, you are worrying.
- 44:53If the model is going to be perform attic enough.
- 44:56If the metrics are good, if latency is low enough, depending
- 45:00on use case, right? For the data, you are concerned
- 45:04with data quality with Pii how you manage pii data for
- 45:11instance? So yeah, there are more nuances
- 45:16than when you went to look into subject.
- 45:18You're right. Not saying the starting Jerry's
- 45:19easy or anything like that. Is just there more disciplines
- 45:23involved, what you're talking with your apps like reading a
- 45:26centre-right with different. There's more artifacts to deal
- 45:29with when you're talking about ml.
- 45:31So in your opinion, what is what has been the best way to deal
- 45:36with. Those artifacts like obviously
- 45:39with code is probably, you know, you've got your using your repo
- 45:42when it comes to a model. Right?
- 45:45What where are you, what are you doing with that model?
- 45:48How do you treat that model house Version Control, work that
- 45:50model. These are questions.
- 45:51I'm constantly asking myself all the time.
- 45:53Like, what's the right answer there?
- 45:56Yeah, that's a big challenge, actually.
- 45:58I think if you have two different 10, different teams
- 46:01are going to give you a different answer, right?
- 46:04But I think this is also, we're having a centralized platform
- 46:13place. Has a huge impact, right?
- 46:16Because for example, if you are training, your models and
- 46:20serving your models and tracking your experiments and runs in the
- 46:26same place in your future stories in the same place, then
- 46:30you could simply open up your mother registry.
- 46:34And then for each of your models, for instance, you could
- 46:37see now, L metadata associated with tamago but also what kind
- 46:41of features where you to train the bottom and that is huge.
- 46:47If you have on top of that, if you know what version of the
- 46:52data was used to train that model, let's say that one week
- 46:55for now your data is not the same but you still want to take
- 47:00a look into that type of data that was used to change your
- 47:03model because things now they change very fast, people leave
- 47:07Companies people join companies to have the kind of traceability
- 47:11and that kind of a track record is is a game changer.
- 47:15So I would say again I want to be myself and saying yeah
- 47:21there's those everybody but for instance if you want to to have
- 47:26the full features that when comes to the visibility of these
- 47:31artifacts, I would like for example, to see to have
- 47:35information to have the metadata about the data I used to train
- 47:38the modules about the Matrix, The Matrix in hyper parameter.
- 47:42I think having these tracked, it sounds like a commodity these
- 47:47days, right? I think it's the basics to have
- 47:51some kind of disability but also you will want to know who
- 47:55trained is model, who changed this model, which is even more
- 47:59important, right? And, and last but not least also
- 48:04to have some safeguards to Guy who can prove more do promotion
- 48:12from staging to production for instance, right?
- 48:15When was model X promoted from development to staging and when
- 48:20was it promoted from staging to to production to have all these
- 48:27This Treasure Trove of data, I wouldn't say today, that is a
- 48:32luxury. I would say more and more.
- 48:34This is becoming quite essential, not only to keep
- 48:38stability of machine learning systems, but also for explain
- 48:42ability. For instance, you need to know
- 48:45what data was used rain or model to have to provide us with the
- 48:50ability, to provide fairness and so on Yeah.
- 48:53And actually one thing that's funny and Ryan, maybe you have
- 48:57some thoughts on this too, is I know that I've talked to and
- 49:02when the so the company that I was working for in 2019 that was
- 49:09doing ml Ops. We were hearing a lot of people
- 49:12talking about our back and how necessary our back was for what
- 49:17they needed to do. And I'm wondering if like I feel
- 49:21like that is still The top of Mind, especially when you get to
- 49:24larger organizations, have you all like do you all think about
- 49:28that as something that is a must-have?
- 49:31Or is it is it like a nice to have?
- 49:34How do you see that? And so, I Ryan or rough a jump
- 49:38in, it's going to be a free-for-all here, just dog
- 49:42pies. All right, all right, I think
- 49:50based access control is Extremely important, right?
- 49:54Like, you've got to ensure that just like based on.
- 49:59Like, what is your role in the cluster?
- 50:01What is it? You do.
- 50:02What is your role in the team? It all in all matters, right?
- 50:04And how that's handled today. I'd probably it's definitely
- 50:06evolved. Right, there's definitely more
- 50:08tools with the cloud vendors and such that provide, you know,
- 50:11ways to kind of connect that up to your cluster and make it
- 50:14easier to use the I am. And what not?
- 50:16But yeah, it's absolutely like a necessity.
- 50:19I would say, I don't think that's something you can get
- 50:21away from, obviously it. With stone headaches and that's
- 50:24the. So if networking is the is the
- 50:26hardest thing to me if you're ready ease that is the next
- 50:29part. Is the security shy that.
- 50:31I like the new bad all the time it's just like oh yeah it's the
- 50:34docks. Yeah right so go ahead or off
- 50:36to. What do you what do you think?
- 50:38Well, have a percent and I completely agree.
- 50:41I think 100% I our bike is also. One of the things is becoming.
- 50:49Now, it's shifting from a luxury.
- 50:53Some extra feature to sense that I, that is a century because the
- 50:57impacts can be there are multiple impacts.
- 51:01If you don't have. It doesn't necessarily mean that
- 51:05that you cannot run a mail without it.
- 51:08You can. But you need to be aware of the
- 51:12consequences. And I think I would add one
- 51:16other aspect, because I think a lot of times we deserve it.
- 51:22The data Community. We talk about data lineage, but
- 51:26we don't talk a lot about model image at least part of the
- 51:30circles around part of, which is equally important, right?
- 51:35For example, if you can watch the life cycle of a model, most
- 51:42likely was a child when it's born, it doesn't know how to
- 51:45read it starts. Walking starts, talking really
- 51:50simple, really simple. Arms and then becomes these
- 51:55really smart adult. You know, if you know what kind
- 52:00of school this person I did modeling this case, what kind of
- 52:04what kind of course is our classes.
- 52:06They move into that can be quite quite useful, right?
- 52:11Who who were the people? Who taught?
- 52:15Who taught this model, all the tips and tricks you know all the
- 52:20right stuff but also all the wrong stuff.
- 52:22If if if you know, if you're able to pinpoint all of these,
- 52:26that can be quite quite powerful and I'ma, and again, I'm also
- 52:30really sure that pretty soon. This will be mandatory, this
- 52:34will not be an option. So for modeling is just like a,
- 52:40you know, obligatory plug for like ml flow or something at
- 52:43this point or what? Sorry side comment there.
- 52:47But what are your best? What are your favorite tools for
- 52:50modeling? He is I'll just I'll have that
- 52:53give you a softball like a softball?
- 52:55Yeah. Let me think of us.
- 53:00No I think ml. So I'm not going to lie.
- 53:06I mean, I completely honest. In terms of maturity, is one of
- 53:10the most mature tools out there. But I think the moment that we
- 53:16are in these, dangerous tree is so is so unique.
- 53:20Because you have so many people doing really nice things, this
- 53:24in this Arena and I'm not even talking only about modeling age
- 53:27or experience tracking and so on there you have weights and
- 53:30biases which is an awesome tool comments, which are never use,
- 53:35but they seem to be doing with my stuff.
- 53:40So it's quite it's quite exciting.
- 53:44All of these tools, they have their Niche application for, I
- 53:49think we're. And also that really excels is
- 53:53one in the maturity and to is it is quite comprehensive as well,
- 53:57so you can basically strength and register almost all types of
- 54:03models out of the box and bury you talking.
- 54:07Something like okay, you write one line of code enable auto
- 54:11longing and and Bam. That's it.
- 54:13You're really you're logging everything.
- 54:17So this is quite powerful. Yeah that's killer yeah.
- 54:21Shout out to Cory and Ben who are on that team.
- 54:24Working hard on the ml flow the whole project there.
- 54:29Now Rafa man, this has been awesome.
- 54:31I thank you so much for coming on here.
- 54:33We're going to have to wrap now. This is top notch.
- 54:37Everyone that wants to learn more about Rafael.
- 54:41I highly encourage you to check out his website where and blog,
- 54:45I guess you could call it. It's ml Ops how to rap it
- 54:50writes, a lot of thought pieces and a lot of tutorials and a lot
- 54:53of just great stuff in that blog.
- 54:57So check it out. Will leave a link to it in the
- 54:59description and if you enjoyed this podcast, you know what
- 55:03would be awesome. Tell your friend share this.
- 55:06With one person on the The internet and we will happily
- 55:11thank you for doing that, so that's it.
- 55:14Thanks y'all. Thanks.
- 55:18Thank you.