Skip to content

DLL load failed while importing fused: The specified module could not be found. #38

@Germin4l

Description

@Germin4l

Can it work with Torch2.0 or does it use functions that aren't present in 2.0? (that is what I suspect at first glance)
I tried and I get "DLL load failed while importing fused: The specified module could not be found."

# Error: DLL load failed while importing fused: The specified module could not be found.
# # Traceback (most recent call last):
# #   File "<maya console>", line 1, in <module>
# #   File "Z:\MAYA_AI\plugin\python\drag_gan.py", line 12, in <module>
# #     from stylegan2.model import Generator
# #   File "Z:\MAYA_AI\plugin\python\stylegan2\model.py", line 8, in <module>
# #     from .op import FusedLeakyReLU, fused_leaky_relu, upfirdn2d, conv2d_gradfix
# #   File "Z:\MAYA_AI\plugin\python\stylegan2\op\__init__.py", line 1, in <module>
# #     from .fused_act import FusedLeakyReLU, fused_leaky_relu
# #   File "Z:\MAYA_AI\plugin\python\stylegan2\op\fused_act.py", line 11, in <module>
# #     fused = load(
# #   File "C:\Users\pj\AppData\Roaming\Python\Python39\site-packages\torch\utils\cpp_extension.py", line 1284, in load
# #     return _jit_compile(
# #   File "C:\Users\pj\AppData\Roaming\Python\Python39\site-packages\torch\utils\cpp_extension.py", line 1535, in _jit_compile
# #     return _import_module_from_library(name, build_directory, is_python_module)
# #   File "C:\Users\pj\AppData\Roaming\Python\Python39\site-packages\torch\utils\cpp_extension.py", line 1929, in _import_module_from_library
# #     module = importlib.util.module_from_spec(spec)
# # ImportError: DLL load failed while importing fused: The specified module could not be found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions