Current location: Homepage > cpp > GenAI Essentials – Full Course for Beginners - Ep156

GenAI Essentials – Full Course for Beginners - Ep156

2025-07-11 11:23:02 [python] Source: ByteGenius
be this Tower or 50 cent vs diddythis Towerthis product is no longer available sothen it's going to be the Dell SE uh7960 and so if we scroll on down herenow we can see we have an Intel Zeonprocessor how much this processor cost Idon't know if we go to this one this is$471 so this oneis how much is it it's a little bit hardto tell because it's saying plus and addbut um uh if we go here that's6,000 and I I'm just clicking betweenthem yeah so this processor is about Idon't know $400 $500 but I'm just sayinglike you can get an Intel zon processorbut the bulk of the cost is really in umuh the video card and so this is an AIpowered PC and I believe that this oneis setto oh is it even setyet uh videocard oh boy maybe that's just the pricewithout the videocard okay but anyway the point is isthat you can buy an Intel xon 4processor uh they also have a fifthfifth generation here but just gives youkind of an idea of like what it wouldcost if you wanted to have theseworkstations here but I did get a Intelmachine so that's kind of exciting butanyway so and I'm just showing you thatbecause you know let's say you are acompany you could buy one of thosemachines and you could have a veryproficient machine working in youroffice um uh for for local localinference but anyway we're in here asyou'll notice we have different composfiles so we have POS pine cone uhquadrant VM so if you wanted to servethis with VM then you would use this oneif you wanted to serve it with pine coneas your rag you can do that if you wantit without rag you can do that so youcan see there's a lot of variants Iobviously Just Launch it with the mostbasic one um I I actually have a lot oftrouble uh configuring VM and getting towork so if they actually have one herethat works that is really uh really coolum but yeah I've had a lot of troubleconfiguring VMS and so this is the wholepoint of this project to help you get asetup that works and then you configureuh for yourselves but we want to deploythis to a Zeon processor um and so we'regoing to have to find an instance thathas that so I'm going to say ec2instances uh Zeon I'm going to sayfourth generation processors fourthgeneration and yeah the r7i is themodels that I believe that we're lookingfor um if you do not have uh the moneyto spend do not run this um but again wecould run this on an aipc and maybe Iwill attempt to run this afterwards ifwe launch this here I haven't reallydecided but let's go ahead and launch aninstance it doesn't really cost a lotlike this should only cost you less thana dollar to run but again you know ifyou forget about turning your your Stuoff you might run into someissues so I'm looking for the m7i uhgeneration here so we're going to go I'mdropping this downhere typing ms so we have them7a I think stands for yeah for Inteland so notice here we have um two vcptwo vcpus 8 gigabits we have four vcpusand 16 gbits we really should run thison an i large and notice the cost herelike if you're running it perhour I mean it looks pretty low but I'mgoing to try an ey large I haven't donean ey large before I imagine that we cando it an i large but it is a little bitsmall I'm going to proceed without keypairs I'm going to launch this in mydefault VPC we do need to allow trafficfrom uh the internet so I'm going tojust checkbox both of these I probablyonly need HTTP but if we want tointeract with it we're going to have todo that um I'm going to drop this downhere and I have an IM roll that I'vealready created frompriorso we're going to go here and I have onecalled SSS ec2 SSM Ro if you'rewondering what's in that Ro I'm justgoing to quickly show it there's nothingsuper exciting in here if we go over toourrolesum all I've added to that rle if I wasto make a new Ro and to do this fromscratch I'd sayec2 I'd go next and then I would justtype in SSM here and it's basically thisR sometimes it's this one yeah so thispolicy will soon be deprecated so usethis one instead and so this is the onlypolicy I'm attaching to this Ro andthat's what I'm launching the cc2instance with this is so that we can usesessions manager so we can easily accessthe um the ec2 instance but anyway so wehave that uh we have that set I'm goingto go all the way down to the ground andthis all looks really good well the onlything I'm going to change here is I wantto go to a bun two Amazon L is fine butI just want to make this super easy thebuntu uh 24 LTS is going to make ourlives so much easier we'll go ahead andlaunch this instance and again this iscostingpennies or like a dollar or two but ifyou can't afford the dollar don't don'trun it here and just watch me and Imight do a video doing this locally butthe process is basically the same rightthe only the only difference is that youwould um uhutilizeum the docker compos file from whateverwhatever folder you want right so butanyway we're going to go ahead and getthis running here I'm going to wait forit to initialize and then we're going tojump into this machine all right ourinstance is running let's go ahead andconnect so we'll go here and clickconnect and we'll use sessions managerto connect to thisinstance so we'll just give that there amoment and what we're going to do is loginto um the EC user account actuallysorry this is an auntu machine so we'regoing to be doing pseudo Su HUbuntu so now we can go ahead andinstall this I actually have a fullautomation script

(Editor: swift)

Recommended articles
Hot reading