CUDA Programming on Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2025

ความคิดเห็น • 781

  • @aishahoura2619
    @aishahoura2619 2 ปีที่แล้ว +169

    Thank you so much for responding to my request for making a CUDA programming. I have donated 0.1 BTC to your account as a way to thank you. My professor has done so many hours trying to explain CUDA and none of my classmates really understood. I just can not believe that you do all this for free and that is why me and my classmates have decided to collect some funds to donate to you.
    Thanks for all that you do and please keep going.

    • @AhmadBazzi
      @AhmadBazzi  2 ปีที่แล้ว +86

      Thank you for the donation, it really means a lot !

    • @aishahoura2619
      @aishahoura2619 2 ปีที่แล้ว +3

      @@AhmadBazzi No thank you !

    • @mdrubelahmed6434
      @mdrubelahmed6434 2 ปีที่แล้ว

      Thank you so much for responding to my request for making a CUDA programming.

    • @btspower3844
      @btspower3844 2 ปีที่แล้ว +1

      Wow amazing

    • @btspower3844
      @btspower3844 2 ปีที่แล้ว

      Wow amazing

  • @denizart2255
    @denizart2255 2 ปีที่แล้ว +50

    You just opened my eyes to parallel programming. Thanks for the quick overview.

    • @mdrubelahmed6434
      @mdrubelahmed6434 2 ปีที่แล้ว

      Too hard to find high -quality content like this these days. Thank you so much

  • @Drex.Yt1
    @Drex.Yt1 2 ปีที่แล้ว +80

    Too hard to find high-quality content like this these days. Thank you so much

  • @sksk-lo8kc
    @sksk-lo8kc 2 ปีที่แล้ว +91

    That was very well explained. I have only have taken one course, and you made it clearer than my professor or fellow students ever did.

  • @nilsu1941
    @nilsu1941 2 ปีที่แล้ว +108

    12:36 This guy is a God !

  • @aoungamingyt3160
    @aoungamingyt3160 2 ปีที่แล้ว +72

    Thank you so much. Probably the best introdution to CUDA with Python. The example you use, while very basic, touches on usage of blocks, which is usually omitted in other introduction-level tutorials. Great stuff! Hope you return with some more videos. I have subscribed!

  • @leonelaguilera9059
    @leonelaguilera9059 2 ปีที่แล้ว +73

    this was such an excellent video

  • @tatldunyas2471
    @tatldunyas2471 2 ปีที่แล้ว +2

    Just did my research and this guy is at one of the most prestigious universities in the world ! No wonder why his lectures come up neat !

  • @pantherofficial5059
    @pantherofficial5059 2 ปีที่แล้ว

    I have been looking into gpu programming using numba and python for a while, this seems to be the best tutorial I was able to find so far.. . thank you

  • @apogeetheboss9999
    @apogeetheboss9999 2 ปีที่แล้ว

    as a data scientist +2 years of experience, i ALWAYS learn something new with your content! please nich, never stop doing this things, and also, never cut your smile in your face, even if your are having bugs!!

  • @erenbasak7694
    @erenbasak7694 2 ปีที่แล้ว

    Hey this is super useful! I elected High Performance Computing and Microprocessors and Embedded Systems modules for my degree, and this channel has become my go-to guide.

  • @RAVIShankar-bm4ou
    @RAVIShankar-bm4ou 2 ปีที่แล้ว +5

    Thank you so much for this series! It's so clear and easy to follow

  • @adeeshaamabidu9616
    @adeeshaamabidu9616 2 ปีที่แล้ว

    Love the channel Nicholas, have recently graduated from an NLP Master's degree and seeing you explain stuff in a simpler way and your coding challenges is really helping me connect with the material I've learned! Keep it up and I'll keep watching!

  • @-oof1016
    @-oof1016 2 ปีที่แล้ว

    Ahmad , thanks for taking time to create these videos. It is unfortunate that people view your videos and then feel inspired to complain about a free gift. Folks could just keep it moving or add helpful insights.

  • @LouieVon
    @LouieVon 2 ปีที่แล้ว

    This is the best introduction to CUDA I've seen, thanks a lot !

  • @basslvers4501
    @basslvers4501 2 ปีที่แล้ว

    wanted to comment that the information in this presentation is very well structured and the flow is excellent.

  • @rithusvlogtime3342
    @rithusvlogtime3342 2 ปีที่แล้ว

    Fantastic tutorials on CUDA. You deserve more followers.

    • @user-sh6jw1ce3m
      @user-sh6jw1ce3m 2 ปีที่แล้ว

      Thanks for the comment... contact me for information and profitable investment strategies..⤴️

  • @cavansirmahmudov217
    @cavansirmahmudov217 2 ปีที่แล้ว

    You saved me, i had to read the PointNet2 implementation for my BCS thesis. this made the job much easier!

  • @turkceraplyrics6701
    @turkceraplyrics6701 2 ปีที่แล้ว

    Hey Ahmad , I love watching your videos because of the way you tell the story. Great graphics mate. Love the reference to rocket man too... lol keep up the good work.

  • @Kvmizo
    @Kvmizo 2 ปีที่แล้ว

    This was by far one of the most enlightening videos you have put up on your channel. Thanks and keep up the good work!!

  • @excolabirbuyuyecek9438
    @excolabirbuyuyecek9438 2 ปีที่แล้ว

    LOL. Loved the graphic at 6:23! Brought tears to my eyes.

  • @fatihcalidkan2254
    @fatihcalidkan2254 2 ปีที่แล้ว

    holy shit, i was looking into this to speed up my mandelbrot-zooms and they are what you use as an example! This is a dream come true!

  • @bombosbikanal3858
    @bombosbikanal3858 2 ปีที่แล้ว

    Perfect Video! Saw was revealing to me to understand how it works. Thank you! I am a new subscriber of your channel. Regards from Buenos Aires, Argentina

  • @uniquevlogsbyadil
    @uniquevlogsbyadil 2 ปีที่แล้ว

    This was oddly intense. Great job Nicholas! Even though you ran out of time, this video is still a win to me. 😉

  • @tajaochrisciamae4121
    @tajaochrisciamae4121 2 ปีที่แล้ว

    what a passionate tutorial! I wish you were my professor for my parallel programming course. Well done!

  • @07.deepak.upillai64
    @07.deepak.upillai64 8 วันที่ผ่านมา

    If your lectures were a neural network, they’d have zero overfitting-always accurate and efficient!

  • @Fiekriekd
    @Fiekriekd 2 ปีที่แล้ว

    and that's what I call a great tutorial. Thankyou sir. I wish you make more tutorials.

    • @user-sh6jw1ce3m
      @user-sh6jw1ce3m 2 ปีที่แล้ว

      Thanks for the comment... contact me for information and profitable investment strategies...⬆️

  • @Animals-vi5wt
    @Animals-vi5wt 2 ปีที่แล้ว

    Woah congrats @Ally 🎊 🎉 glad you’re enjoying the challenges, plenty more to come!!

  • @youtubemullim319
    @youtubemullim319 2 ปีที่แล้ว

    I feel like Cuda has been demystified. Very glad I found your series.

  • @mrfcbs1251
    @mrfcbs1251 2 ปีที่แล้ว

    Oh Ahmad , your tutorials are incredible and inspiring....

  • @mipxello7749
    @mipxello7749 2 ปีที่แล้ว

    Very well explained. The best CUDA explaination I have come across uptil now 😊😊. Keep up the spirits sir.👍👍

    • @user-sh6jw1ce3m
      @user-sh6jw1ce3m 2 ปีที่แล้ว

      Thanks for the comment... contact me for information and profitable investment strategies...⤴️

  • @todotasks7645
    @todotasks7645 2 ปีที่แล้ว

    Too hard to find high-quality content like this these days. ⚡

  • @hilalkoskli6266
    @hilalkoskli6266 2 ปีที่แล้ว

    Wow It is really awesome! It is much better than a tutorial from university! Thanks!

    • @user-sh6jw1ce3m
      @user-sh6jw1ce3m 2 ปีที่แล้ว

      Thanks for the comment... contact me for information and profitable investment strategies...⬆️

  • @yasincaferzade8069
    @yasincaferzade8069 2 ปีที่แล้ว

    Great video, I like this kind of video where you code some AI task counterclock, you teach us the concepts and show us the reality of implementing it👏

  • @muradhesenov5245
    @muradhesenov5245 2 ปีที่แล้ว

    the essence of Deep learning in a few lines of code... awesome

  • @totallycz6819
    @totallycz6819 2 ปีที่แล้ว

    You are a lifesaver @Spencer, will do it next time i'm on the streaming rig!

  • @merthanozer2964
    @merthanozer2964 2 ปีที่แล้ว

    Ohh, yes, Thank you, and the documentation at nvidia site about CUDA is highly professionally written. Thank you.

  • @denizugurbiltekin622
    @denizugurbiltekin622 2 ปีที่แล้ว

    Thank you so very much. This is the exact kind of material I was looking for on this very specific subject. Kudos.

  • @संदीपकुमार-छ4ढ
    @संदीपकुमार-छ4ढ 8 วันที่ผ่านมา

    Your teaching is so engaging, I almost forgot my code is stuck in an infinite loop!

  • @imsoumyajitbag
    @imsoumyajitbag 2 ปีที่แล้ว

    Awesome video !! It's preety cool to see such theoretical concepts coded and explained like this. Keep going Nich !!

  • @نٌے.نٌے.نٌےۦصہٰ̐كْٰٓاكہٰ̐ہٰ̐يي

    OHHHH MANNN, I thought about doing that but I was debating whether I'd hit the 15 minute deadline already. Good suggestion @Julian!

  • @cemiltuna
    @cemiltuna 2 ปีที่แล้ว

    Thanks for the video, I found the first half and the wrap up really excellent.

  • @tugrasolak7852
    @tugrasolak7852 2 ปีที่แล้ว

    this is extremely helpful. you did an amazing job explaining the foundations

    • @user-sh6jw1ce3m
      @user-sh6jw1ce3m 2 ปีที่แล้ว

      Thanks for the comment... contact me for information and profitable investment strategies...⤴️

  • @kelechijames5577
    @kelechijames5577 2 ปีที่แล้ว

    This is very helpful. Most people don't realize the overheads and code refactoring necessary to take advantages of the GPUs. I am going to refactor a simple MNIST training propgram I have which currently uses only Numpy. See if I can get meaningful improvements in training time.

  • @weds8296
    @weds8296 2 ปีที่แล้ว

    Thanks for making all these topics very approachable!

  • @coolboy_0459
    @coolboy_0459 2 ปีที่แล้ว

    I was needing this!!! Thanks a lot, Sir!!!!

  • @lixaxel6815
    @lixaxel6815 2 ปีที่แล้ว

    Excellent example of vector addition of using for loop and using CUDA

  • @crystalannringor1025
    @crystalannringor1025 2 ปีที่แล้ว

    Thank you so much for this video. It has helped me massively to prepare for my computer science exam.

  • @astaadxofficials7813
    @astaadxofficials7813 2 ปีที่แล้ว

    I have no idea what kind of videos i am watching ... but i sure will learn

  • @teamchanel4384
    @teamchanel4384 2 ปีที่แล้ว

    I'm doing an internship in a research lab and I'll have to program some kernels to implement Blas primitives, this video really helps :)

    • @user-sh6jw1ce3m
      @user-sh6jw1ce3m 2 ปีที่แล้ว

      Thanks for the comment... contact me for information and profitable investment strategies..⤴️

  • @hgmalani21
    @hgmalani21 2 ปีที่แล้ว

    It's very informative and a good intro to CUDA programming. Thanks very much!

  • @ricardomilos5889
    @ricardomilos5889 2 ปีที่แล้ว +1

    This was a great video to me, I have very limited C++ experience and was looking for an explanation of CUDA. Another video like this could easily have been 70-80% over my head. This one was only about 15% whoosh. And now I actually find C++ interesting again!

  • @TheTurksxayers
    @TheTurksxayers 2 ปีที่แล้ว

    Thank you for this great introduction to numba and more specifically numba+cuda.

  • @yapmabekanka7151
    @yapmabekanka7151 2 ปีที่แล้ว

    This is amazing! Thank you for taking effort to make it!

  • @prietjepruck
    @prietjepruck ปีที่แล้ว

    Thank you very much for this tutorial. I would love to have the code available because typing it in myself from the video is a bit hard especially with the atocomplete on all the time. Keep up the good work.

  • @likky2229
    @likky2229 2 ปีที่แล้ว

    The video was very helpful for me. Many thanks to the author for developing his audience with interesting and useful content

  • @agusexclusife2577
    @agusexclusife2577 2 ปีที่แล้ว

    Can't wait to see Juan's better tutorial that he's definitely going to release :') lmao. Great video Ahmad .

  • @mehmetplgx8025
    @mehmetplgx8025 2 ปีที่แล้ว

    Love your videos. Please don't stop!

  • @Voicemelod
    @Voicemelod 2 ปีที่แล้ว

    Amazing! I'm learning so much watching you code. Thank you for sharing.

  • @beratcansamur1517
    @beratcansamur1517 2 ปีที่แล้ว

    An insanely underrated series!!!

    • @user-sh6jw1ce3m
      @user-sh6jw1ce3m 2 ปีที่แล้ว

      Thanks for the comment... contact me for information and profitable investment strategies..⤴️

  • @emircoltu875
    @emircoltu875 2 ปีที่แล้ว

    Once you initialized lr to 0.0, I knew you were going to forget to change it lol. Love the challenges tho, keep doing them, I think it would be cool to see how you implement a neural network from scratch

  • @bodyprodaction9718
    @bodyprodaction9718 2 ปีที่แล้ว

    Well just built a new rig with a 980ti and a 4790k so I'm gonna put that to test. Thank you for your wonderful explanation :D

  • @mustafasamet2783
    @mustafasamet2783 2 ปีที่แล้ว

    Ayyyy, so glad you like it @Patrick. For the last two weeks I've just been making videos on stuff I find hard or want to get my head around I figure it's not just me staring there at some of these concepts like huh?!? Thanks for checking it out!!

  • @peloizol8947
    @peloizol8947 2 ปีที่แล้ว

    I like how you did the website for documenting the video notes for reference later

  • @MTHHC
    @MTHHC 2 ปีที่แล้ว

    Hey, thanks for explanation! Very well done 👍 I am downloading CUDA 💪

  • @vanshd6884
    @vanshd6884 2 ปีที่แล้ว

    PS. I really so moved for your stock price episode. thank you so sosososo much.

  • @isimiztiktok
    @isimiztiktok 2 ปีที่แล้ว

    This was really good. Thanks for posting this!

  • @deathstorm9911
    @deathstorm9911 2 ปีที่แล้ว

    Love your videos bro! Time to put down that redbull though lol just kidding happy holidays!

  • @MahirSumara
    @MahirSumara 8 วันที่ผ่านมา

    You and corey schafer are my best professors

  • @blackiselia8054
    @blackiselia8054 2 ปีที่แล้ว

    i need to say this: you are the gamechanger here!!

  • @SiTacuissem
    @SiTacuissem 2 ปีที่แล้ว +1

    Interesting, but two remarks:
    Example 1: on my setup (3080Ti, i7-8700K, running in WSL2 with Ubuntu 22.04) vector multiplication runs actually *faster* on CPU (if you either use the vectorized formulation in MultiplyMyVectors with target "cpu" or, simply, a*b instead of the unnecessary for loop in the CPU code). IMO that is mostly due to the overhead of copying the data to the GPU memory.
    Example 2: to get a fair comparison, you should also use the JIT for FillArrayWithouGPU, decorating with @jit(target_backend="cpu"). Then, GPU array filling is still faster, but only by a factor of 2.

  • @technobaba2579
    @technobaba2579 2 ปีที่แล้ว

    Excellent explanation, keep going with this content man ;)

  • @digitaleconome
    @digitaleconome 2 ปีที่แล้ว

    Great explanation! Fascinatingly clear

  • @keremkipri9436
    @keremkipri9436 2 ปีที่แล้ว

    Thanks for the video, subscribed! A suggestion : this small change to your code would demonstrate a real-world gradient descent solution for linear regression with noisy data. E.g. :

  • @aysezuhre8606
    @aysezuhre8606 2 ปีที่แล้ว

    Ahmad sorry for bother you, the problem was not installing Cuda Toolkit, srly I hate people who doesnt watch full video closely and ask stupid questions....and now I m one of them :D. Thx alot for this tutorial in 2 months i will try write my own GPU operator for my program, would be interting if this will be faster than CPU. (Btw using normal Visual code in python 3.10 env. on win 11, so far so good. (Altrough i have some code output delay problem when using openCV for some strange reason)

  • @Cardexs
    @Cardexs 2 ปีที่แล้ว

    This is really helpful for my computing. Thank you.

  • @aliyensagaltc3121
    @aliyensagaltc3121 2 ปีที่แล้ว

    You are bloody watching a master at work xD

  • @saplamacay1579
    @saplamacay1579 2 ปีที่แล้ว

    Ahmad , great video. You have a great way of explaining things and help a lot of people. IMO a lot of the critic you get - such as here is unfunded. By the way, I do not see any video postings by Juan???. I am trying to get my TH-cam channel started and hope that in 10 years time I will be 1/10th as good as Ahmad 👍.

  • @Houseofcreate
    @Houseofcreate 2 ปีที่แล้ว

    Many thanks for the lucid explanation.

  • @a.s.m.rashedchowdhury784
    @a.s.m.rashedchowdhury784 2 ปีที่แล้ว

    opened my eyes to parallel programming

    • @user-sh6jw1ce3m
      @user-sh6jw1ce3m 2 ปีที่แล้ว

      Thanks for the comment... contact me for information and profitable investment strategies..⬆️

  • @imperalzula7062
    @imperalzula7062 2 ปีที่แล้ว

    Great talk, thank you ! Well structured and clear.

    • @user-sh6jw1ce3m
      @user-sh6jw1ce3m 2 ปีที่แล้ว

      Thanks for the comment... contact me for information and profitable investment strategies...⬆️

  • @putraairdrop1260
    @putraairdrop1260 2 ปีที่แล้ว

    It's great video programming sir,, hope the best for you

  • @sachinram3783
    @sachinram3783 2 ปีที่แล้ว

    Sir,make more detailed sessions on CUDA,your explanation is great

  • @herseydenbirazck2051
    @herseydenbirazck2051 2 ปีที่แล้ว

    HEYYYYY PHIL!! Long time no see, thanks a mil!!

  • @pankajnayak2538
    @pankajnayak2538 2 ปีที่แล้ว

    Your videos are awesome , thanks a lot for this quality content :)

  • @emirhans7363
    @emirhans7363 2 ปีที่แล้ว

    Absolutely lovely visuals!!!

  • @mjmlangenihd8706
    @mjmlangenihd8706 2 ปีที่แล้ว +1

    yes, you could do this by hand, which would be a great challenge in distributed computing to code by hand. Another option is to use a framework/platform like AWS Sagemaker to do distributed kmeans. Most organizations will do this.

  • @_jack_cruusc_tech_5688
    @_jack_cruusc_tech_5688 2 ปีที่แล้ว

    Awesome! learning never stops.

  • @notachannel2601
    @notachannel2601 2 ปีที่แล้ว

    It is effectively a very easy approach to harness the power of cuda in simple python scripts.

  • @Muhannad_ALAZZO
    @Muhannad_ALAZZO 2 ปีที่แล้ว

    wold love to see a video on what are a few CUDA programming challenges

  • @besttwitcher4569
    @besttwitcher4569 2 ปีที่แล้ว

    YESSSS, right?! Glad you liked it Miguel!

  • @enescakmak6699
    @enescakmak6699 2 ปีที่แล้ว

    It works on both AMD and NVIDIA. If you have CUDA code, you can convert it to HIP with their automated tool, there is very little CUDA specific that can't be just translated over.

  • @wintergacha5370
    @wintergacha5370 2 ปีที่แล้ว

    Very nice tutorial. I really liked it. It's brief, to the point and very clear. Thanks. Could you please make a video for the same example but in Linux?

  • @bastansavma9640
    @bastansavma9640 2 ปีที่แล้ว

    Thank you so much sir, you are an amazing human being !

  • @aligok25
    @aligok25 2 ปีที่แล้ว

    Very clear, I loved it !

  • @theatlantisreport1595
    @theatlantisreport1595 2 ปีที่แล้ว

    This reminds me a lot of the computer tutorial tapes from the 90s

  • @pusher7051
    @pusher7051 2 ปีที่แล้ว

    glad to see you take it as a feedback and not as a hate comment

  • @burakkose3703
    @burakkose3703 2 ปีที่แล้ว

    Damn you are such a great teacher dude.

  • @yusifhsnov1802
    @yusifhsnov1802 2 ปีที่แล้ว

    So stoked you liked it 🙏

  • @pandamusic_tz
    @pandamusic_tz 2 ปีที่แล้ว

    The Knowledge of Ahmad knows no bounds.