From b6697bf0b24fed25ae681421125ab214dc7691be Mon Sep 17 00:00:00 2001 From: FantasticSix <963650126@qq.com> Date: Fri, 8 Nov 2019 16:12:21 +0800 Subject: [PATCH] updata readme --- README.md | 4 ++++ README.zh.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 58b0bd3..44c5397 100644 --- a/README.md +++ b/README.md @@ -1009,3 +1009,7 @@ Export the path of cuda to LD_LIBRARY_PATH, e.g.: `export LD_LIBRARY_PATH=/home/ #### FAQ5: Can not find library: libnccl.so. Please try to add the lib path to LD_LIBRARY_PATH. Download [NCCL2](https://developer.nvidia.com/nccl/nccl-download), and export the library path to LD_LIBRARY_PATH, e.g.:`export LD_LIBRARY_PATH=/home/work/nccl/lib` + +#### FAQ6: Cannot malloc XXX MB GPU memory. + +Try to reduce the batch_size, reduce the max_seq_len and set FLAGS_eager_delete_tensor_gb=0.0 diff --git a/README.zh.md b/README.zh.md index 461042b..b7e6d09 100644 --- a/README.zh.md +++ b/README.zh.md @@ -1102,3 +1102,7 @@ python -u infer_classifyer.py \ ### FQA6: 运行报错`ModuleNotFoundError: No module named 'propeller'` 您可以通过`export PYTHONPATH=./:$PYTHONPATH`的方式引入Propeller. + +### FAQ7:显存不足报错: Cannot malloc XXX MB GPU memory. + +您可以通过减小batch_size, 减小max_seq_len, 设置FLAGS_eager_delete_tensor_gb=0.0来减小网络对显存的需求 -- GitLab