My laptop has NVIDIA GeForce GTX1650 GPU. I want to utilize this GPU to run my Python script. Any help in the form of code would be really helpful. I mean tried researching this so much but I couldn't find.
Basically I am looping over all the frames of a video and at each frame I am using yolov8s-pose model to detect the keypoints. So since it is running on my CPU, it is very slow. So, that is the reason I need to know how to utilize my device's GPU to run it. Any help would be highly appreciated! Thank you.