Тёмный

CUDA Programming in Python 

JetsonHacks
Подписаться 36 тыс.
Просмотров 6 тыс.
50% 1

Do you want faster Python code? In this tutorial we demonstrate how to use a Just In Time (JIT) Compiler for Python. You can turn regular Python into fast machine code, and write CUDA code for the GPU in Python too! JetsonHacks article: wp.me/p7ZgI9-3OB
Here we give a high level introduction to using Numba, a JIT compiler for Python. Numba is a cross platform solution. Numba can generate machine code for those crucial time constrained functions. In addition, you can use Numba to generate CUDA code directly from Python code!
We're running this demonstration on the NVIDIA AGX Orin Developer Kit, the premier computer for edge computing.
NVIDIA Jetson AGX Orin Developer Kit: amzn.to/3U06UIn
NVIDIA Jetson Orin Nano Developer Kit: amzn.to/3vORvAi
Code demonstrated: github.com/jetsonhacks/cuda-u...
00:00 Introduction
00:11 Timing a Sobel Filter
04:06 Speed Comparison CPU vs GPU
04:22 Writing CUDA in Python
07:19 Overview of how JIT works
Join this channel to get access to perks:
/ @jetsonhacks
As an Amazon Associate I earn from qualifying purchases.
Visit the JetsonHacks storefront on Amazon: www.amazon.com/shop/jetsonhacks
Visit the website at jetsonhacks.com
Sign up for the newsletter! newsletter.jetsonhacks.com
Github accounts: github.com/jetsonhacks
github.com/jetsonhacksnano
Twitter: / jetsonhacks
Some of these links here are affiliate links. As an Amazon Associate I earn from qualifying purchases at no extra cost to you.

Наука

Опубликовано:

 

14 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@miriamramstudio3982
@miriamramstudio3982 6 месяцев назад
Great video. Thanks
@JetsonHacks
@JetsonHacks 6 месяцев назад
You're welcome! Thank you for the kind words, and thanks for watching!
@surflaweb
@surflaweb 6 месяцев назад
Good job
@JetsonHacks
@JetsonHacks 6 месяцев назад
Thank you for the kind words, and thanks for watching!
@gaggablagblag9997
@gaggablagblag9997 6 месяцев назад
Amazing, keep it going!
@JetsonHacks
@JetsonHacks 6 месяцев назад
Thanks for the encouragement, and thank you for watching!
@KILLDOZE-
@KILLDOZE- 5 месяцев назад
Thanks again man you are the best!
@JetsonHacks
@JetsonHacks 5 месяцев назад
No, you are the best! Thanks for watching!
@lashlarue59
@lashlarue59 6 месяцев назад
Hey Jim, for your development work do you generally do it all on the Jetson-type devices or do you do it on a PC running Linux and a Nvidia video card? Great video by the way!!
@JetsonHacks
@JetsonHacks 6 месяцев назад
Thank you for the kind words. I try to do the development on the Jetson itself. It removes the mental overhead of working on two different machines at once. Also, it removes a lot of the distractions of things like checking email and so on. Helps me focus. When the Jetson is on a mobile robot or is remote, then I have to resort to PC based development. Thanks for watching!
@aa-xn5hc
@aa-xn5hc 6 месяцев назад
Wow!
@JetsonHacks
@JetsonHacks 6 месяцев назад
That's what I think too! Thanks for watching!
@sarthakbhardwaj2128
@sarthakbhardwaj2128 4 месяца назад
please make a video on running Small Language models or Quantised one's from hugging face on JETSON AGX xavier
@Retroiu99_01
@Retroiu99_01 4 месяца назад
Hi, great video by the way, I have a question if you let me, as far as I understand this can be done in a Jetson Nano 2GB, but there is not a clear path to follow regarding the installation and application on the jetson nano, can you lead me to one source that you know? the second question is, are there other ways to code in a Cuda environment with Python using a Jetson Nano? thank you so much by the way, I have been following your work for a while and you have helped me a lot and saved me lots of time
@JetsonHacks
@JetsonHacks 4 месяца назад
Thank you for the kind words. There is pyCUDA and CUDA Python (developer.nvidia.com/cuda-python) in addition to Numba if you want to take some other approach to using CUDA in Python. Typically you install Numba using Pip, the Python packaging manager. Thanks for watching!
@amorpheuses1627
@amorpheuses1627 5 месяцев назад
Yikes the Orin kit is nice but something I can't afford. Is there a poor man's setup you can recommend?
@JetsonHacks
@JetsonHacks 5 месяцев назад
There's a less expensive Orin, the Jetson Orin Nano Developer Kit: amzn.to/3O6IjxG It's not inexpensive. The Jetson Nano: amzn.to/3tVWrmu is less expensive, but it is being discontinued. Thanks for watching!
@froimv
@froimv 6 месяцев назад
Like for Greta meme. Also good job otherwise.
@JetsonHacks
@JetsonHacks 6 месяцев назад
Thank you for the kind words, and thanks for watching!
Далее
Compiled Python is FAST
12:57
Просмотров 101 тыс.
Unlocking your CPU cores in Python (multiprocessing)
12:16
50 YouTubers Fight For $1,000,000
41:27
Просмотров 75 млн
CUDA: New Features and Beyond | NVIDIA GTC 2024
50:08
Build OpenCV with CUDA Support for Jetson
8:31
Просмотров 29 тыс.
The Only Database Abstraction You Need | Prime Reacts
21:42
What's new in Python 3.13?
5:08
Просмотров 76 тыс.
Writing Code That Runs FAST on a GPU
15:32
Просмотров 546 тыс.
Make Python code 1000x Faster with Numba
20:33
Просмотров 441 тыс.
All Rust features explained
21:30
Просмотров 291 тыс.
#engineering #diy #amazing #electronic #fyp
0:59
Просмотров 528 тыс.
Здесь упор в процессор
18:02
Просмотров 312 тыс.