This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Hybrid 2022.03.20.1: No module named 'vsdpir'
#58
I moved the dlls to a separate folder 'Hybrid/64bit/Vapoursynth/onnxruntime_dlls/' to keep them separate from potentiall updates, cleared the __pycache__-folders and called:
import os
import site
# Import libraries for onnxruntime
from ctypes import WinDLL
path = site.getsitepackages()[0]+'/onnxruntime_dlls/'
WinDLL(path+'cublas64_11.dll')
WinDLL(path+'cudart64_110.dll')
WinDLL(path+'cudnn64_8.dll')
WinDLL(path+'cudnn_cnn_infer64_8.dll')
WinDLL(path+'cudnn_ops_infer64_8.dll')
WinDLL(path+'cufft64_10.dll')
WinDLL(path+'cufftw64_10.dll')
which does the trick for me. For Tensor support you will have to load the other libraries too (order might matter).
-> let me know whether this works for you too. (and in which order you loaded the libraries if it works, so I can write code that Hybrid will import these automatically)

Cu Selur
--- mainly offline 20.-26 of May ---
Reply


Messages In This Thread
RE: Hybrid 2022.03.20.1: No module named 'vsdpir' - by Selur - 31.03.2022, 05:19

Forum Jump:


Users browsing this thread: 1 Guest(s)