Latest / Talk Python To Me / #113: Dedicated AI chips and running old Python faster at Intel
Transcript
- 0:00Where do you run your Python code? No, no, no, not Python 3, Python 2, or PyPy, or any other
- 0:04implementation. I'm thinking way lower than that. This week, we're talking about the actual chips
- 0:10that execute our code. We catch up with David Stewart and meet Suresh Srinivas and Sergey
- 0:16Midnav from Intel. We talk about how they're working at the silicon level to make even Python
- 0:212 run faster and touch on dedicated AI chips that go beyond what's possible with GPU computation.
- 0:27This is episode 113 of Talk Python To Me, recorded live at PyCon 2017 in Portland, Oregon on
- 0:36May 19th, 2017.
- 0:55Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the
- 1:07ecosystem, and the personalities. This is your host, Michael Kennedy. Follow me on Twitter,
- 1:12where I'm @mkennedy. Keep up with the show and listen to past episodes at talkpython.fm,
- 1:17and follow the show on Twitter via at Talk Python.
- 1:20This episode is brought to you by Talk Python Training and Hired. Be sure to check out what
- 1:25we both have to offer during our segments. It helps support the show.
- 1:28David, Suresh, Sergey, welcome to Talk Python.
- 1:31Thank you very much. Great to be here. Thank you very much.
- 1:35David, you were here. We talked in the early days of the Intel Python distribution,
- 1:39and you guys have a lot of new things to discuss that you've done in the whole Python space. In addition,
- 1:46you know, with the Intel Python distribution, but also with other things, right?
- 1:49Yes, that's right. Yeah. We have a lot of, I mean, yeah, about a year ago when we talked the first time,
- 1:55we had really put the plans in place for not only our upstream contribution to Python,
- 2:01Python. We were also doing a lot of work with PyPy, the JIT interpreter for Python, as well as the
- 2:07Intel Python distribution. Since then, we've released the Intel Python distribution, and we've had some
- 2:13very significant, you know, upstream contributions and some proof points with some customers that have
- 2:18been showing some very positive things. So yeah, you know, not to repeat maybe last time, but just to
- 2:25say, generally speaking, if you're doing scientific computing, the Intel Python distribution,
- 2:30particularly things like using pandas or scikit-learn or numpy, scipy, these are all things
- 2:37that really work together very well with this Intel Python distribution. And it's a sort of a one
- 2:41distribution, just download and install the whole thing as one, right? So not a lot of messing around
- 2:46with it. We also have significant proof points with PyPy. In particular, we were showing off a doubling
- 2:53of throughput of like OpenStack Swift with PyPy contributions we had made. And that's, you know,
- 2:58so that means faster throughput, less, more users being able to, you know, being maintained and
- 3:04things like that. So that was a year ago.
- 3:05Yeah, that was a year ago. And when you say you're doubling the speed with PyPy, does that mean the
- 3:10contributions you've made back to PyPy now result in going faster? Or is that somehow running the Intel
- 3:16Python distribution on PyPy?
- 3:17It's actually so the Intel Python distribution separate from PyPy, right? So we do we have two major efforts from a year ago that we're doing upstream open source contributions, and the Python distribution, which is a program product, right? Right, right, right. So what we had the doubling actually was just initially,
- 3:26initially out of the box, let's see what PyPy gives us. And we were stunned that we got, you know, twice the throughput and like 80% better response time on Swift, just out of the box. And that said, Oh, let's start doing some work, you know, to actually optimize this thing and make it better and try more sort of proof points with other real customers, right? And since then, as well, the Python distribution,
- 3:45has had a lot of proof points with customers. I think you've had financial organizations, right? Financial, oil and gas, government organizations, a lot of different usages.
- 4:07Yeah, it's great. So okay, so yeah, that's, that's a really cool that you guys are working on that. I know we're not just talking about the Intel Python distribution. But let's dig into that just for a minute, like, is that basically CPython forked with some changes in the middle? Or like, is it a from scratch implementation? Or how does this relate back to CPython in terms of the beauty of Python, right, is it's a language specification and sort of the sort of standard implementation CPython, right? But it's very open
- 4:37to any number of any number of other right interpreters or implementations of the language, PyPy being one of them. And it's basically a JIT, which means a just in time compiler, which means that instead of just interpreting the byte code from Python, it actually generates native code, any opportunity it can for the hot parts of the program. And that's incredibly helpful strategic, because then we can make use of a lot more processor instructions, make use of more processor parallelism.
- 5:07Yeah, okay, that sounds, sounds great. Suresh, were you involved in this Intel Python distribution work?
- 5:37So we can deliver some workloads, and then optimize, start optimizing the CPython itself. So we have things like profile guided optimizations, and link time optimizations that have now become defaulted CPython.
- 5:49Tell us a little bit about the profile guided optimization. So what you do is you run in a profiler, and then you somehow feed that back to the compiler?
- 5:58So profile guided optimization is very critical since a lot of these runtime languages, they have like both large code footprint, and then they have a lot of branch mispredictions, right? And which essentially stall the front end of the CPU. And by profiling the code, then you're able to then relay out the code better, so that it's friendly to the CPU, and it's also more efficient. And that's a great idea.
- 6:28So PGO is now default with Python.
- 6:30With CPython. And the PyPy, the PyPerformance project, that is how they're measuring it now.
- 6:38Wow, that's really cool. And Sergey, how about your involvement?
- 6:40They have solved a really critical problem in making an interpreter or GTing really fast on Intel architecture. Intel distribution for Python, it also solves the problem of making numerical and machine learning running faster. And Python is known and loved for really nice numerical packages, NumPy, SciPy, scikit-learn.
- 7:06All the stuff that we saw in the keynote today.
- 7:08Yeah.
- 7:08It's just like, here's why people that do numerical analysis love and use Python. And for those people listening who didn't get a chance to watch the keynote, you deserve to go on YouTube and watch it, right?
- 7:18So yeah, absolutely. Those groups of people, the scientists, data scientists, it's great, right?
- 7:24That's why we focus on this area and we optimize these numerical packages, not interpreter itself, but rather the packages. And for that, we rely on high performance libraries, native libraries that Intel develops for decades, Intel mass kernel library, Intel MPI, Intel data analytics creation library. These all good high performance libraries are used underneath to accelerate NumPy, SciPy, scikit-learn.
- 7:52I see. So you take, let's say, NumPy. You take NumPy and you recompile it against these high performance Intel libraries. And that, because the foundation is faster, basically makes NumPy itself faster.
- 8:04It makes as fast as, almost as fast as native code.
- 8:08How much do you think the fact that you guys control the hardware and build these libraries that you can make them compile to exactly what they need to be or, or could anybody do this? Is it a big advantage that you guys control the chips and understand the chips?
- 8:20Absolutely. I can tell you the example. I was with Intel mass kernel library team for 15 years. And we started optimizing MKL for new processor three, five years in advance of its launch. That's really huge benefit. So by day one of processor launch, we had MKL optimized for that processor. Same with Intel Python distribution.
- 8:42We had Knight's landing Xeon 5 processor launch last summer. And by that time, Intel distribution for Python was already optimized for KNL.
- 8:52I see. Because you guys have a long lead time. Yeah. I think that's a good, the other side of this is not just being able to, you know, have these libraries for if you're using those for scientific computing,
- 9:02but there's a ton of usage of Python in the data center that is not scientific computing. You know, a great examples, the site Instagram, you know, any number of other sites that are out there that are using Python to open stack itself is implemented in Python.
- 9:16So one of the things that in terms of working with the chip architects is being able to actually help them design the chip so it runs all Python better. Not just this live tuned library code, but all Python as well.
- 9:28Right. And that's, you said there's some really interesting performance improvements that you got for running old Python. And we'll dig into that in a little bit. Because that's as fun as it is to look at the data science stuff and the machine learning performance and all that.
- 9:40Most people are running old Python, maybe Python 2 stuff that they don't even want to touch much, much less optimize away. Right. So if somehow you guys can just magically make it run faster, like that would be good for us to do. Wouldn't it? I mean, it would make sense. Yeah, it would. It would.
- 9:56So, I mean, we're talking about performance in terms of speed, but when you're optimizing like the data center, one of the major measures of efficiency in the data center is how much do I have to pay to run this in electricity and cool it?
- 10:08So just like pure efficiency in terms of energy, right? Like how much of a difference have you guys seen in that?
- 10:13That's really huge because part of the challenge in the data center is all the cooling costs and all the space costs and things like that. So Intel and Facebook work together to create a new server architecture, right?
- 10:26That many of the Python programs kind of run in the data center on that architecture and that runs at 65 watts compared to…
- 10:36Compared to… Yeah, give me an example. Like what is that relative to?
- 10:38Compared to a server that runs at 150 watts. And so it's really efficient and then it has a lot of technologies that we are adding to the silicon itself to make it perform well at the same time.
- 10:52Because people want both the power and the power.
- 10:56Obviously you want the speed, but you can get the double density in a data center. So if you're AWS or Azure or Google or Facebook, you can have twice as much computing power and same amount of energy in and cooling out.
- 11:08That's a real win. And not only that, that is something that we've observed, you know, an extra processor generation of performance improvement with, you know, some of these optimized software.
- 11:18So that's something that's an advantage going that route. Yeah.
- 11:21Yeah. And so what's really cool, I think, is some of this work that you guys are doing is being pushed upstream to CPython, is being pushed upstream to PyPy.
- 11:29It's one thing to say, well, we have our own distribution and that one's really fast. So please use ours instead. But you guys are also giving a lot back by making Python itself faster for everybody or more efficient in energy terms or whatever.
- 11:41It's really sort of not a one size fits all sort of philosophy. It's really doing data science. You're doing the using these libraries, Sergey was mentioning. That's the Intel Python distribution is a great one stop shop for all of that stuff.
- 11:54If you're not using necessarily the libraries, then, you know, we're working in the sort of the upstream areas to make sure that any use of Python that you would download will run faster.
- 12:04Yeah. Are there any notable specifics about what you've contributed to CPython or PyPy that you can think of off the top of your head?
- 12:11Yeah. One of the things that's been interesting for us is making sure we have really customer sort of relevant, you know, workloads.
- 12:18When we talk about workload, what this means is, you know, you have software just sort of sitting there, you install Python and well, that's not particularly interesting, right?
- 12:25What's more interesting is if you can run some code that represents what everyone else is doing, right? And, and hopefully not like a just a simple sort of, you know, micro, right?
- 12:36It's like something that's actually sort of realistic. And so one of the things we're really excited about is we just open sourced with Instagram, a new workload that will represents what not only Instagram is doing with Django, but also represents a lot of other Django usage out there.
- 12:51And so that one is really by open sourcing it by both companies contributing to it. I think it's going to help everybody sort of drive performance better, right? We also do a lot of monitoring of the sources.
- 13:04So for Python 2, Python 3 and PyPy, we actually do a nightly download of the sources, run a bunch of benchmarks and then report the results out to the community.
- 13:15So anybody can go to languagesperformance.intel.com and see a complete readout of a bunch of different workloads with the different versions of Python and PyPy.
- 13:25And so you can see exactly on a day to day basis how the performance changes. Now, the reason why this is important is someone can do a pull request that slows things down by 10 or 20%.
- 13:36We've seen this in some cases where a single pull request, you know, will really slow things down, right?
- 13:41And so we're not only monitoring this thing, we have engineers that are jumping on it and being able to see, hey, if we have a real regression in performance, we want to jump on it very quickly and get it back.
- 13:51So this is one of the earliest things that we did in these languages to try to help with this.
- 13:55That's a big deal because it's very hard to be intuitively accurate about performance, isn't it?
- 14:01Or it could be your intuition might say one thing, but it might be absolutely wrong.
- 14:05You go, well, this should run faster.
- 14:07And it's like, wow, it only, you know, improved like half a percent or maybe it degraded, you know, 5% because a lot of the things that might have gotten pulled in or just assumptions that were missing.
- 14:17Right, right.
- 14:18The code looks tighter, but it actually does something different with memory.
- 14:21Some example, I think that if you look at, say, a list comprehension versus a for loop that adds to a list, I think the list comprehension is faster, even though they're effectively doing the same type of thing.
- 14:30Right.
- 14:31These types of things are pretty interesting.
- 14:33And by the way, if you're a programmer, I think I made the comment last year on the podcast, the best runtime in the world, the best libraries in the world and poor Python code, right, will still run poorly.
- 14:44Right.
- 14:45And so one of the things I think I'm really also very excited about is that we have a great profiler called VTune.
- 14:51It's from Intel.
- 14:52The group Sergei is from.
- 14:54And there you're actually able to see where the hotspots are in your Python code.
- 14:58And I think this is really powerful because, you know, I think both the runtime and the user code are really important to optimize or else you may not get nearly what you think you're going to get in terms of performance.
- 15:09Right.
- 15:10Even if you adopt the fast libraries.
- 15:11Exactly.
- 15:12If you have an O, if you have some sort of exponential order of magnitude algorithm, you're still in trouble, right?
- 15:18Or an order log in or something like that, right?
- 15:20Yeah.
- 15:21Or order n squared or something like that.
- 15:22Then you want to make sure you actually can identify some of those things and correct them.
- 15:26Yeah.
- 15:27So Sergei, tell us a little bit like how would I take a, let's say we're talking about Django.
- 15:31Could I take a Django app and apply this VTune profiler to it and get some answers?
- 15:35Absolutely.
- 15:36This is what we suggest essentially as a first step.
- 15:39You run your application on your architecture.
- 15:42You want to understand what affects the performance and how I can improve this performance.
- 15:48The first step is to run it with a profiler like VTune.
- 15:51And VTune, this is, exists for many years.
- 15:54This is product known for profiling native codes.
- 15:57Yeah, I remember VTune from my C++ days.
- 16:00Yeah.
- 16:01The only challenge with that when you run VTune in old days with Python code, it didn't show
- 16:07your Python specific code.
- 16:09You saw these weird symbols.
- 16:11You're like, this C eval.c is really slow.
- 16:14It seems to be doing a lot of stuff in here.
- 16:16It tells nothing.
- 16:17So what we added to VTune, it now understands the Python code and you can show exactly the Python
- 16:24function or Python line of the code, the loop, which consumes the most cycles.
- 16:30So you can really focus on optimizing this piece of the code using a variety of technologies,
- 16:35either libraries or PyPy or other technologies.
- 16:39Or maybe just changing your code.
- 16:40Oh, yeah.
- 16:41As you were saying, Michael, a for loop versus a composition, right?
- 16:43Yeah, exactly.
- 16:44Exactly.
- 16:45Yeah, that's pretty interesting.
- 16:46Does it require some kind of GUI thing?
- 16:49Can I make this like a CLI, part of my automated build?
- 16:52You can write command line.
- 16:54If you like nice GUI, you can write GUI like, yeah.
- 16:56So either a CLI or a GUI.
- 16:58Yeah, yeah.
- 16:59So any of you guys can take this one.
- 17:01Suppose I'm sitting, you know, I got my MacBook Pro here and I've written my code and it runs
- 17:05a certain way.
- 17:06And then I want to like push it out to some hosted place, DigitalOcean, Azure, AWS, whatever.
- 17:13How much would I expect the performance to vary on say like one of those VMs versus say on like my native machine?
- 17:20And could I use something like VTune to like test it there?
- 17:23So I test it in its home environment.
- 17:25I think it's a great question.
- 17:26You know, so much code is being run in the public cloud now.
- 17:29My recommendation on that and, you know, performance, here's the other thing.
- 17:33There's nothing against any of the public cloud providers.
- 17:35But one of the things you if you're sharing compute resources, you're not necessarily getting the purest performance.
- 17:41There's some sort of performance trade off for the fact that you're doing a dedicated machine.
- 17:46And it varies, right?
- 17:47You don't know what you have.
- 17:48You have an SLA.
- 17:49Are they doing machine learning or do they have an unpopular website and they just have to pay for a VM?
- 17:52Or even, you know, in some instances, we have a noisy neighbor.
- 17:56You know, maybe you'll have some VM that's destroying the cache, right?
- 18:00By the way, we have a feature that we've added our processor to detect noisy neighbors and manage them, which is a separate thing we're doing for cloud service providers.
- 18:07But anyway, for Python.
- 18:08So, yeah, I would recommend running it native and doing most of your tuning there.
- 18:13By the way, I've noticed that not all cloud service providers would let you run VTune.
- 18:17Oh, really?
- 18:18Yeah.
- 18:19Well, it's not that it's not running VTune.
- 18:20And it's just they sort of sometimes mask some of the, you know, some of the registers that let you detect, you know, the performance.
- 18:26And so that's some of the things I think you've got either a private cloud setup or, you know, an on prem.
- 18:32It's much easier to really tune the performance and figure out what's going on.
- 18:35Maybe if you're doing open stack, you control the thing a little better.
- 18:38Exactly right.
- 18:39And, you know, hey, give people the ability to actually monitor the performance of what they're doing and figure out how to make it better.
- 18:45Right?
- 18:46Okay.
- 18:46And also, like our silicon has these advanced features called the performance monitoring unit.
- 18:50Okay.
- 18:51Which, like when you're profiling on your MacBook Pro, VTune can really take advantage of that.
- 18:56And it can tell you where your cache misses are coming from, where your problems are coming from.
- 19:01Whereas, sometimes, if you try to do it on a public cloud, it becomes harder for you to figure out.
- 19:06Right.
- 19:07So, we would definitely recommend like what Dave is saying to be able to profile and get your code optimized and then deploy.
- 19:14Yeah.
- 19:15I see.
- 19:16Yeah.
- 19:17So, maybe test both, right?
- 19:18Yeah.
- 19:19Because on one hand, you get the best, most accurate answers on the real hardware.
- 19:21But it actually has to live over there.
- 19:23So, you want to know also what it does.
- 19:24Yeah.
- 19:25Certainly see what the experience is.
- 19:26Particularly if you're expecting some throughput measurement, you know, set things up.
- 19:30By the way, for performance work, we sort of recommend that people have something that they can run their code against that's repeatable.
- 19:36You get repeatable results and then just change one thing at a time to kind of see what the change is.
- 19:41Use a very scientific approach, right?
- 19:43As opposed to changing a bunch of things and, gee, things, a lot of change, but I don't know what it was that affected.
- 19:48Right.
- 19:48Make a hypothesis.
- 19:49Make some measurements.
- 19:50Exactly right.
- 19:51It's the scientific method, right?
- 19:52It is.
- 19:53That we were taught in school.
- 19:54Yeah.
- 19:55I think Aristotle and those guys were on the subject.
- 19:57They were on the subject.
- 19:58That's right.
- 19:59My previous manager used to say, "Measure twice, cut once."
- 20:01Yeah.
- 20:02Yes.
- 20:03Exactly.
- 20:04Exactly.
- 20:05Yeah.
- 20:06Very much.
- 20:07Perfect.
- 20:08So, another area that you guys are working in that's, it seems to be like the last year or so this has become real, is AI and machine learning.
- 20:13I remember thinking for like 10 years, like, yes, AI, machine learning, this type of stuff, especially AI, was like one of those always 30 years in the future sort of technologies.
- 20:22People are working on it, but it doesn't ever seem to do a thing.
- 20:24Flying car and jetpack.
- 20:25Yes, exactly.
- 20:26Like, as soon as I have my, you know, teleporter, I'll be able to do machine learning and stuff.
- 20:31But over the last, I'd say two years, it has become super real, right?
- 20:36We have self-driving cars.
- 20:37We have all sorts of interesting things going on.
- 20:41Lots of application of AI just in recommendation engines, facial recognition, all these sort of things that are just practical, everyday things.
- 20:49Yeah.
- 20:50It's going to have some interesting societal effects.
- 20:52Absolutely.
- 20:53I think in some very powerful ways.
- 20:54Oh, social effects.
- 20:55Yep.
- 20:56We have a world need to think about what that means for us.
- 20:59I totally agree.
- 21:00I mean, I'm thinking of like breast cancer analysis.
- 21:03We used to think radiology was like a super high-end job that like you're safe if you are a doctor.
- 21:09And now it's like, well, or you feed it to this machine and it's actually a little more accurate.
- 21:13You could talk about other social impacts like are you going to use past performance to indicate which is the best candidate to hire?
- 21:19Well, if you did that, you might eliminate a lot of people of color or women because they haven't been as much in the workforce, right?
- 21:25Right.
- 21:26So you've got to be very careful at some of the social impact of these things.
- 21:29However, I will say this.
- 21:30One of the things we have been very, you know, there are a lot of systems on the internet, you know, that Intel's provided the chips for.
- 21:36And there's a ton of data that's out there.
- 21:38And so one of the things we did that's very interesting from a Python standpoint is since a lot of companies have this data accessible through Hadoop and Spark, what we've done, we recently just in March upstreamed our open sourced what we call Big DL.
- 21:53Okay.
- 21:54Big DL.
- 21:55It's sort of a big deal.
- 21:56Good.
- 21:58Thank you.
- 21:59I got to laugh.
- 21:59Anyway, so Big DL has a Python interface.
- 22:01So what it does is deep learning.
- 22:03So when you're doing a training of a deep learning algorithm and then inference analysis, right?
- 22:09What a lot of times that data that you're using to do the training on is accessible out of Hadoop and Spark.
- 22:14So a lot of people have said to us, hey, we would like to be able to do deep learning on our Spark data lakes or, you know, Hadoop, right?
- 22:21Big data.
- 22:22It's like, yeah, so that's what Big DL does.
- 22:24But it's like a lot of people said, we don't want to have to use Java to go into that stuff.
- 22:28We'd like to be able to use Python.
- 22:30So that's what one of the things that got released in March was our first Python interface to Big DL.
- 22:34So this is one of the ways where a lot of organizations, they already have a big data lake already that they can access through Hadoop and Spark.
- 22:41They can use Python and the Big DL project to do their deep learning experiments and then products.
- 22:47Yeah, that sounds really, really cool.
- 22:49And it sounds like you guys are doing a lot of almost reorganization of Intel around this AI research and work.
- 22:57That's a very good observation.
- 22:59In fact, we started up a new product group, the AI platform group.
- 23:04Product group?
- 23:05Platform group.
- 23:06Yeah, AI product group.
- 23:07Right.
- 23:08We're reporting directly to the CEO.
- 23:19So these are chips that they're making, that Nirvana is making, that actually does this deep learning inference, training and inference, much, much faster, order of magnitude better than anything else that's out there.
- 23:29Wow. Okay. So I know about deep learning on CPUs and training and machine learning. That's pretty good.
- 23:37You move it to a GPU and it gets kind of crazy. These chips, these are not just GPUs. These are something different?
- 23:43Correct. Yeah. They're specifically designed for the problem set that deep learning presents to the CPU.
- 23:48So it's not like, yeah, I mean, our main Xeon processors actually do deep learning pretty well compared to the GPUs that are out there.
- 23:58But something that actually like turbo charge it and really take it to the next level, a chip that's specifically designed for that, not for that plus graphics or that plus something else.
- 24:07Sure. Because traditionally graphics cards just coincidentally are good at machine learning.
- 24:11Well, with a ton of effort, I remember, you know, the first time looking at, well, how do you get a GPU to actually do general purpose computing?
- 24:18Let's see, if you do a matrix operation, right, it's a texture. And so let's see, we'll get a couple of textures as matrices.
- 24:24We'll feed them into the GPU and then you can do texture, you know, lighting transform on the textures.
- 24:29And it's like, well, that happens to be a matrix operation. Read out the resulting matrix.
- 24:32And it's like, from a programming standpoint, you know, that's why you need a lot of libraries and things to help you through that process.
- 24:38Can I express this general programming problem as a series of matrix multiplications?
- 24:42Exactly.
- 24:43That are essentially just texture, OpenGL texture processing and things like that.
- 24:47So this is one of the things I think is very exciting about moving this into the mainstream in terms of either, you know, at the x86 Xeon processors.
- 24:54And then as we bring Nirvana's chips, you know, we bring them into the Xeons.
- 24:58We have, you know, actually FPGAs as well.
- 25:01You know, these are special purpose.
- 25:03You know, you can program to do a bunch of accelerations and they have multiple acceleration units built in.
- 25:08And so we can actually accelerate a lot of things along with the CPU.
- 25:12So there are a ton of options that we're bringing to the table that will really accelerate a lot of specific workloads.
- 25:17Yeah, that sounds really interesting.
- 25:19I want to dig into that some more.
- 25:21This portion of Talk Python is brought to you by us.
- 25:25As many of you know, I have a growing set of courses to help you go from Python beginner to novice to Python expert.
- 25:30And there are many more courses in the works.
- 25:32So please consider Talk Python training for you and your team's training needs.
- 25:36If you're just getting started, I've built a course to teach you Python the way professional developers learn by building applications.
- 25:43Check out my Python jumpstart by building 10 apps at talkpython.fm/course.
- 25:48Are you looking to start adding services to your app?
- 25:51Try my brand new consuming HTTP services in Python.
- 25:54You'll learn to work with RESTful HTTP services as well as SOAP, JSON and XML data formats.
- 25:59Do you want to launch an online business?
- 26:01Well, Matt Makai and I built an entrepreneur's playbook with Python for Entrepreneurs.
- 26:06This 16 hour course will teach you everything you need to launch your web based business with Python.
- 26:11And finally, there's a couple of new course announcements coming really soon.
- 26:14So if you don't already have an account, be sure to create one at training.talkpython.fm to get notified.
- 26:20And for all of you who have bought my courses, thank you so much.
- 26:24And I think it really, really helps support the show.
- 26:27Just on the general machine learning stuff, Shuresh, you were working in the data center and optimizing that space, right?
- 26:32Over the next five years, how do you see machine learning contributing to that?
- 26:36Like, can you take a trained up machine learning system and say, "Here's my data center. Here's what we're doing. Can you make it better?"
- 26:44And just ask it these questions. Like, is that something that could happen?
- 26:47No, that's definitely happening because it's all about like, what are the inputs that you can take in?
- 26:52And the more inputs you can take and learn some specific things, then you're able to start optimizing the system.
- 26:59So we'll start seeing this kind of technology becoming more prevalent in a lot of things that we do.
- 27:06It's very exciting time to be in this field.
- 27:10It's every day I wake up going, "It's even more amazing than yesterday!"
- 27:13So, same question to you, Sergey.
- 27:16The big deal in this new area is cross-team productivity.
- 27:21You cannot solve the modern complex problems without involving domain specialists, programmers, data scientists.
- 27:30This is all new collaborative environments. So productivity is the key.
- 27:34This is what we are trying to offer through Intel distribution for Python.
- 27:38We provide out-of-the-box performance and productivity to our customers.
- 27:43So they can focus on solving their domain problem in deep learning, in machine learning in general.
- 27:49And then with Intel distribution for Python to scale this to real problem in data center.
- 27:54How about parallel distribution, multi-grid computing type stuff?
- 27:59What do you see out there and what do you see working for that in the Python space?
- 28:05Yeah, I mean, I think one of the things that is, like I said, we have an array of things, so to speak, that you can bring to bear on different problems.
- 28:12One of the ones that Sergey mentioned is something we call Xeon Phi, P-H-I, Xeon Phi.
- 28:17And it actually, as opposed to maybe 18 cores on a chip, it might have up to 80, 90 cores per chip, right?
- 28:25So think about that.
- 28:26I mean, think about these all x86 compatible CPUs, all available to do a variety of things in parallel.
- 28:33So that's an interesting model to think about.
- 28:36It's like, if you have parallelism, you can express it a number of different ways.
- 28:40You can express it in terms of the vector.
- 28:43We have vector processing within the CPUs.
- 28:45We have this parallel processing.
- 28:46And I think Python has a lot of, you know, certainly some of the things that Sergey was mentioning in terms of these libraries that can be, make use of the vector operations within the CPU and really turn up the performance, right?
- 28:58So, traditionally, Python has sometimes had a few challenges relative to, you know, parallel programming.
- 29:03And so, one of the things that's really cool about thinking about one of these libraries like MKL that Sergey mentioned is it can automatically take advantage of the parallelism that's available, right?
- 29:12And so, you know, if you have one of these, by the way, the Xeon Phi, if you go to the top 500 supercomputers, there's a significant number that you can look at and it says, oh, it uses the Xeon Phi as part of that, right?
- 29:23So, the top, you know, supercomputers in the world are using this chip basically achieve incredible results.
- 29:29It just keeps going.
- 29:30It's really, really amazing all the stuff that people are doing there.
- 29:33So, back to the AI chip.
- 29:36It sounds to me like what you're telling me is you have this custom chip, which makes a lot of sense because, like, GPUs, they were meant to do a video process.
- 29:45If you could make a special purpose chip for that, you're in a good place.
- 29:49What about other things?
- 29:51Do you guys have other specialized chips coming in addition to AI?
- 29:54Is this a trend, right?
- 29:56Yeah.
- 29:57Going to have more specialized chips.
- 29:58A couple of things I would talk about there.
- 30:00One of them is you may have heard of a new memory technology that we've actually, it's incredibly revolutionary.
- 30:05I say that, you know, as an Intel guy, but I got to tell you, it's just mind blowing is that it's memory that sits, you know, you think about DRAM, you know, your regular memory and your Mac or whatever.
- 30:14Versus flash memory, right?
- 30:16The flash memory is you can get a lot of it.
- 30:19It's lower cost, but it's slow.
- 30:21Main memory, the DRAM is like super fast, but it's expensive, right?
- 30:25And volatile.
- 30:26And volatile.
- 30:27What if you could have memory that was non-volatile, if you want it to be, and sit in between flash memory and DRAM, right?
- 30:35Okay.
- 30:36And so we've come up with this, we call it 3D cross point.
- 30:39It's a memory technology that's coming out in SSDs now.
- 30:42And think about it from a Python standpoint, being able to make use of memory that's, it's actually chips in the DIMMs in the computer itself.
- 30:50So when you power on the computer, it actually has, you know, this persistent memory already available without going to the SSDs, right?
- 30:56So it's instantaneously available.
- 30:58I see.
- 30:59The choice previously has been better with SSDs.
- 31:01I remember when it was not.
- 31:03So the choice is, we've got this regular DRAM, and then we've got swap.
- 31:08And that's like a hundred times worse, or something, to go to swap.
- 31:11And if it's a slow spinning laptop, cheap disk, maybe it's way worse than that still, right?
- 31:15But think about a data center where you have maybe a few terabyte of DRAM in a system, and then multiple terabytes of this.
- 31:22It's just right as more, you know, memory DIMMs in the computer, right?
- 31:27This is amazing, right?
- 31:28And not only is it super fast in terms of latency, access latency, but it also can be used persistent.
- 31:35So these are things which are, from a Python standpoint, we'll actually be able to make some of this stuff available to Python programmers when these products start rolling out.
- 31:44So this is a very interesting future.
- 31:46The other thing from a future chip standpoint that I think is very interesting is to look at, we're now, because we're partnering up with a chip designer.
- 31:53You're talking about Intel controlling the chips, right?
- 31:55One of the things we're able to do is, folks like Suresh, Sergey, are able to partner up with the chip designers and say,
- 32:00"Let's take a look at how Python runs on the chips."
- 32:03Okay?
- 32:04So you're running this stuff and you go, "Oh, hmm, looks like from the size of the code footprint, actually we're spending a lot of time just twiddling our thumbs in the processor,
- 32:13because it's waiting for instructions to get fetched."
- 32:16Is that because it's too big to fit in the smallest cache?
- 32:20Correct.
- 32:21And this is true of a lot of interpreted languages.
- 32:23If you look at PHP, Node.js, et cetera, they're all of these massive code footprints.
- 32:27If we've analyzed the internal pipelines within the CPU, we see this idling effect, right?
- 32:33And now with the next generation of chips that are coming along, they've actually taken a look at this and actually we're amazed at how much they've been able to improve on this instruction level parallelism.
- 32:43So in fact, even with a single instruction stream without parallel instruction streams, they're actually able to run old Python code faster.
- 32:51So if you think about it, if you've got a data center, I've got a bunch of Python running there, one of the best things you can do.
- 32:57Now, you know, we as software guys would say, "Oh, we want you to use all of this good software goodness."
- 33:05What are you running on this old version of Python?
- 33:06Right, right, right.
- 33:07Use the new upstream version or use the Python distribution, et cetera.
- 33:11But the good news is as an IT decision maker, you can now think about, well, upgrading to the latest Intel CPU actually runs Python.
- 33:20It's more than just like a, is it a different clock speed?
- 33:23It's not the frequency that matters.
- 33:25It's not even really the number of CPUs.
- 33:27The CPU itself actually at the same frequency can actually process Python much, much faster because it's making use of more of the CPU.
- 33:34Does that make sense?
- 33:35Yeah, yeah, that makes a lot of sense.
- 33:36Well, and you know, you make your comment about as a programmer, it's great to use all the new stuff.
- 33:41I personally as a programmer would like to work on new code that is adding new value and not go, "You know that crummy thing that's been there for 10 years?
- 33:49We need to rewrite that so we can save on computers."
- 33:52Like that is not where I want to spend my time.
- 33:54Like you guys don't, right?
- 33:55Right. Oh, yeah.
- 33:56Yeah.
- 33:57So if you can just make it run faster without me touching it, then I can go write stuff that I want to write, like that new REST framework.
- 34:05By the way, I would say one of the things that's cool about either PyPy or the Intel Python distribution or the other upstream work that we're doing is those typically don't require code changes either.
- 34:15So that's the other thing is that if you make, you know, that's sort of the goal.
- 34:18We sort of feel like Python's a powerful enough language and an attractive enough way for programmers to work, productive way for programmers to work.
- 34:26Why should they be hobbled by performance, right?
- 34:29Why not provide something that will immediately give a boost?
- 34:32Now, we'd sort of like to think you ought to get a new processor too.
- 34:36I think that's a good idea.
- 34:38I think all of us would appreciate that.
- 34:39Yeah.
- 34:40I think good.
- 34:41But then, you know, some of these other things, our goal really is to make it so you, by taking a few actions, you don't have to change the code.
- 34:47Now, there are some new things, by the way, if you want to get into your code to let me play with some new features, right?
- 34:53That's where we've got some of these things like some accelerators or big deal, which will let you use Python to do more deep learning sort of things or maybe accessing this 3D cross point memory.
- 35:03So there's a lot of stuff that's going to be very powerful to bring this stuff to bear.
- 35:07If you want to change the code.
- 35:08And if you don't, you know, we have these other things to help you out with.
- 35:11Sure.
- 35:12You know, if it's your core product, right?
- 35:13If your Instagram and these are your APIs or whatever, like you probably want to spend some time to make those faster.
- 35:18Yeah, absolutely.
- 35:19Right.
- 35:20Things like that.
- 35:21Interesting.
- 35:22So what about Cython?
- 35:24Have you guys thought about how Cython works on the chips?
- 35:27And for those people listening, maybe they don't know.
- 35:30Cython is like Python language with a few little tweaks that compiles basically down to C or the way C compiles, right?
- 35:37In fact, Intel Python distribution is making both Cython and Numba, which are a couple of these, you know, moving to C code, basically, right.
- 35:47And then their trade-offs, as engineers know, their trade-offs for everything.
- 35:51The nice thing about that is you can get optimized either Cython or Numba, you know, as part of that package, right?
- 35:57Some people will go, well, I don't want to have to give up on the quick turnaround of being able to change code and have it interpreted, right?
- 36:03So that's where some of those trade-offs go, right?
- 36:05Python 2, Python, CPython, PyPy would tend to say, hey, you can still have the same development methodology.
- 36:11Yeah.
- 36:12Numba, Cython or more.
- 36:13There's a build step, which is weird to all of us, right?
- 36:15Yeah.
- 36:16It's all about choice.
- 36:17If we don't have Cython or don't have Numba, what choice do we have?
- 36:20Going to native language or staying with Python?
- 36:23So we're just providing choices.
- 36:25People can make trade-offs to get what they need.
- 36:28That's a great point.
- 36:29If you choose any of these things, we want to make sure Intel is the best option to use for it.
- 36:32Yeah, that's cool.
- 36:33So let me ask you this, okay, about like maybe a workflow.
- 36:36So I write my code all in pure Python.
- 36:39Maybe run on CPython, right?
- 36:40See how it works.
- 36:41Maybe it's not quite as fast as I want.
- 36:43Or maybe you just want to optimize it because it's better to have it faster.
- 36:47Like you can scale it, put it more, you know, more density or whatever.
- 36:50Then I run Vtune against it, figure out where it's actually slow.
- 36:54That might be like 5% of my code or less, right under like a large application.
- 36:58Like it's actually these three parts that kind of kill it.
- 37:01Like if I look at my website right now, which is pure CPython talking to MongoDB,
- 37:06the slowest part of the site is the deserialization of the traffic back from the database into Python objects.
- 37:14Like that's literally 50% of workload on my website.
- 37:17And so I'm not going to change that because that's not my library.
- 37:20That's like a different ODM.
- 37:21But if I did control that, like would it make sense to go write that and say Cython,
- 37:26that little 5% and then somehow bring that in?
- 37:29What do you think?
- 37:30Optimizing last 5%, if you make it zero, even zero.
- 37:35Yeah, the 5% that's spending where almost all the work is.
- 37:37The 5% of my code base where I'm spending 80% of my time or 50% of my time.
- 37:41Yeah, totally it makes sense.
- 37:43Totally it makes sense.
- 37:44Okay.
- 37:45You really focus how do I optimize the biggest hotspot with minimum code changes.
- 37:51Right.
- 37:525% is a nice, nice hotspot.
- 37:53Right, right.
- 37:54If I rewrote 5% of my code in Cython, but that's where it was mostly slow,
- 37:57you could probably get a big bang for the buck, right?
- 38:00Right.
- 38:01It's like I was one day just lunchtime, I got this call on my cell phone.
- 38:05It happens to be this Intel executive that I kind of know, an acquaintance, right?
- 38:09And she said, "Oh, my daughter is working on this project in school with Python.
- 38:12It's running really slow."
- 38:13This is hilarious.
- 38:14How did you know that I was, you know, I heard you had something to do with Python performance.
- 38:18And so, can you do anything?
- 38:20I've got an insight at Intel.
- 38:21I'm going to figure out why my code is slow.
- 38:22That's it.
- 38:23And, oh yeah.
- 38:24Well, trust me.
- 38:25You know, I've learned many things sitting down with people at lunches, like people who
- 38:28created all manner of things in our world is like, "Oh, that's why that works that way."
- 38:32Okay, interesting.
- 38:33Anyway, so I said, "Well, have her try PyPy."
- 38:36As an example, it's a very easy step to try and, you know, see if it speeds things up,
- 38:41right?
- 38:42And so, I didn't hear back from her, so I suspect that probably either worked for her or she got
- 38:45frustrated, who knows.
- 38:46But I've talked to, there are plenty of like architects, CPU architects, and people who,
- 38:51there are people who have this massive lake of instruction traces.
- 38:54So we're actually able to take millions of instructions and record them and figure out
- 38:58what's going on.
- 38:59That's how we analyze future chips and analyze performance on them and running these existing
- 39:03instruction traces.
- 39:04And so, they will maybe have billions of instructions floating around in Python scripts
- 39:10that will actually go figure out what's going on and categorize them and help, you know,
- 39:13develop what's going on.
- 39:14But if that stuff runs really slow, and it was actually one of those architects that mentioned
- 39:18PyPy to me the first time, and he was like, "I think he's actually here.
- 39:21He retired.
- 39:22Lucky dog."
- 39:23And so, you know, I got to find him and thank him again for, you know, having helped us,
- 39:26you know, get more insight into this stuff.
- 39:27Yeah.
- 39:28Yeah, that's really cool.
- 39:29So, coming back around to your AI focus, do you guys see AI?
- 39:33How can you design chips in the future?
- 39:34That's a very interesting question.
- 39:36I'm sure a lot of engineers that I've worked with might be considered artificial intelligence.
- 39:41No, I'm sorry.
- 39:42I am an engineer, so what can I complain about?
- 39:46I think there's already a lot of machine learning being employed in the design of the chips.
- 39:50We have a building.
- 39:51There's a particular building.
- 39:52I can't tell you where it is.
- 39:53Is that in Portland?
- 39:54It's an undisclosed location.
- 39:55Okay.
- 39:56I will say you, there is a building that's stuffed full of CPUs, and it's got the most amazing structure.
- 40:01It was built really interesting structure.
- 40:04But that thing is running, essentially using machine learning to analyze simulations of chips continuously, 24/7, 365.
- 40:12Wow.
- 40:13So, that place, it's really kind of fun to kind of think about all of that's going on, and I've actually taken a tour.
- 40:18It's super cool.
- 40:19It's super cool.
- 40:20This portion of Talk Python To Me is brought to you by Hired.
- 40:23Hired is the platform for top Python developer jobs.
- 40:26Create your profile and instantly get access to thousands of companies who will compete to work with you.
- 40:31Take it from one of Hired's users who recently got a job and said, "I had my first offer within four days, and I ended up getting eight offers in total.
- 40:39I've worked with recruiters in the past, but they were pretty hit and miss.
- 40:42I tried LinkedIn, but I found Hired to be the best.
- 40:45I really liked knowing the salary up front, and privacy was also a huge seller for me."
- 40:49Well, that sounds pretty awesome, doesn't it?
- 40:51But wait until you hear about the signing bonus.
- 40:53Everyone who accepts the job from Hired gets a $300 signing bonus.
- 40:57And, as Talk Python listeners, it gets even sweeter.
- 41:00Use the link talkpython.fm/hired, and Hired will double the signing bonus to $600.
- 41:06Opportunity is knocking.
- 41:07Visit talkpython.fm/hired and answer the door.
- 41:12"You know, we have been using machine learning essentially to design CPUs and validate them.
- 41:18A lot of what we're doing, by the way, is not waiting for the silicon to be baked before we figure out whether it works or not.
- 41:23We actually have a lot of simulation that we're doing.
- 41:26We have a little, we actually, you can actually buy it.
- 41:28It's something called Simix, which we actually are able to produce simulations of all of the things that are going on in the chips, right?
- 41:34And so we're actually able to run a ton of workloads and programs through this thing before the chip ever appears, right?
- 41:42And so we're able to run essentially, whether it's Python, Java, you know, any number of things through these simulators.
- 41:48So that by the time that the silicon comes out of the fab, it actually already runs all of this stuff.
- 41:52So there's a lot of stuff that we're doing to, you know, accelerate the design of the chips.
- 41:56Yeah.
- 41:57I think it's going to be 10 years from now, we're not even going to predict it, the majority of the stuff that's happening, right?
- 42:02Well, think about what happened 10 years ago.
- 42:03It wasn't, you know, I mean, you know, Facebook or any of these other things in the internet.
- 42:07Google, all these things are around, but it's like the concept of how they've affected our lives now.
- 42:12Yeah, it was just the dawn of internet as a usable thing for everyone.
- 42:17Yep.
- 42:17Right.
- 42:18And it's been fun to be a part of, you know, Intel to have really helped fuel this thing.
- 42:23And now I think from our standpoint, one of the things that's very exciting is to, you know, say,
- 42:27"Hey, how can we project the future better?"
- 42:30Because you talk about how to figure out how things run better in the future.
- 42:33One of the things we're doing is a tremendous amount of work in the whole area of benchmarking and performance, right?
- 42:38If you think about it, we talked about, you know, various things like this, this Instagram, you know, Django benchmark that we're working.
- 42:45There are other various, you know, codes that we're working on for the Python distribution.
- 42:48But one of the things that we're doing is kind of really looking at the whole area of AI as an area.
- 42:55And it's like, how do you benchmark that?
- 42:57Or think about big data.
- 42:58Think about if you maybe have, you're standing up Cassandra and Kafka and Node.js and all of these things in a system.
- 43:06How do I figure out what the performance is today?
- 43:08And then how do I project forward performance on some of these things, right?
- 43:11And so there's a whole area.
- 43:13I'm incredibly excited about this is that you're going to start seeing more and more of this from us.
- 43:17I think I'm working on a lot of it myself.
- 43:19Of seeing us really take a much stronger position out there to try and help contribute some of this stuff to the industry.
- 43:26And so you can take your, you know, Instagram, Python, Django benchmark, for example, and evaluate what is this going to work against, you know, this CPU versus that CPU or this vendor system versus that one, this public cloud versus that public cloud.
- 43:39These are all things that I think are incredibly powerful to think about.
- 43:42Well, the control now is with you as a user to figure out what kind of choices do I make?
- 43:46So we're doing a lot in that sort of space because we sort of believe that in the data center, you know, performance is king, right?
- 43:52It's like, and people have come to expect from us every CPU generation to have a good whatever it is, 30 to 40% boost at the, you know, right?
- 44:00Same price point.
- 44:01So performance is king as far as we're concerned in the data center.
- 44:04And we're doing a ton of stuff to try and drive the future and use this whole area of benchmarking and workload.
- 44:10So we would love, by the way, from the community standpoint, if they have representative sort of workloads that they'd like to work with us on, we would love to get involved with that because that's something we're incredibly excited about.
- 44:20Yeah.
- 44:21I think there's having realistic workloads makes a super big difference.
- 44:24Take your MySQL, your website, right?
- 44:27Yeah.
- 44:28The data marshalling issue that you're going.
- 44:30We'd love to be able to have that as kind of a standard piece of what we're looking at to make sure either the CPU runs it really fast, we can go in with the library providers and make sure that stuff gets accelerated, right?
- 44:40So those are the kinds of things we absolutely want to stand up.
- 44:43And we think there's a dearth of these things actually representative benchmarks that will help people visualize what's going to the data center today because it's not just like your old database.
- 44:53You know, you know, you know, your big, you know, SQL databases, you know, running relational database transaction processing, all this stuff exists.
- 45:00But there's a ton of new stuff in the data center today.
- 45:03And we sort of believe that Intel will be contributing strongly to this area.
- 45:07So you guys, I feel like over broadly across the industry, there's like a, a mind blowing opening into open and open source from where from all sorts of companies that you just wouldn't expect.
- 45:20Right.
- 45:20Right.
- 45:21I mean, the stuff that Microsoft are doing, like Facebook with their, some of the open HHVM and the open data center project.
- 45:28Yeah.
- 45:29Yeah.
- 45:29The data center stuff that people just, so you see Intel contributing more to these open source projects in order to make your story back at the data center better.
- 45:38Absolutely.
- 45:38I mean, Intel has been for the past few years, the top one or two contribute to each Linux kernel release.
- 45:45So you go back in time, who, who are the top contributors to the kernel?
- 45:48Intel has been like number one or number two for years now.
- 45:51Okay.
- 45:52For each kernel release.
- 45:53So that in and of itself represents a very strong commitment to open source, at least at the core.
- 45:57Right.
- 45:58So all of the work that we're doing is on open source code, right?
- 46:01So whether it's Python, whether it's open source databases, you know, this is a very strong commitment to open source.
- 46:07Absolutely.
- 46:08That's awesome.
- 46:09All right.
- 46:10So we're kind of getting near the end of the show.
- 46:11I have two questions.
- 46:12And I'm going to mix it up a little bit.
- 46:13Uh-oh.
- 46:14Because normally I have the same two questions.
- 46:15I kind of biffed the last time in your standard question.
- 46:17So, uh.
- 46:18So the two questions are, Sarah, I'll start with you, is if you're going to write some Python code, what editor do you open up?
- 46:23What do you usually write your code, your Python code in?
- 46:25I usually don't write Python code.
- 46:27I am.
- 46:28I am.
- 46:29You're analyzing how it runs.
- 46:30I'm an outlook guy.
- 46:31Okay.
- 46:32Gotcha.
- 46:33Speaking, I typically use Spider.
- 46:35Spider.
- 46:36Okay.
- 46:36Yeah, sure.
- 46:37Spider's good.
- 46:38The continuum guys.
- 46:39I don't know if they're here.
- 46:40Sure they are.
- 46:41I haven't been able to do the rounds yet, but that's a cool thing that comes with the Anaconda.
- 46:44David?
- 46:45Suresh.
- 46:46I recently took a class at Hack University.
- 46:48It's a local organization.
- 46:49Mm-hmm.
- 46:50I've been loving Jupyter.
- 46:51Oh, yeah.
- 46:52I've been working with Jupyter.
- 46:53I've been working with Jupyter.
- 46:53I've been working with Jupyter.
- 46:54I've been working with Jupyter.
- 46:55I've been working with Jupyter.
- 46:56I've been working with Jupyter.
- 46:57I've been working with Jupyter.
- 46:58I've been working with Jupyter.
- 46:59I've been working with Jupyter.
- 47:00I've been working with Jupyter.
- 47:01I've been working with Jupyter.
- 47:02I've been working with Jupyter.
- 47:03I've been working with Jupyter.
- 47:04Jupyter is amazing.
- 47:05Yeah, yeah.
- 47:05David?
- 47:06My fingers are programmed with VI.
- 47:07I'm sorry.
- 47:08I'm an old guy.
- 47:09My fingers are programmed with VI.
- 47:10It's the only way muscle memory works with me.
- 47:11So, yeah.
- 47:12There you go.
- 47:13Awesome.
- 47:14Then I guess I'll ask you the standard questions while I have one more.
- 47:16Suresh, there's a ton of packages on PyPI, over 100,000 now, which is partly why Python
- 47:22is such an amazing community.
- 47:24Like, all these different packages you can just install and use.
- 47:26Think of a notable one that maybe people don't know about that you've come across.
- 47:29I should have prepared you guys for this question.
- 47:31Yeah, yeah.
- 47:32You did a good question.
- 47:33I did a bad job, but it's good for you to be surprised at that.
- 47:35Yeah.
- 47:36I think some of these lightweight web development ones, like Flask.
- 47:40Yeah, Flask is amazing.
- 47:41Django is really popular, but people are using Flask for some lighter-weight things.
- 47:47Yep.
- 47:48A lot of APIs built with Flask.
- 47:50We also have the Django REST framework guys here.
- 47:53So, yeah.
- 47:54For sure.
- 47:55How about you, Dave?
- 47:56I'm going to suggest people check out, I don't know if it's in PyPI or not, but big
- 47:59big deal.
- 48:00Yeah.
- 48:01It's a great thing to check out.
- 48:02Big deal?
- 48:03Okay.
- 48:04It's a big deal.
- 48:05It's awesome.
- 48:06All right.
- 48:07So here, I want to throw one more in as a mix.
- 48:08Since you guys have a special vantage point towards the future, predict something interesting
- 48:14in the next, that will come out in five years that we would be maybe surprised by.
- 48:18Like, just in computing in general.
- 48:20Sresh, go left or right.
- 48:21Yeah.
- 48:22I think, I think AI is going to be like really, really pervasive.
- 48:25Yeah.
- 48:26Much more from your glasses to the clothes you wear to all kinds of things, the car you drive.
- 48:33Yeah.
- 48:34I can definitely see on automobile AI processing for sure.
- 48:38Yeah.
- 48:39This edge processing stuff.
- 48:40Yeah.
- 48:41David?
- 48:41I'd like to see a more organic approach to computing.
- 48:44You know, our artifacts are, you know, slick and carbonized or aluminized or what have
- 48:51you.
- 48:52I would actually like to see computers made out of natural wood cases with maybe some mother
- 48:57of pearl or, you know, something that would just actually be more human.
- 49:00I mean, almost a steampunk kind of approach or a more organic approach.
- 49:05I'd love to actually see it become a more organic part of our lives as opposed to dehumanizing.
- 49:09Sure.
- 49:10Well, as it goes into this IoT of everything, and we have these little chips that run Python,
- 49:17MicroPython and other things, it's much more likely that we'll have little computing things
- 49:21that are more adept rather than beige boxes or aluminum boxes.
- 49:25Sergei?
- 49:26I think whatever direction industry will go, Intel will become, will stay relevant
- 49:32and be at core of this transformation.
- 49:34Yeah.
- 49:35That's my tradition.
- 49:36Yeah.
- 49:37You guys will be there.
- 49:38So here at PyCon in Portland, Oregon, you guys have a big presence here.
- 49:42Just one quick fact that I think people might like to hear is how many Intel employees do
- 49:46you guys have in this general area?
- 49:48The exact number as of whenever your audience listens to this may be different, but it is
- 49:53true that as you know, Intel is the biggest chip maker in the world.
- 49:56Oregon is actually our largest site.
- 49:57So we have sites really all over the world, but it's kind of a, this Oregon from that sort
- 50:01of standpoint is, is we're growing not only the new fab processes, the new absolute micro things
- 50:07that are going on into design of the manufacturing, making millions and millions of things that are a few nanometers big.
- 50:14You know, it's amazing.
- 50:15We also have kind of the center of a lot of our software work going on here, as well as the circuit design itself is going on here.
- 50:20So there's a nothing against the other, you know, parts of the world where Intel does business, but it's a, we have, we have, we have a lot here in Oregon from that.
- 50:27Yeah. It's like over 10,000, right?
- 50:29I can't actually give a number.
- 50:31I would probably be, I would probably be shot if I did.
- 50:34So I don't know. No, no, no, no one would shoot me, but I couldn't tell you.
- 50:37So I guess the point is it's really surprising. Like what a presence you guys have here, right? This is definitely in Hillsborough, Oregon, to the west of the West Hills from Portland.
- 50:45You guys drive traffic jams. I'm sure with the, your workforce, we try and stay outside of the traffic jams if we can.
- 50:51So yeah.
- 50:52All right. Well, thank you so much for meeting up with me and sharing what you guys are up to with everyone on the podcast.
- 50:58Thank you, Michael. It's been great. You have a great listenership.
- 51:00I know of people who've come up to me amazingly. So, oh, you were on, you know, Michael shows.
- 51:05I was like, I, I, here's a shout out to all the great Python programmers out there.
- 51:09Really appreciate everything you're doing with Python.
- 51:11David, Suresh, Sergey. Thank you guys. It's a pleasure as always.
- 51:15Thank you for all your work that you're doing.
- 51:17Yeah. Thank you. Bye.
- 51:19This has been another episode of talk Python to me.
- 51:23This week's guests have been David Stewart, Suresh Srinivas, and Sergey Medinov.
- 51:29This episode has been brought to you by Talk Python Training and Hired.
- 51:34Hired wants to help you find your next big thing.
- 51:37Visit talkpython.fm/hired to get five or more offers with salary and equity presented right up front and a special listener signing bonus of $600.
- 51:46Are you or your colleagues trying to learn Python? Well, be sure to visit training.talkpython.fm.
- 51:52We now have year long course bundles and a couple of new classes released just this week.
- 51:58Have a look around. I'm sure you'll find a class you'll enjoy.
- 52:00Be sure to subscribe to the show.
- 52:02Open your favorite podcatcher and search for Python.
- 52:04We should be right at the top.
- 52:06You can also find the iTunes feed at /itunes, Google Play feed at /play and direct RSS feed at /rss on talkpython.fm.
- 52:16Our theme music is developers, developers, developers by Corey Smith, who goes by Smix.
- 52:20Corey just recently started selling his tracks on iTunes.
- 52:24And you check it out at talkpython.fm/music.
- 52:26You can browse his tracks he has for sale on iTunes and listen to the full length version of the theme song.
- 52:32This is your host, Michael Kennedy.
- 52:34Thanks so much for listening.
- 52:36I really appreciate it.
- 52:37Smix, let's get out of here.
- 52:39Smix, let's get out of here.
- 52:40I'm dating with my voice.
- 52:41There's no norm that I can feel within.
- 52:43Haven't been sleeping.
- 52:44I've been using lots of rest.
- 52:46I'll pass the mic back to who rocked his best.
- 52:49I'll pass the mic back to you.
- 52:50I'll pass the mic back to you.
- 52:51I'll pass the mic back to you.
- 52:52I'll pass the mic back to you.
- 52:53I'll pass the mic back to you.
- 52:54I'll pass the mic back to you.
- 52:55I'll pass the mic back to you.
- 52:56I'll pass the mic back to you.
- 52:57I'll pass the mic back to you.
- 52:58I'll pass the mic back to you.
- 52:59I'll pass the mic back to you.
- 53:00Oh, no.