so-vits-svc-fork icon indicating copy to clipboard operation
so-vits-svc-fork copied to clipboard

Error "OS ERROR" is reported during training

Open NAOLIU opened this issue 1 year ago • 0 comments

Describe the bug

OSError: [WinError 1114] Dynamic-link library (DLL) initialization routine failed

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "K:\so-vits-svc-520\so-vits-svc-Huang\workenv\lib\multiprocessing\spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "K:\so-vits-svc-520\so-vits-svc-Huang\workenv\lib\multiprocessing\spawn.py", line 125, in _main
    prepare(preparation_data)
  File "K:\so-vits-svc-520\so-vits-svc-Huang\workenv\lib\multiprocessing\spawn.py", line 236, in prepare
    _fixup_main_from_path(data['init_main_from_path'])
  File "K:\so-vits-svc-520\so-vits-svc-Huang\workenv\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path
    main_content = runpy.run_path(main_path,
  File "K:\so-vits-svc-520\so-vits-svc-Huang\workenv\lib\runpy.py", line 265, in run_path
    return _run_module_code(code, init_globals, run_name,
  File "K:\so-vits-svc-520\so-vits-svc-Huang\workenv\lib\runpy.py", line 97, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "K:\so-vits-svc-520\so-vits-svc-Huang\workenv\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "K:\so-vits-svc-520\so-vits-svc-Huang\train.py", line 13, in <module>
    import torch
  File "K:\so-vits-svc-520\so-vits-svc-Huang\workenv\lib\site-packages\torch\__init__.py", line 128, in <module>
    raise err
OSError: [WinError 1114] 动态链接库(DLL)初始化例程失败。 Error loading "K:\so-vits-svc-520\so-vits-svc-Huang\workenv\lib\site-packages\torch\lib\shm.dll" or one of its dependencies.

To Reproduce

A few minutes after starting training

Additional context

No response

Version

3.14.1

Platform

Windows11

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct.

No Duplicate

  • [X] I have checked existing issues to avoid duplicates.

NAOLIU avatar May 22 '23 01:05 NAOLIU