VD3D using CPU instead of GPU
Cause the Windows Installer doesn't' work yet i installed VD3D using the description Option 1 (first downloaded the ZIP file). So the program starts but uses the CPU after the following message:
CUDA available: True | Running on cuda ONNX will use providers: ['CPUExecutionProvider'] RIFE model loaded. Loaded 'en' with 150 keys from languages/en.json Loaded 'en' with 150 keys from languages/en.json Settings loaded from file.
I'm hardly used to Linux/Python/etc. so i don't understand how to solve this. Nvidia-smi shows my Nvidia Gpu
the 3D engine will run fine was detected in the first line with it running cuda, the second fallback is because tensorRT is likely not installed into system, if you are using local onnx models for depth or upscaling then you can do this it will try run tensor for faster inference if not it falls back to CPU
🧰 TensorRT Setup Instructions (for VisionDepth3D on Windows)
-
Download TensorRT
- Go to the NVIDIA TensorRT download page, log in or register, and download the appropriate
.zipversion for your platform (Windows, CUDA-compatible).
- Go to the NVIDIA TensorRT download page, log in or register, and download the appropriate
-
Create the TensorRT folder
- Inside your VisionDepth3D directory, create a new folder:
VisionDepth3D\TensorRT
- Inside your VisionDepth3D directory, create a new folder:
-
Extract the TensorRT ZIP
- Unzip the downloaded TensorRT package.
- From the extracted contents, copy the entire
libfolder into your newTensorRTdirectory so the structure looks like:VisionDepth3D\TensorRT\lib\*.dll
-
Edit the batch file to set the DLL path
- Open
Start_VD3D_Windows.batin a text editor. - On the second line (just after the
cdcommand), add the following:SET "PATH=%~dp0TensorRT/lib;%PATH%" - Save the file.
- Open
✅ This step temporarily adds the TensorRT DLL folder to your system PATH — just for the session started by the batch script.
No system-wide changes are made, keeping your environment clean.