Skip to content

Found Intel OpenMP ('libiomp') and LLVM OpenMP ('libomp') loaded at the same time #2072

@Amazon90

Description

@Amazon90

環境設定:
Windows 11 專業版 23H2 22631.3593
NVIDIA GeForce RTX4070 Ti 32.0.15.5585
git 2.45.1
python 3.10.11
ffmpeg 2024-05-23-git-ece95dc3dc

(runtime) D:\Git\Retrieval-based-Voice-Conversion-WebUI>pip list
Package                   Version
------------------------- ------------
absl-py                   2.1.0
aiofiles                  23.2.1
altair                    5.3.0
annotated-types           0.7.0
antlr4-python3-runtime    4.8
anyio                     4.3.0
attrs                     23.2.0
audioread                 3.0.1
av                        12.0.0
bitarray                  2.9.2
certifi                   2022.12.7
cffi                      1.16.0
charset-normalizer        2.1.1
click                     8.1.7
colorama                  0.4.6
coloredlogs               15.0.1
contourpy                 1.2.1
cycler                    0.12.1
Cython                    3.0.10
decorator                 5.1.1
dnspython                 2.6.1
einops                    0.8.0
email_validator           2.1.1
exceptiongroup            1.2.1
fairseq                   0.12.2
faiss-cpu                 1.8.0
fastapi                   0.111.0
fastapi-cli               0.0.4
ffmpeg-python             0.2.0
ffmpy                     0.3.1
filelock                  3.13.1
flatbuffers               24.3.25
fonttools                 4.51.0
fsspec                    2024.5.0
future                    1.0.0
gradio                    4.29.0
gradio_client             0.16.1
grpcio                    1.64.0
h11                       0.14.0
httpcore                  1.0.5
httptools                 0.6.1
httpx                     0.27.0
huggingface-hub           0.23.1
humanfriendly             10.0
hydra-core                1.0.7
idna                      3.4
importlib_resources       6.4.0
Jinja2                    3.1.3
joblib                    1.4.2
json5                     0.9.25
jsonschema                4.22.0
jsonschema-specifications 2023.12.1
kiwisolver                1.4.5
librosa                   0.9.1
llvmlite                  0.42.0
local-attention           1.9.1
lxml                      5.2.2
Markdown                  3.6
markdown-it-py            3.0.0
MarkupSafe                2.1.5
matplotlib                3.9.0
matplotlib-inline         0.1.7
mdurl                     0.1.2
mpmath                    1.3.0
networkx                  3.2.1
numba                     0.59.1
numpy                     1.23.5
omegaconf                 2.0.5
onnxruntime-gpu           1.18.0
orjson                    3.10.3
packaging                 24.0
pandas                    2.2.2
pillow                    10.2.0
pip                       24.0
platformdirs              4.2.2
pooch                     1.8.1
portalocker               2.8.2
praat-parselmouth         0.4.3
protobuf                  5.27.0
pyasn1                    0.6.0
pyasn1_modules            0.4.0
pycparser                 2.22
pydantic                  2.7.1
pydantic_core             2.18.2
pydub                     0.25.1
Pygments                  2.18.0
pyparsing                 3.1.2
pyreadline3               3.4.1
python-dateutil           2.9.0.post0
python-dotenv             1.0.1
python-multipart          0.0.9
pytz                      2024.1
pywin32                   306
pyworld                   0.3.2
PyYAML                    6.0.1
referencing               0.35.1
regex                     2024.5.15
requests                  2.32.2
resampy                   0.4.3
rich                      13.7.1
rpds-py                   0.18.1
ruff                      0.4.5
sacrebleu                 2.4.2
scikit-learn              1.5.0
scipy                     1.13.1
semantic-version          2.10.0
setuptools                65.5.0
shellingham               1.5.4
six                       1.16.0
sniffio                   1.3.1
soundfile                 0.12.1
starlette                 0.37.2
sympy                     1.12
tabulate                  0.9.0
tensorboard               2.16.2
tensorboard-data-server   0.7.2
tensorboardX              2.6.2.2
threadpoolctl             3.5.0
tomlkit                   0.12.0
toolz                     0.12.1
torch                     2.0.1+cu117
torchaudio                2.0.2+cu117
torchcrepe                0.0.20
torchfcpe                 0.0.4
torchvision               0.15.2+cu117
tornado                   6.4
tqdm                      4.66.4
traitlets                 5.14.3
typer                     0.12.3
typing_extensions         4.9.0
tzdata                    2024.1
uc-micro-py               1.0.3
ujson                     5.10.0
urllib3                   2.2.1
uvicorn                   0.29.0
watchfiles                0.21.0
websockets                11.0.3
Werkzeug                  3.0.3

錯誤復現:
1.git clone https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
2.cd Retrieval-based-Voice-Conversion-WebUI
3.python -m venv runtime
4.runtime\Scripts\activate
5.pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
6.pip install -r requirements.txt
7.ffmpeg.exe和ffprobe.exe置於路徑D:\Git\Retrieval-based-Voice-Conversion-WebUI
8."D:\Git\Retrieval-based-Voice-Conversion-WebUI\runtime\lib\site-packages\gradio\component_meta.py"檔案中,
所有read_text()取代為read_text(encoding='utf-8')
9.python infer-web.py --update

錯誤訊息如下:

(runtime) D:\Git\Retrieval-based-Voice-Conversion-WebUI>python infer-web.py --update
D:\Git\Retrieval-based-Voice-Conversion-WebUI\runtime\lib\site-packages\threadpoolctl.py:1214: RuntimeWarning:
Found Intel OpenMP ('libiomp') and LLVM OpenMP ('libomp') loaded at
the same time. Both libraries are known to be incompatible and this
can cause random crashes or deadlocks on Linux when loaded in the
same Python program.
Using threadpoolctl may cause crashes or deadlocks. For more
information and possible workarounds, please see
    https://github.com/joblib/threadpoolctl/blob/master/multiple_openmp.md

  warnings.warn(msg, RuntimeWarning)
2024-05-24 18:34:42 | INFO | configs.config | Found GPU NVIDIA GeForce RTX 4070 Ti
2024-05-24 18:34:42 | INFO | configs.config | Half-precision floating-point: True, device: cuda:0
2024-05-24 18:34:44 | INFO | infer.lib.rvcmd | checking hubret & rmvpe...
2024-05-24 18:34:44 | INFO | infer.lib.rvcmd | checking pretrained models...
2024-05-24 18:34:45 | INFO | infer.lib.rvcmd | checking pretrained models v2...
2024-05-24 18:34:46 | INFO | infer.lib.rvcmd | checking uvr5_weights...
2024-05-24 18:34:47 | INFO | infer.lib.rvcmd | all assets are already latest.
2024-05-24 18:34:47 | INFO | __main__ | Use Language: zh_TW

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions