-
Notifications
You must be signed in to change notification settings - Fork 22
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
cannot import name 'deprecated' from 'typing_extensions' #22
Comments
Same issue, running on Ubuntu 22.04.3 LTS x86_64 |
Also getting this issue |
I got this too, using |
I found this possible solution: In short, running "pip uninstall typing_extensions --yes" and then reinstalling "pip install typing_extensions==4.7.1" But I can't interactive into the container because it auto-exits so docker thinks it's in a "restarting" state. I tried baked instead of latest, but I get a different error. File "/sd/modules/paths.py", line 34, in |
I was able to fumble my way through bypassing the typing_extensions error, but then I got the path error: assert sd_path is not None, f"Couldn't find Stable Diffusion in any of: {possible_sd_paths}" NOTE: /sd/repositories/stable-diffusion-stability-ai does not exist. /sd/repositories/stable-diffusion does though. I'm certainly not saying that this is the right way, but this is what I did:
Just looking for where that folder name exists:
But I don't know what to do with that information. |
hello i tried it with alisa
alias drun='docker run -e HSA_OVERRIDE_GFX_VERSION=10.3.0 -it --network=host --device=/dev/kfd --device=/dev/dri --group-add=video --ipc=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $(pwd):/pwd'
and ran with
drun --name stable-diffusion l1naforever/stable-diffusion-rocm:latest
but i got this issue
Installing requirements for Web UI Launching Web UI with arguments: --precision full --no-half Traceback (most recent call last): File "launch.py", line 169, in <module> start_webui() File "launch.py", line 163, in start_webui import webui File "/sd/webui.py", line 8, in <module> from fastapi.middleware.gzip import GZipMiddleware File "/opt/conda/lib/python3.7/site-packages/fastapi/__init__.py", line 7, in <module> from .applications import FastAPI as FastAPI File "/opt/conda/lib/python3.7/site-packages/fastapi/applications.py", line 16, in <module> from fastapi import routing File "/opt/conda/lib/python3.7/site-packages/fastapi/routing.py", line 22, in <module> from fastapi import params File "/opt/conda/lib/python3.7/site-packages/fastapi/params.py", line 5, in <module> from pydantic.fields import FieldInfo File "/opt/conda/lib/python3.7/site-packages/pydantic/__init__.py", line 13, in <module> from . import dataclasses File "/opt/conda/lib/python3.7/site-packages/pydantic/dataclasses.py", line 11, in <module> from ._internal import _config, _decorators, _typing_extra File "/opt/conda/lib/python3.7/site-packages/pydantic/_internal/_config.py", line 9, in <module> from ..config import ConfigDict, ExtraValues, JsonEncoder, JsonSchemaExtraCallable File "/opt/conda/lib/python3.7/site-packages/pydantic/config.py", line 9, in <module> from .deprecated.config import BaseConfig File "/opt/conda/lib/python3.7/site-packages/pydantic/deprecated/config.py", line 6, in <module> from typing_extensions import Literal, deprecated ImportError: cannot import name 'deprecated' from 'typing_extensions' (/opt/conda/lib/python3.7/site-packages/typing_extensions.py)
couldn find much on google not sure why
i have RX 6500
and i am using rocm versions 5.4.2 on gentoo
The text was updated successfully, but these errors were encountered: