Skip to content

Having issues running inference or app.py #12

@nisar2

Description

@nisar2

Hello, I followed the instructions to get the project up and running and was able to sucessfully create a conda env using the yaml file. However, when I try to run inference or app.py, I get the following error:

python app.py Traceback (most recent call last): File "/home/nisar2/projects/GlyphControl-release/app.py", line 10, in <module> from scripts.rendertext_tool import Render_Text, load_model_from_config, load_model_ckpt File "/home/nisar2/projects/GlyphControl-release/scripts/rendertext_tool.py", line 1, in <module> from cldm.ddim_hacked import DDIMSampler File "/home/nisar2/projects/GlyphControl-release/cldm/ddim_hacked.py", line 3, in <module> import torch File "/home/nisar2/anaconda3/envs/GlyphControl/lib/python3.9/site-packages/torch/__init__.py", line 202, in <module> from torch._C import * # noqa: F403 ImportError: /home/nisar2/anaconda3/envs/GlyphControl/lib/python3.9/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent

Would anyone know what is going on here?

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