开发者社区> 问答> 正文

使用GPT3中文1.3B参数量文本生成模型测试,报错

Traceback (most recent call last): File " ", line 1, in File "/data1/anaconda3/envs/modelscope/lib/python3.7/site-packages/modelscope/pipelines/builder.py", line 325, in pipeline return build_pipeline(cfg, task_name=task) File "/data1/anaconda3/envs/modelscope/lib/python3.7/site-packages/modelscope/pipelines/builder.py", line 243, in build_pipeline cfg, PIPELINES, group_key=task_name, default_args=default_args) File "/data1/anaconda3/envs/modelscope/lib/python3.7/site-packages/modelscope/utils/registry.py", line 183, in build_from_cfg LazyImportModule.import_module(sig) File "/data1/anaconda3/envs/modelscope/lib/python3.7/site-packages/modelscope/utils/import_utils.py", line 445, in import_module importlib.import_module(module_name) File "/data1/anaconda3/envs/modelscope/lib/python3.7/importlib/ init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File " ", line 1006, in _gcd_import File " ", line 983, in _find_and_load File " ", line 967, in _find_and_load_unlocked File " ", line 677, in _load_unlocked File " ", line 728, in exec_module File " ", line 219, in _call_with_frames_removed File "/data1/anaconda3/envs/modelscope/lib/python3.7/site-packages/modelscope/pipelines/nlp/distributed_gpt3_pipeline.py", line 8, in from modelscope.models.nlp.gpt3.distributed_gpt3 import DistributedGPT3 File "/data1/anaconda3/envs/modelscope/lib/python3.7/site-packages/modelscope/models/nlp/gpt3/distributed_gpt3.py", line 19, in from megatron import mpu ModuleNotFoundError: No module named 'megatron'

展开
收起
银河系 2022-11-05 11:24:36 754 0
1 条回答
写回答
取消 提交回答
  • 同样的错误,问答真的很一般般

    2022-11-05 19:58:33
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
移动互联网测试到质量的转变 立即下载
给ITer的技术实战进阶课-阿里CIO学院独家教材(四) 立即下载
F2etest — 多浏览器兼容性测试整体解决方案 立即下载