Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

consider stablediffusion (ldm) installation as hashbang #22

Open
aniketmaurya opened this issue Jan 30, 2023 · 1 comment
Open

consider stablediffusion (ldm) installation as hashbang #22

aniketmaurya opened this issue Jan 30, 2023 · 1 comment

Comments

@aniketmaurya
Copy link

The App fails locally because of ldm package is not installed with the --setup flag.

I tried setting local_build_config but it had no effect.

Error:

  File "/Users/aniket/miniconda3/envs/am/lib/python3.9/site-packages/lightning/app/components/serve/python_server.py", line 312, in run
    self.setup(*args, **kwargs)
  File "/Users/aniket/Projects/github/DiffusionWithAutoscaler/app.py", line 27, in setup
    import ldm
ModuleNotFoundError: No module named 'ldm'

cc: @hhsecond @tchaton

@justusschock
Copy link
Member

@aniketmaurya local_build_config is not supported until we have a proper docker runtime as per https://github.com/Lightning-AI/lightning/blob/master/src/lightning_app/core/work.py#L100

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants