torch::cuda::is_available() is always False in third party plugin in Adobe Premiere pro
Hi, I am developing a plugin for Adobe premiere Pro. I used static lib torch in my application. However when I am trying to integrate my application to Adobe premiere pro It is reporting low-level exception error.
When I debugged for the root cause, I observed that torch::cuda::is_available() returns FALSE always. Build Environment for the application is as below.
- VS 2019
- NVIDIA GeForce RTX 3060 and CUDA Tool kit version 11.1
- Pytorch 1.8.1
I can see device_count as 1 with NVIDIA API as below in the plugin solution
result = nvmlDeviceGetCount(&device_count);
But torch::cuda::device_count() returns 0.
Could anyone help why torch is not linked to cuda in the application.
