lightseq icon indicating copy to clipboard operation
lightseq copied to clipboard

lightseq.Transformer这个类不存在,要怎么使用?transformer.cc.cu要怎么使用?

Open ljwmusclenlper opened this issue 3 years ago • 4 comments

ljwmusclenlper avatar Dec 21 '21 04:12 ljwmusclenlper

Can you give a more detailed description of the problem?

neopro12 avatar Dec 22 '21 10:12 neopro12

Maybe you can try lightseq.inference.Transformer

Taka152 avatar Dec 22 '21 11:12 Taka152

AttributeError: module 'lightseq.inference' has no attribute 'Transformer'

jeshxxx avatar Dec 27 '21 10:12 jeshxxx

You can try different working dir. Running on lightseq root dir with pypi installation may cause this error.

Taka152 avatar Dec 28 '21 06:12 Taka152