Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • ERNIE
  • Issue
  • #87

E
ERNIE
  • 项目概览

PaddlePaddle / ERNIE
大约 2 年 前同步成功

通知 115
Star 5997
Fork 1271
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 29
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 0
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
E
ERNIE
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 29
    • Issue 29
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 0
    • 合并请求 0
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 4月 11, 2019 by saxon_zh@saxon_zhGuest

enric_encoder.py 报错 Invoke operator fill_constant error 和 Windows not support stack backtrace yet.

Created by: Walleclipse

你好,我运行 enric_encoder.py 到 exe.run(startup_prog) 会出现错误,具体错误信息如下:

File "C:\Users\Python\Python36\site-packages\paddle\fluid\executor.py", line 591, in _run
  exe.run(program.desc, scope, 0, True, True, fetch_var_name)
paddle.fluid.core.EnforceNotMet: Invoke operator fill_constant error.
Python Callstacks: 
 File "C:\Users\Python\Python36\site-packages\paddle\fluid\framework.py", line 1382, in _prepend_op
   attrs=kwargs.get("attrs", None))
 File "C:\Users\Python\Python36\site-packages\paddle\fluid\initializer.py", line 167, in __call__
   stop_gradient=True)
 File "C:\Users\Python\Python36\site-packages\paddle\fluid\framework.py", line 1300, in create_parameter
   initializer(param, self)
 File "C:\Users\Python\Python36\site-packages\paddle\fluid\layer_helper.py", line 339, in create_parameter
   **attr._to_kwargs(with_initializer=True))
 File "C:\Users\Python\Python36\site-packages\paddle\fluid\layer_helper.py", line 424, in append_bias_op
   attr=bias_attr, shape=size, dtype=input_var.dtype, is_bias=True)
 File "C:\Users\Python\Python36\site-packages\paddle\fluid\layers\nn.py", line 297, in fc
   pre_activation = helper.append_bias_op(pre_bias, dim_start=num_flatten_dims)
 File "D:\pycharm\course\IR_chat\LARK-develop\LARK-develop\ERNIE\model\ernie.py", line 155, in get_pooled_output
   bias_attr="pooled_fc.b_0")
 File "D:/pycharm/course/IR_chat/LARK-develop/LARK-develop/ERNIE/ernie_encoder.py", line 79, in create_model
   cls_feats = ernie.get_pooled_output()
 File "D:/pycharm/course/IR_chat/LARK-develop/LARK-develop/ERNIE/ernie_encoder.py", line 131, in main
   args, pyreader_name='reader', ernie_config=ernie_config)
 File "D:/pycharm/course/IR_chat/LARK-develop/LARK-develop/ERNIE/ernie_encoder.py", line 185, in <module>
   main(args)
C++ Callstacks: 
Enforce failed. Expected allocating <= available, but received allocating:11440875110 > available:11143610112.
Insufficient GPU memory to allocation. at [D:\1.3.2\paddle\paddle\fluid\platform\gpu_info.cc:216]
PaddlePaddle Call Stacks: 
Windows not support stack backtrace yet.
W0411 20:25:15.478150 40984 device_context.cc:263] Please NOTE: device: 0, CUDA Capability: 52, Driver API Version: 9.0, Runtime API Version: 8.0
W0411 20:25:15.478150 40984 device_context.cc:271] device: 0, cuDNN Version: 7.0.
W0411 20:25:15.478150 40984 device_context.cc:295] WARNING: device: 0. The installed Paddle is compiled with CUDNN 7.1, but CUDNN version in your machine is 7.0, which may cause serious incompatible bug. Please recompile or reinstall Paddle with compatible CUDNN version.

这个问题该怎么解决呢?谢谢

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/ERNIE#87
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7