Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Fresh Install Error (launch.py, NumPy, rank_zero_only) #11501

Closed
1 task done
ghost opened this issue Jun 29, 2023 · 2 comments
Closed
1 task done

[Bug]: Fresh Install Error (launch.py, NumPy, rank_zero_only) #11501

ghost opened this issue Jun 29, 2023 · 2 comments
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@ghost
Copy link

ghost commented Jun 29, 2023

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

Unable to fresh install sd-webui through Kaggle

Steps to reproduce the problem

Normal install sd-webui using Kaggle

What should have happened?

Worked and installed properly

Version or Commit where the problem happens

Version: v1.4.0 / Commit hash: 394ffa7

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Other/Cloud

What device are you running WebUI on?

Other GPUs

Cross attention optimization

None

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

!COMMANDLINE_ARGS="--disable-console-progressbars --disable-safe-unpickle --no-half-vae --ngrok" REQS_FILE="requirements.txt" python launch.py

List of extensions

No

Console logs

/opt/conda/lib/python3.10/site-packages/scipy/__init__.py:146: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.23.5
  warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
Traceback (most recent call last):
  File "/kaggle/working/stable-diffusion-webui/launch.py", line 38, in <module>
    main()
  File "/kaggle/working/stable-diffusion-webui/launch.py", line 34, in main
    start()
  File "/kaggle/working/stable-diffusion-webui/modules/launch_utils.py", line 340, in start
    import webui
  File "/kaggle/working/stable-diffusion-webui/webui.py", line 42, in <module>
    from modules.call_queue import wrap_gradio_gpu_call, wrap_queued_call, queue_lock  # noqa: F401
  File "/kaggle/working/stable-diffusion-webui/modules/call_queue.py", line 5, in <module>
    from modules import shared, progress, errors
  File "/kaggle/working/stable-diffusion-webui/modules/shared.py", line 18, in <module>
    from ldm.models.diffusion.ddpm import LatentDiffusion
  File "/kaggle/working/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 20, in <module>
    from pytorch_lightning.utilities.distributed import rank_zero_only
ImportError: cannot import name 'rank_zero_only' from 'pytorch_lightning.utilities.distributed' (/opt/conda/lib/python3.10/site-packages/pytorch_lightning/utilities/distributed.py)

Additional information

No response

@ghost ghost added the bug-report Report of a bug, yet to be confirmed label Jun 29, 2023
@w-e-w
Copy link
Collaborator

w-e-w commented Jun 29, 2023

don't post your authentication token
I edited your post for you but I didn't find a delete button see if you can delete on your end

@akx
Copy link
Collaborator

akx commented Sep 1, 2023

What does "Normal install sd-webui using Kaggle" mean anyway?

You seem to be using a Conda environment, not a virtualenv – you're basically on your own there. Anyway, looks like you have an incompatible version of pytorch_lightning in that Conda environment.

@akx akx closed this as not planned Won't fix, can't repro, duplicate, stale Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

2 participants