Question
When using the paddle framework for relevant model training, an error is reported when using the GPU:
C++ Traceback (most recent call last):
--------------------------------------
0 std::thread::_Impl<std::_Bind_simple<ThreadPool::ThreadPool(unsigned long)::{lambda()#1} ()> >::_M_run()
1 std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*)
2 paddle::framework::SignalHandle(char const*, int)
3 paddle::platform::GetCurrentTraceBackString[abi:cxx11]()
----------------------
Error Message Summary:
----------------------
FatalError: `Segmentation fault` is detected by the operating system.
[TimeInfo: *** Aborted at 1639543591 (unix time) try "date -d @1639543591" if you are using GNU date ***]
[SignalInfo: *** SIGSEGV (@0x0) received by PID 168238 (TID 0x7fc05d8c5700) from PID 0 ***]
edition:
python=3.8 paddlepaddle-gpu=2.2.1 cuda=10.1 cudnn=7.6
Check the issue and find that many of these situations occur. Make a record here
Solution:
Reinstall using CONDA.
Execute command:
conda install paddlepaddle-gpu==2.2.1 cudatoolkit=10.1 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/
Read More:
- [Solved] docker Commands Execute Error: Segmentation fault
- [Solved] C++ reason ncnn model error: Segmentation fault (core dumped)
- How to Solve “parcel segmentation fault” Error in Linux
- [Solved] jetson Compile pytorch Error: internal compiler error: Segmentation fault
- [Solved] RemoveError: ‘setuptools’ is a dependency of conda and cannot be removed from conda’s operating en
- Cuda Runtime error (38) : no CUDA-capable device is detected
- Abnormal [System.InvalidOperationException: custom type mapping for ‘xxx’ is not specified or is not a solution
- POI’s XWPFParagraph.getRuns Segmentation problem
- android remount of /system failed: Read-only file system [How to Solve]
- Memory write error at 0x100000. MMU section translation fault [How to Solve]
- TensorFlow-gpu Error: failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
- The execution of ExecuteNonQuery by oraclecommand is suspended
- Android 10 SurfaceView Crash: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4
- System Startup and Display: [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid
- Cmake Compile opencv error: The system is: Windows – 10.0.19042 – AMD64 (Log File)
- [Solved] Go Get Download Dependency Error: is not using a known version control system
- [USF-XSim-62] ‘elaborate‘ step failed with errors.[Vivado 12-4473] Detected error while running sim
- [Solved] cnpm: Cannot load the file C:\Users\Raytine\AppData\Roaming\npm\cnpm.ps1 because running scripts is prohibited on this system
- [Solved] NPM Error: gyp: No Xcode or CLT version detected!
- Xilinx Vitis Error Launching Program: Memory write error MMU section translation fault