Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4090 #232

Open
twkim37 opened this issue Apr 17, 2023 · 1 comment
Open

4090 #232

twkim37 opened this issue Apr 17, 2023 · 1 comment

Comments

@twkim37
Copy link

twkim37 commented Apr 17, 2023

(rvm) I:\RVM\RobustVideoMatting-master>python inference.py --variant mobilenetv3 --checkpoint checkpoint/rvm_mobilenetv3.pth --device cuda --input-source "input/input.mp4" --downsample-ratio 0.25 --output-type video --output-composition "output/composition.mp4" --output-alpha "output/alpha.mp4" --output-foreground "output/foreground.mp4" --output-video-mbps 8 --seq-chunk 12
47%|██████████████████████████████████▍ | 7092/15059 [1:07:44<1:16:21, 1.74it/s]

...

I have a 4090 and my GPU utilization is significantly lower.

I use CUDNN version 11.8.
I tried 11.7 just in case, but the speed is the same.

The GPU load in the task manager is only 2%. Sometimes it goes to 20%, but only briefly. My gpu power usage with hwmonitor is also only 45W.

The GPU is not being utilized. Is there something I'm missing?

@JuggerGuGu
Copy link

In the task manager, there are different types of GPU utilization, such as 3D, Copy, Video Encode, and more. Make sure you have switched to the "CUDA" option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants