enlyth/sd-webui-riffusion

Issue with starting WebUI

wereretot opened this issue · 0 comments

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on rexommendation user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
Using TCMalloc: libtcmalloc_minimal.so.4
Python 3.11.3 (main, Jun 5 2023, 09:32:32) [GCC 13.1.1 20230429]
Version: v1.6.0-78-gd39440bf
Commit hash: d39440bfb9d3b20338fc23a78e6655b1e2f7c1d5
Installing requirements for scikit_learn
Traceback (most recent call last):
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/launch_utils.py", line 231, in run_extension_installer
stdout = run(f'"{python}" "{path_installer}"', errdesc=f"Error running install.py for extension {extension_dir}", custom_env=env).strip()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/launch_utils.py", line 115, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Error running install.py for extension /home/rexommendation/Programs/stable-diffusion-webui/extensions/openOutpaint-webUI-extension.
Command: "/home/rexommendation/Programs/stable-diffusion-webui/venv/bin/python3" "/home/rexommendation/Programs/stable-diffusion-webui/extensions/openOutpaint-webUI-extension/install.py"
Error code: 1
stderr: Traceback (most recent call last):
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/script_loading.py", line 26, in preload_extensions
module = load_module(preload_script)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/rexommendation/Programs/stable-diffusion-webui/extensions-builtin/LDSR/preload.py", line 2, in
from modules import paths
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/paths.py", line 61, in
import sgm # noqa: F401
^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/repositories/generative-models/sgm/init.py", line 1, in
from .models import AutoencodingEngine, DiffusionEngine
File "/home/rexommendation/Programs/stable-diffusion-webui/repositories/generative-models/sgm/models/init.py", line 1, in
from .autoencoder import AutoencodingEngine
File "/home/rexommendation/Programs/stable-diffusion-webui/repositories/generative-models/sgm/models/autoencoder.py", line 6, in
import pytorch_lightning as pl
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/init.py", line 35, in
from pytorch_lightning.callbacks import Callback # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/callbacks/init.py", line 14, in
from pytorch_lightning.callbacks.batch_size_finder import BatchSizeFinder
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/callbacks/batch_size_finder.py", line 24, in
from pytorch_lightning.callbacks.callback import Callback
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/callbacks/callback.py", line 25, in
from pytorch_lightning.utilities.types import STEP_OUTPUT
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/utilities/types.py", line 27, in
from torchmetrics import Metric
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/init.py", line 14, in
from torchmetrics import functional # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/functional/init.py", line 14, in
from torchmetrics.functional.audio._deprecated import _permutation_invariant_training as permutation_invariant_training
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/functional/audio/init.py", line 14, in
from torchmetrics.functional.audio.pit import permutation_invariant_training, pit_permutate
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/functional/audio/pit.py", line 22, in
from torchmetrics.utilities import rank_zero_warn
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/utilities/init.py", line 14, in
from torchmetrics.utilities.checks import check_forward_full_state_property
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/utilities/checks.py", line 25, in
from torchmetrics.metric import Metric
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/metric.py", line 30, in
from torchmetrics.utilities.data import (
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/utilities/data.py", line 22, in
from torchmetrics.utilities.imports import _TORCH_GREATER_EQUAL_1_12, _XLA_AVAILABLE
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/utilities/imports.py", line 50, in
_TORCHAUDIO_GREATER_EQUAL_0_10: Optional[bool] = compare_version("torchaudio", operator.ge, "0.10.0")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/lightning_utilities/core/imports.py", line 73, in compare_version
pkg = importlib.import_module(package)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchaudio/init.py", line 1, in
from torchaudio import ( # noqa: F401
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchaudio/_extension/init.py", line 47, in
_check_cuda_version()
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 119, in _check_cuda_version
raise RuntimeError(
RuntimeError: Detected that PyTorch and TorchAudio were compiled with different CUDA versions. PyTorch has CUDA version 11.8 whereas TorchAudio has CUDA version 11.7. Please install the TorchAudio version that matches your PyTorch version.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/rexommendation/Programs/stable-diffusion-webui/extensions/openOutpaint-webUI-extension/install.py", line 3, in
from modules import scripts
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/scripts.py", line 10, in
from modules import shared, paths, script_callbacks, extensions, script_loading, scripts_postprocessing, errors, timer
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/shared.py", line 5, in
from modules import shared_cmd_options, shared_gradio_themes, options, shared_items, sd_models_types
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/shared_cmd_options.py", line 10, in
script_loading.preload_extensions(extensions_builtin_dir, parser)
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/script_loading.py", line 31, in preload_extensions
errors.report(f"Error running preload() for {preload_script}", exc_info=True)
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/errors.py", line 29, in report
record_exception()
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/errors.py", line 17, in record_exception
from modules import sysinfo
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/sysinfo.py", line 13, in
from modules import paths_internal, timer, shared, extensions, errors
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/extensions.py", line 4, in
from modules import shared, errors, cache, scripts
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/cache.py", line 7, in
from modules.paths import data_path, script_path
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/paths.py", line 61, in
import sgm # noqa: F401
^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/repositories/generative-models/sgm/init.py", line 1, in
from .models import AutoencodingEngine, DiffusionEngine
File "/home/rexommendation/Programs/stable-diffusion-webui/repositories/generative-models/sgm/models/init.py", line 1, in
from .autoencoder import AutoencodingEngine
File "/home/rexommendation/Programs/stable-diffusion-webui/repositories/generative-models/sgm/models/autoencoder.py", line 6, in
import pytorch_lightning as pl
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/init.py", line 35, in
from pytorch_lightning.callbacks import Callback # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/callbacks/init.py", line 14, in
from pytorch_lightning.callbacks.batch_size_finder import BatchSizeFinder
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/callbacks/batch_size_finder.py", line 24, in
from pytorch_lightning.callbacks.callback import Callback
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/callbacks/callback.py", line 25, in
from pytorch_lightning.utilities.types import STEP_OUTPUT
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/utilities/types.py", line 27, in
from torchmetrics import Metric
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/init.py", line 14, in
from torchmetrics import functional # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/functional/init.py", line 14, in
from torchmetrics.functional.audio._deprecated import _permutation_invariant_training as permutation_invariant_training
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/functional/audio/init.py", line 14, in
from torchmetrics.functional.audio.pit import permutation_invariant_training, pit_permutate
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/functional/audio/pit.py", line 22, in
from torchmetrics.utilities import rank_zero_warn
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/utilities/init.py", line 14, in
from torchmetrics.utilities.checks import check_forward_full_state_property
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/utilities/checks.py", line 25, in
from torchmetrics.metric import Metric
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/metric.py", line 30, in
from torchmetrics.utilities.data import (
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/utilities/data.py", line 22, in
from torchmetrics.utilities.imports import _TORCH_GREATER_EQUAL_1_12, _XLA_AVAILABLE
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/utilities/imports.py", line 50, in
_TORCHAUDIO_GREATER_EQUAL_0_10: Optional[bool] = compare_version("torchaudio", operator.ge, "0.10.0")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/lightning_utilities/core/imports.py", line 73, in compare_version
pkg = importlib.import_module(package)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchaudio/init.py", line 1, in
from torchaudio import ( # noqa: F401
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchaudio/_extension/init.py", line 47, in
_check_cuda_version()
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 119, in _check_cuda_version
raise RuntimeError(
RuntimeError: Detected that PyTorch and TorchAudio were compiled with different CUDA versions. PyTorch has CUDA version 11.8 whereas TorchAudio has CUDA version 11.7. Please install the TorchAudio version that matches your PyTorch version.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/script_loading.py", line 26, in preload_extensions
module = load_module(preload_script)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/rexommendation/Programs/stable-diffusion-webui/extensions-builtin/LDSR/preload.py", line 2, in
from modules import paths
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/paths.py", line 61, in
import sgm # noqa: F401
^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/repositories/generative-models/sgm/init.py", line 1, in
from .models import AutoencodingEngine, DiffusionEngine
File "/home/rexommendation/Programs/stable-diffusion-webui/repositories/generative-models/sgm/models/init.py", line 1, in
from .autoencoder import AutoencodingEngine
File "/home/rexommendation/Programs/stable-diffusion-webui/repositories/generative-models/sgm/models/autoencoder.py", line 6, in
import pytorch_lightning as pl
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/init.py", line 35, in
from pytorch_lightning.callbacks import Callback # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/callbacks/init.py", line 14, in
from pytorch_lightning.callbacks.batch_size_finder import BatchSizeFinder
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/callbacks/batch_size_finder.py", line 24, in
from pytorch_lightning.callbacks.callback import Callback
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/callbacks/callback.py", line 25, in
from pytorch_lightning.utilities.types import STEP_OUTPUT
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/pytorch_lightning/utilities/types.py", line 27, in
from torchmetrics import Metric
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/init.py", line 14, in
from torchmetrics import functional # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/functional/init.py", line 14, in
from torchmetrics.functional.audio._deprecated import _permutation_invariant_training as permutation_invariant_training
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/functional/audio/init.py", line 14, in
from torchmetrics.functional.audio.pit import permutation_invariant_training, pit_permutate
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/functional/audio/pit.py", line 22, in
from torchmetrics.utilities import rank_zero_warn
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/utilities/init.py", line 14, in
from torchmetrics.utilities.checks import check_forward_full_state_property
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/utilities/checks.py", line 25, in
from torchmetrics.metric import Metric
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/metric.py", line 30, in
from torchmetrics.utilities.data import (
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/utilities/data.py", line 22, in
from torchmetrics.utilities.imports import _TORCH_GREATER_EQUAL_1_12, _XLA_AVAILABLE
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchmetrics/utilities/imports.py", line 50, in
_TORCHAUDIO_GREATER_EQUAL_0_10: Optional[bool] = compare_version("torchaudio", operator.ge, "0.10.0")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/lightning_utilities/core/imports.py", line 73, in compare_version
pkg = importlib.import_module(package)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchaudio/init.py", line 1, in
from torchaudio import ( # noqa: F401
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchaudio/_extension/init.py", line 47, in
_check_cuda_version()
File "/home/rexommendation/Programs/stable-diffusion-webui/venv/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 119, in _check_cuda_version
raise RuntimeError(
RuntimeError: Detected that PyTorch and TorchAudio were compiled with different CUDA versions. PyTorch has CUDA version 11.8 whereas TorchAudio has CUDA version 11.7. Please install the TorchAudio version that matches your PyTorch version.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/rexommendation/Programs/stable-diffusion-webui/launch.py", line 48, in
main()
File "/home/rexommendation/Programs/stable-diffusion-webui/launch.py", line 39, in main
prepare_environment()
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/launch_utils.py", line 400, in prepare_environment
run_extensions_installers(settings_file=args.ui_settings_file)
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/launch_utils.py", line 268, in run_extensions_installers
run_extension_installer(path)
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/launch_utils.py", line 235, in run_extension_installer
errors.report(str(e))
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/errors.py", line 29, in report
record_exception()
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/errors.py", line 17, in record_exception
from modules import sysinfo
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/sysinfo.py", line 13, in
from modules import paths_internal, timer, shared, extensions, errors
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/shared.py", line 5, in
from modules import shared_cmd_options, shared_gradio_themes, options, shared_items, sd_models_types
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/shared_cmd_options.py", line 10, in
script_loading.preload_extensions(extensions_builtin_dir, parser)
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/script_loading.py", line 31, in preload_extensions
errors.report(f"Error running preload() for {preload_script}", exc_info=True)
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/errors.py", line 29, in report
record_exception()
File "/home/rexommendation/Programs/stable-diffusion-webui/modules/errors.py", line 18, in record_exception
exception_records.append(sysinfo.format_exception(e, tb))
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: partially initialized module 'modules.sysinfo' has no attribute 'format_exception' (most likely due to a circular import)