bytedance / lightseq

LightSeq: A High Performance Library for Sequence Processing and Generation
Other
3.22k stars 329 forks source link

AttributeError: module 'lightseq.inference' has no attribute 'MT5' #411

Open huiyangzhou opened 2 years ago

huiyangzhou commented 2 years ago

lightseq==3.0.0 cd examples/inference/python python3 ./test/ls_mt5.py AttributeError: module 'lightseq.inference' has no attribute 'MT5'

Taka152 commented 2 years ago

Could you test this with another working dir to check if you installed it successfully?

python -c "import lightseq.inference as lsi;print(lsi.MT5)"
huiyangzhou commented 2 years ago

Traceback (most recent call last): File "", line 1, in AttributeError: module 'lightseq.inference' has no attribute 'MT5'

I install lightseq==3.0.0 from pipy and it shows successful
how could this happen? could you give me a link or command to guide me how to install mt5 for lightseq.inference