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

No module named 'fastchat' #11

Closed
wangjade54241 opened this issue Nov 7, 2023 · 2 comments
Closed

No module named 'fastchat' #11

wangjade54241 opened this issue Nov 7, 2023 · 2 comments

Comments

@wangjade54241
Copy link

I encountered an error No module named 'fastchat' while running the train_mem.py
some details:
(from fastchat.conversation) in model_adapter.py

Is the fastchat the folder name of a project ?

@guspan-tanadi
Copy link
Contributor

guspan-tanadi commented Nov 7, 2023

As of Environment Preparation section. Did the fastchat has been installed?
The part of command related as follow.
pip3 install "fschat[model_worker,webui]"

@tjb-tech
Copy link
Collaborator

tjb-tech commented Nov 9, 2023

I encountered an error No module named 'fastchat' while running the train_mem.py some details: (from fastchat.conversation) in model_adapter.py

Is the fastchat the folder name of a project ?

You can also install fastchat from source using the following script:

git clone https://github.com/lm-sys/FastChat.git
cd FastChat
pip3 install --upgrade pip  # enable PEP 660 support
pip3 install -e ".[model_worker,webui]"

Hope that my answer is helpful for you

@HKUDS HKUDS closed this as completed Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants