Open pkuwudi opened 2 years ago
运行bart模型导出的例子:https://github.com/bytedance/lightseq/blob/master/lightseq/inference/README.md python export/huggingface/hf_bart_export.py 报错: Traceback (most recent call last): File "huggingface/hf_bart_export.py", line 12, in from export.proto.transformer_pb2 import Transformer ModuleNotFoundError: No module named 'export' 为什么export/proto/transformer_pb2.py 这个文件不能import? 请问该如何解决。
Did you run this command?
cd examples/inference/python
@Taka152 yes
Not sure about this. I can share some of my env.
I'll consider adding a docker image for this example.
请问楼主解决了吗?遇到了相同的问题
运行bart模型导出的例子:https://github.com/bytedance/lightseq/blob/master/lightseq/inference/README.md python export/huggingface/hf_bart_export.py 报错: Traceback (most recent call last): File "huggingface/hf_bart_export.py", line 12, in
from export.proto.transformer_pb2 import Transformer
ModuleNotFoundError: No module named 'export'
为什么export/proto/transformer_pb2.py 这个文件不能import? 请问该如何解决。