punica-ai / punica

Serving multiple LoRA finetuned LLM as one

Home Page:https://arxiv.org/abs/2310.18547

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModuleNotFoundError: No module named 'rich'

luciferlinx101 opened this issue · comments

Amazing work on Punica read the research paper @abcdabcd987
I am having some issue running python examples/tui-multi-lora.py

I am getting following error :
(muti-tenant-test-2) ubuntu@ip-10-14-1-163:~/multi-tenant-test/punica$ python examples/tui-multi-lora.py
Traceback (most recent call last):
File "/home/ubuntu/multi-tenant-test/punica/examples/tui-multi-lora.py", line 11, in
from rich.containers import Lines
ModuleNotFoundError: No module named 'rich'

Examples and benchmarks have more dependencies. They are listed in pyproject.toml. You need to pip install them.

Alternatively, you can install them by pip install -e .[dev].

Thanks! pip install -e .[dev] worked