Skip to content

Debugging Errors #182

@Legus-Yeung

Description

@Legus-Yeung

Just sharing my experience of getting the repo to work. FYI, I installed dependencies using python3.9 and venv instead of conda.

Import Error... File "~/riffusion/venv/lib/python3.9/site-packages/diffusers/dynamic_modules_utils.py", line 26, in
from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info

Fix - change import line 26 to:
from huggingface_hub import HfFolder, hf_hub_download, model_info

Runtime Error... File "~/riffusion/venv/lib/python3.9/site-packages/diffusers/schedulers/scheduling_dpmsolver_multistep.py", line 182, in init
self.timesteps = torch.from_numpy(timesteps)
RuntimeError: Numpy is not available

Fix - change numpy version in requirements.txt to:
numpy==1.26.4

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