You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FatalError: Segmentation fault is detected by the operating system.
[TimeInfo: *** Aborted at 1710145517 (unix time) try "date -d @1710145517" if you are using GNU date ***]
[SignalInfo: *** SIGSEGV (@0x0) received by PID 7083 (TID 0x7f5478c6c200) from PID 0 ***]
Segmentation fault (core dumped)”
这是python推理报错
“WARNING: Logging before InitGoogleLogging() is written to STDERR
W0311 16:16:12.435428 6840 tensorrt.cc:56] You are using Paddle compiled with TensorRT, but TensorRT dynamic library is not found. Ignore this if TensorRT is not needed.
The TensorRT that Paddle depends on is not configured correctly.
Suggestions:
Check if the TensorRT is installed correctly and its version is matched with paddlepaddle you installed.
Configure environment variables as follows:
Linux: set LD_LIBRARY_PATH by export LD_LIBRARY_PATH=...
Windows: set PATH by set PATH=XXX;%PATH%
Mac: set DYLD_LIBRARY_PATH by export DYLD_LIBRARY_PATH=...
Segmentation fault (core dumped)”
这是c++推理报错
The text was updated successfully, but these errors were encountered:
You are using Paddle compiled with TensorRT, but TensorRT dynamic library is not found. Ignore this if TensorRT is not needed. The TensorRT that Paddle depends on is not configured correctly. Suggestions:
Check if the TensorRT is installed correctly and its version is matched with paddlepaddle you installed.
Configure environment variables as follows:
Linux: set LD_LIBRARY_PATH by export LD_LIBRARY_PATH=...
Windows: set PATH by set PATH=XXX;%PATH%
Mac: set DYLD_LIBRARY_PATH by export DYLD_LIBRARY_PATH=...
Segmentation fault (core dumped)”
这是c++推理报错
感谢已经解决,但是现在出现了一个新问题,我运行推理时python推理没有问题,但是c++推理报错了:错误信息见下:
[libprotobuf ERROR /paddle/build/third_party/protobuf/src/extern_protobuf/src/google/protobuf/message_lite.cc:119] Can't parse message of type "paddle.framework.proto.ProgramDesc" because it is missing required fields: blocks[0].ops[25].attrs[13].type, blocks[0].ops[34].attrs[13].type, blocks[2].ops[34].attrs[13].type, blocks[2].ops[40].attrs[13].type, blocks[2].ops[48].attrs[13].type, blocks[2].ops[67].attrs[13].type
--- Running analysis [ir_graph_build_pass]
[libprotobuf ERROR /paddle/build/third_party/protobuf/src/extern_protobuf/src/google/protobuf/message_lite.cc:119] Can't parse message of type "paddle.framework.proto.ProgramDesc" because it is missing required fields: blocks[0].ops[25].attrs[13].type, blocks[0].ops[34].attrs[13].type, blocks[2].ops[34].attrs[13].type, blocks[2].ops[40].attrs[13].type, blocks[2].ops[48].attrs[13].type, blocks[2].ops[67].attrs[13].type
terminate called after throwing an instance of 'phi::enforce::EnforceNotMet'
what():
这个该怎么解决啊
“----------------------
Error Message Summary:
FatalError:
Segmentation fault
is detected by the operating system.[TimeInfo: *** Aborted at 1710145517 (unix time) try "date -d @1710145517" if you are using GNU date ***]
[SignalInfo: *** SIGSEGV (@0x0) received by PID 7083 (TID 0x7f5478c6c200) from PID 0 ***]
Segmentation fault (core dumped)”
这是python推理报错
“WARNING: Logging before InitGoogleLogging() is written to STDERR
W0311 16:16:12.435428 6840 tensorrt.cc:56] You are using Paddle compiled with TensorRT, but TensorRT dynamic library is not found. Ignore this if TensorRT is not needed.
The TensorRT that Paddle depends on is not configured correctly.
Suggestions:
export LD_LIBRARY_PATH=...
set PATH=XXX;%PATH%
export DYLD_LIBRARY_PATH=...
Segmentation fault (core dumped)”
这是c++推理报错
The text was updated successfully, but these errors were encountered: