Skip to content

libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent when running Gradio demo.py #32

@vaclcer

Description

@vaclcer

Hi, I was following https://github.com/ElectricAlexis/NotaGen/blob/main/gradio/README.md but I am getting this error when running Gradio server:

(notagen) root@xyz:/home/vaclav/NotaGen/gradio# python demo.py
Traceback (most recent call last):
File "/home/vaclav/NotaGen/gradio/demo.py", line 6, in
from inference import inference_patch
File "/home/vaclav/NotaGen/gradio/inference.py", line 4, in
import torch
File "/root/miniconda3/envs/notagen/lib/python3.10/site-packages/torch/init.py", line 237, in
from torch._C import * # noqa: F403
ImportError: /root/miniconda3/envs/notagen/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions