Good morning,
I’m developing a c++ application using libtorch2.7.1+cu128. I cannot send the model to the GPU because the method is_available() form torch::cuda always returns false.
The dll’s I’m using are the following ones:
asmjit.dll
cublasLt64_12.dll
cublas64_12.dll
cudart64_12.dll
cudnn64_9.dll
cufft64_11.dll
cupti64_2025.1.0.dll
curand64_10.dll
cusolver64_11.dll
cusparse64_12.dll
c10.dll
c10_cuda.dll
fbgemm.dll
libiomp5md.dll
nvrtc64_120_0.dll
torch.dll
torch_cpu.dll
torch_cuda.dll
and the lib files are the following ones:
asmjit.lib"
fbgemm.lib"
c10.lib"
c10_cuda.lib"
torch.lib"
torch_cpu.lib"
torch_cuda.lib"
I’m taking this files from the debug and release official folder I’ve downloaded from official website. I’ve done a cmake file named findTorch.cmake where I load the .lib files and copy de dll’s to the binary distribution folder.
Can someone help me to solve this?
Thanks! Kind regards!