Traceback (most recent call last):
File "train.py", line 21, in
model = ErnieSeg()
File "/home/tc/code/chinese-casual-extraction/ErnieSEG.py", line 13, ininit
self.erniemodel = ErnieModel.from_pretrained('ernie-1.0').train()
File "/home/tc/anaconda3/lib/python3.7/site-packages/ernie/modeling_ernie.py", line 283, in from_pretrained
model = cls(cfg_dict, name=name_prefix)
File "/home/tc/anaconda3/lib/python3.7/site-packages/ernie/modeling_ernie.py", line 326, ininit
self.ln = _build_ln(d_model, name=append_name(name, 'pre_encoder'))
File "/home/tc/anaconda3/lib/python3.7/site-packages/ernie/modeling_ernie.py", line 88, in _build_ln
initializer=nn.initializer.Constant(0.)), )
File "/home/tc/anaconda3/lib/python3.7/site-packages/paddle/nn/layer/norm.py", line 532, ininit
default_initializer=Constant(1.0))
File "/home/tc/anaconda3/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 408, in create_parameter
default_initializer)
File "/home/tc/anaconda3/lib/python3.7/site-packages/paddle/fluid/layer_helper_base.py", line 372, in create_parameter
**attr._to_kwargs(with_initializer=True))
File "/home/tc/anaconda3/lib/python3.7/site-packages/paddle/fluid/framework.py", line 2984, in create_parameter
initializer(param, self)
File "/home/tc/anaconda3/lib/python3.7/site-packages/paddle/fluid/initializer.py", line 165, incall
stop_gradient=True)
File "/home/tc/anaconda3/lib/python3.7/site-packages/paddle/fluid/framework.py", line 3100, in _prepend_op
kwargs.get("stop_gradient", False))
File "/home/tc/anaconda3/lib/python3.7/site-packages/paddle/fluid/dygraph/tracer.py", line 45, in trace_op
not stop_gradient)
OSError: (External) Cuda error(35), CUDA driver version is insufficient for CUDA runtime version.
[Advise: This indicates that the installed NVIDIA CUDA driver is older than the CUDA runtime library. This is not a supported configuration.Users should install an updated NVIDIA display driver to allow the application to run.] (at /paddle/paddle/fluid/platform/gpu_info.cc:78)
[operator < fill_constant > error]
2条答案
按热度按时间isr3a4wc1#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
vlurs2pr2#
你好从报错信息看是因为环境问题:gpu 驱动版本过低
cuda10.0需要410以上