punica-ai / punica

Serving multiple LoRA finetuned LLM as one
https://arxiv.org/abs/2310.18547
Apache License 2.0
883 stars 40 forks source link

ModuleNotFoundError: No module named 'rich' #16

Closed luciferlinx101 closed 7 months ago

luciferlinx101 commented 7 months ago

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'

abcdabcd987 commented 7 months ago

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].

luciferlinx101 commented 7 months ago

Thanks! pip install -e .[dev] worked