How to increase GPU utilization

27 views
Skip to first unread message

Tolga Gürcan

unread,
Dec 5, 2025, 6:20:50 AM12/5/25
to openpiv-users
Hi,

When I check the GPU utilization while running openpiv GPU I get values between 20% and 30%. Is there a way to increase this value or does it have any role in the speed of the algorithm?

Best,
Tolga

Alex Liberzon

unread,
Dec 5, 2025, 6:52:59 AM12/5/25
to openpiv-users
Please create a GitHub repo with some image examples - we need to learn the problem. I do not use the GPU version very often, and we have not checked it with recent Python and CUDA versions. Please explain which hardware/software you use, and which versions of openpiv-python-gpu you use. We have at least two on GitHub. 

Alex

Tolga Gürcan

unread,
Dec 19, 2025, 12:48:20 PM12/19/25
to openpiv-users
Hi Alex,

Sorry for the late reply.

I’ve created a small GitHub repository with image examples to demonstrate the problem:
https://github.com/tg5941/piv_debug/tree/main

For the GPU implementation, I am using the openpiv-python-gpu package from:
https://github.com/OpenPIV/openpiv-python-gpu

Below is a summary of the hardware and software environment I am using.

CPU
AMD Ryzen Threadripper 2950X (16 cores)

Memory
125 GiB RAM

GPU
NVIDIA TITAN RTX (×2)
24 GB memory each
Driver version: 570.195.03

Operating System
Ubuntu 20.04.6 LTS

CUDA / Driver
NVIDIA Driver: 570.195.03
Driver-supported CUDA version: 12.8

CUDA Toolkit
nvcc: CUDA compilation tools, release 12.4 (V12.4.131)

Please let me know if additional details would be helpful.

Best regards,
Tolga

5 Aralık 2025 Cuma tarihinde saat 06:52:59 UTC-5 itibarıyla alex.l...@gmail.com şunları yazdı:

Alex Liberzon

unread,
Dec 21, 2025, 5:30:58 AM12/21/25
to openpiv-users
Thanks, Tolga

I do not have access to the GPU unit right now. We'll try to find something in the lab. 


I tried using Colab for this task, but I do not know how to test the utilization:

We need a toolbox that shows the results like a cprofile for GPU. 


Alex Liberzon

unread,
Dec 22, 2025, 3:23:39 AM12/22/25
to openpiv-users
Please see if this repo is useful - it seems that they were very much concerned about the GPU utilization on OpenPIV https://github.com/MechMicroMan/openpiv-xl


On Friday, December 19, 2025 at 7:48:20 PM UTC+2 tgur...@gmail.com wrote:

Tolga Gürcan

unread,
Dec 22, 2025, 2:48:12 PM12/22/25
to Alex Liberzon, openpiv-users
Hi Alex,

Thanks for sharing the openpiv-xl repository — I’ll take a closer look at it and try to evaluate performance on my system using the repos you suggested.

While searching for other GPU-accelerated PIV implementations for comparison, I also came across this project:
https://github.com/NikNazarov/TorchPIV

I realize it’s a separate code base and not directly related to OpenPIV, but I was wondering whether you have any experience with it. Do you think it could be a useful point of comparison?

Thanks again for the help!

Best,
Tolga

Alex Liberzon <alex.l...@gmail.com>, 22 Ara 2025 Pzt, 03:23 tarihinde şunu yazdı:
--
You received this message because you are subscribed to the Google Groups "openpiv-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpiv-user...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/openpiv-users/97ea386d-e836-4141-aace-3468b03b7400n%40googlegroups.com.

Alex Liberzon

unread,
Dec 22, 2025, 2:52:45 PM12/22/25
to openpiv-users
Hi Tolga

I do not have any experience with TorchPIV. I recall that I contacted the author, and we even chatted on Zoom; he was positive, but this didn't materialize in adopting his work into OpenPIV. 

Please find a way to consolidate all the packages into a better GPU version for OpenPIV. My hands are too busy right now, and I'm not an expert in CUDA. 

I just came across this project https://github.com/exaloop/codon and am thinking of starting to test it on a CPU that apparently also works on a GPU. 

Alex
Reply all
Reply to author
Forward
0 new messages