Тёмный
No video :(

Python CUDA Installation & CUPY | GPU Acceleration Basics 01 

Rounak Paul
Подписаться 564
Просмотров 5 тыс.
50% 1

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

 

17 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@nagen78
@nagen78 4 месяца назад
simple and straight to the point.
@rounakpaul001
@rounakpaul001 4 месяца назад
Thank you, appreciate the comment.
@tkz4_on_osu295
@tkz4_on_osu295 2 месяца назад
Best Indian tutorial I’ve ever seen🙌
@rounakpaul001
@rounakpaul001 2 месяца назад
thank you
@taj-ulislam6902
@taj-ulislam6902 4 месяца назад
Unique information - hard to find. Much appreciate your effort.
@rounakpaul001
@rounakpaul001 4 месяца назад
Thank you
@rajatpaul3728
@rajatpaul3728 6 месяцев назад
Helpful
@rounakpaul001
@rounakpaul001 6 месяцев назад
Thank you
@kingkeshu5561
@kingkeshu5561 4 месяца назад
nice video. Pretty helpful!
@rounakpaul001
@rounakpaul001 4 месяца назад
Thank you
@yadongwang8629
@yadongwang8629 4 месяца назад
thanks for sharing. So if I am using M1 Macbook. I can install the cupy in python and use Colab to mimic the GPU?
@rounakpaul001
@rounakpaul001 4 месяца назад
By CuPy devs: "We cannot guarantee that CuPy works on other environments like MacOs, even if it looks like it is working" On mac, your best acceleration options are: Metal API or Vulkan Compute pipeline For learning and prototyping algorithms you can use google colab's TGPU.
@rounakpaul001
@rounakpaul001 4 месяца назад
If using Colab, no need to install CuPy on your M1 computer. The colab does the setup on the cloud VM by itself.
@ah_bb8267
@ah_bb8267 3 месяца назад
I wished i had knew about this before. Numpy uses a lot of ram and cpu. I was looking for a way to shift some of the data preprocessing workload onto the GPU. Does tensorflow recognise cupy arrays as valid input data types like numpy arrays? Great video.
@rounakpaul001
@rounakpaul001 3 месяца назад
Numpy and Tensor has similar data structure, but CuPy has completely different data structure as the pool it uses is from the GPU, not the system RAM. But you can still do conversions and have a hybrid code running in CPU and GPU: import tensorflow as tf import cupy as cp # Create a CuPy array cupy_array = cp.array([1, 2, 3]) # Convert CuPy array to NumPy array numpy_array = cp.asnumpy(cupy_array) # Use NumPy array as input to TensorFlow tensor = tf.constant(numpy_array) # Perform TensorFlow operations on the tensor result = tf.math.square(tensor) print(result)
@ah_bb8267
@ah_bb8267 3 месяца назад
​@@rounakpaul001Thanks 🙏
@itsamitnitrkl5199
@itsamitnitrkl5199 Месяц назад
My doubt is also same , can be use copy for ml models
@infernophoenix1575
@infernophoenix1575 4 месяца назад
Just a quick question, does this method work even with laptops with AMD GPU's or this is only restricted to only NVIDIA GPU-type laptops
@rounakpaul001
@rounakpaul001 4 месяца назад
The methods are currently limited to NVIDIA GPUs. AMD has launched their new CUDA equivalent toolkits recently, I will learn it when I can get my hand on an AMD GUP system.
@user-gf2xe7mw2i
@user-gf2xe7mw2i 4 месяца назад
Thank you! Tell me, can I put a ready-made script code in Python into this shell and run it through the GPU and not the CPU?
@rounakpaul001
@rounakpaul001 4 месяца назад
In short, mostly no. The script will always be run on the CPU, but your computation tasks you can do on GPU. The architecture of the CPU and GPU are different. Using python modules to run programs on the gpu may look similar to a normal python program, but underneath it's different. With some modifications you can probably run your functions on the gpu.
@cattnation6257
@cattnation6257 3 месяца назад
will you help me? i can code but configration always sucks me
@rounakpaul001
@rounakpaul001 3 месяца назад
I will try, kindly explain the problem you are facing.
@cattnation6257
@cattnation6257 3 месяца назад
@@rounakpaul001 i am working on somthing where i use yolo mediapipe and tensorflow i code enough to do my work and code working properly but the issue is i cant able to use gpu so when a video i pass throw my function the one frame take 300 ms and its two slow i have nivdea gpu 4060 install 12 version i always have issue in version what should i do
Далее
Classic Italian Pasta Dog
00:20
Просмотров 4,7 млн
Writing Code That Runs FAST on a GPU
15:32
Просмотров 552 тыс.
I forced EVERYONE to use Linux
22:59
Просмотров 367 тыс.
CUDA Programming in Python
9:12
Просмотров 6 тыс.
Why Developers Are OBSESSED With Obsidian
11:26
Просмотров 48 тыс.
Nvidia CUDA in 100 Seconds
3:13
Просмотров 1,2 млн
What's new in Python 3.13?
5:08
Просмотров 79 тыс.
Unlocking your CPU cores in Python (multiprocessing)
12:16