nihui / rife-ncnn-vulkan

RIFE, Real-Time Intermediate Flow Estimation for Video Frame Interpolation implemented with ncnn library
MIT License
821 stars 68 forks source link

It does not use gpu on linux #73

Open yuvraj108c opened 9 months ago

yuvraj108c commented 9 months ago

It only uses cpu, even when specifying gpu id. Got same issues with https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan

./rife-ncnn-vulkan -i inputs/ -o out/ -g 0
[0 llvmpipe (LLVM 15.0.7, 256 bits)]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[0 llvmpipe (LLVM 15.0.7, 256 bits)]  bugsbn1=0  bugbilz=0  bugcopc=0  bugihfa=0
[0 llvmpipe (LLVM 15.0.7, 256 bits)]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[0 llvmpipe (LLVM 15.0.7, 256 bits)]  subgroup=8  basic=1  vote=1  ballot=1  shuffle=1

GPU: RTX 4000 OS: Ubuntu 22

+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.113.01             Driver Version: 535.113.01   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA RTX A4000               Off | 00000000:05:00.0 Off |                  Off |
| 41%   25C    P8              14W / 140W |      2MiB / 16376MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+
ArchieMeng commented 9 months ago

You should have a working vulkan driver for the program to use GPU. Please refer to your linux distro for guidance.

RackYican commented 7 months ago

USE COMMON RIFE, THIS RIFE IS ONLY FOR CPU

ArchieMeng commented 7 months ago

USE COMMON RIFE, THIS RIFE IS ONLY FOR CPU

Is it a joke if I didn't misunderstand it?