This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hi all - relatively new to GitHub / programming in general, and I wanted to try to set up Alpaca Lora locally. Following the guide here: https://github.com/tloen/alpaca-lora
Here's the error I'm receiving - I have installed Python (as well as Typing Extensions) but imagine some other basic setup step is missing? Any help greatly appreciated:
PS C:\Users\Anthony\alpaca-lora> docker run --gpus=all --shm-size 64g -p 7860:7860 -v ${HOME}/.cache:/root/.cache --rm alpaca-lora generate.py --load_8bit --base_model 'decapoda-research/llama-7b-hf' --lora_weights 'tloen/alpaca-lora-7b'
>>
Traceback (most recent call last):
File "/workspace/generate.py", line 5, in <module>
import gradio as gr
File "/usr/local/lib/python3.10/dist-packages/gradio/__init__.py", line 3, in <module>
import gradio.components as components
File "/usr/local/lib/python3.10/dist-packages/gradio/components/__init__.py", line 1, in <module>
from gradio.components.annotated_image import AnnotatedImage
File "/usr/local/lib/python3.10/dist-packages/gradio/components/annotated_image.py", line 13, in <module>
from gradio.components.base import IOComponent, _Keywords
File "/usr/local/lib/python3.10/dist-packages/gradio/components/base.py", line 20, in <module>
from fastapi import UploadFile
File "/usr/local/lib/python3.10/dist-packages/fastapi/__init__.py", line 7, in <module>
from .applications import FastAPI as FastAPI
File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 16, in <module>
from fastapi import routing
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 22, in <module>
from fastapi import params
File "/usr/local/lib/python3.10/dist-packages/fastapi/params.py", line 6, in <module>
from typing_extensions import Annotated, deprecated
ImportError: cannot import name 'deprecated' from 'typing_extensions' (/usr/local/lib/python3.10/dist-packages/typing_extensions.py)
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/github/comm...