You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a venv, pip installed airllm and then bitsandbytes within that venv, and then copypasted the example python code into testme.py. It bailed with the output below:
$ python testme.py
>>>> bitsandbytes installed
>>>> cache_utils installed
Traceback (most recent call last):
File "/home/nmrp3/devel/oss/airllm/testme.py", line 1, in <module>
from airllm import AutoModel
File "/home/nmrp3/devel/oss/airllm/venv/lib/python3.12/site-packages/airllm/__init__.py", line 16, in <module>
from .airllm_baichuan import AirLLMBaichuan
File "/home/nmrp3/devel/oss/airllm/venv/lib/python3.12/site-packages/airllm/airllm_baichuan.py", line 4, in <module>
from .tokenization_baichuan import BaichuanTokenizer
File "/home/nmrp3/devel/oss/airllm/venv/lib/python3.12/site-packages/airllm/tokenization_baichuan.py", line 26, in <module>
import sentencepiece as spm
ModuleNotFoundError: No module named 'sentencepiece'
$ uname -a
Linux persephone 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 14:04:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ python --version
Python 3.12.3
The text was updated successfully, but these errors were encountered:
I made a venv, pip installed airllm and then bitsandbytes within that venv, and then copypasted the example python code into
testme.py
. It bailed with the output below:The text was updated successfully, but these errors were encountered: