-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
- 系统环境/System Environment:docker T4 16G 显存
- 版本号/Version:paddlepaddle/paddle:2.3.2-gpu-cuda11.2-cudnn8 PaddleOCR:develop
- 运行指令/Command Code:python3 web_service.py --config=config.yml
- 完整报错/Complete Error Message:Out of memory error on GPU 0. Cannot allocate 225.000000MB memory on GPU 0, 14.569336GB memory has been allocated and available memory is only 190.750000MB.
Please check whether there is any other process using GPU 0.
- If yes, please stop them, or start PaddlePaddle on another GPU.
- If no, please decrease the batch size of your model.
If the above ways do not solve the out of memory problem, you can try to use CUDA managed memory. The command isexport FLAGS_use_cuda_managed_memory=false.
(at /paddle/paddle/fluid/memory/allocation/cuda_allocator.cc:87)
W0828 07:40:58.236891 205 operator.cc:288] concat raises an exception paddle::memory::allocation::BadAlloc, ResourceExhaustedError:
Out of memory error on GPU 0. Cannot allocate 289.078125MB memory on GPU 0, 14.514648GB memory has been allocated and available memory is only 246.750000MB.
Please check whether there is any other process using GPU 0.
- If yes, please stop them, or start PaddlePaddle on another GPU.
- If no, please decrease the batch size of your model.
If the above ways do not solve the out of memory problem, you can try to use CUDA managed memory. The command isexport FLAGS_use_cuda_managed_memory=false.
(at /paddle/paddle/fluid/memory/allocation/cuda_allocator.cc:87)
我们提供了AceIssueSolver来帮助你解答问题,你是否想要它来解答(请填写yes/no)?/We provide AceIssueSolver to solve issues, do you want it? (Please write yes/no): yes
请尽量不要包含图片在问题中/Please try to not include the image in the issue.