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.

VapoursynthR72_torch_2025.08.28 missing files
#8
In dlib-whl
there are 2 type of releases: 1) "alpha" which is CUDA enabled 2) "non-alpha" which is CPU only
In the torch package was installed the "non-alpha" version.

You can see this by looking to file: __init__.py

Inside the version released in the torch package there is this code:

# Copyright (C) 2020  Davis E. King (davis@dlib.net)
# License: Boost Software License   See LICENSE.txt for the full license.

def add_lib_to_dll_path(path):
    """ On windows you must call os.add_dll_directory() to allow linking to external DLLs.  See
    https://docs.python.org/3.8/whatsnew/3.8.html#bpo-36085-whatsnew.  This function adds the folder
    containing path to the dll search path.
    """
    try:
        import os
        os.add_dll_directory(os.path.join(os.path.dirname(path), '../../bin'))
    except (AttributeError,KeyError,FileNotFoundError):
        pass

if 'OFF' == 'ON':
    add_lib_to_dll_path('C:/Program Files/NVIDIA/CUDNN/v9.8/lib/x64/cudnn.lib')
    add_lib_to_dll_path('C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/lib/x64/cudart.lib')

from _dlib_pybind11 import *
from _dlib_pybind11 import __version__, __time_compiled__


As you can see the load of DLL is disabled ( 'OFF' == 'ON' )

Dan

P.S. the "alpha" version of 20.0.0 is working on my side
Reply


Messages In This Thread
RE: VapoursynthR72_torch_2025.08.28 missing files - by Dan64 - 30.08.2025, 08:36

Forum Jump:


Users browsing this thread: 1 Guest(s)