PaddlePaddle / PaddleNLP

👑 Easy-to-use and powerful NLP and LLM library with 🤗 Awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications, including 🗂Text Classification, 🔍 Neural Search, ❓ Question Answering, ℹ️ Information Extraction, 📄 Document Intelligence, 💌 Sentiment Analysis etc.
https://paddlenlp.readthedocs.io
Apache License 2.0
12.1k stars 2.94k forks source link

Out of memory error on GPU 0 #1230

Closed caixu23 closed 1 year ago

caixu23 commented 3 years ago

欢迎您反馈PaddleNLP使用问题,非常感谢您对PaddleNLP的贡献! 在留下您的问题时,辛苦您同步提供如下信息:

PaddlePaddle2.1 , windows ,py3.7 执行 poetry = Taskflow("poetry_generation") poetry("林密不见人")

显存充足,但是任然报:

Out of memory error on GPU 0. Cannot allocate 100.000244MB memory on GPU 0, 1.204346GB memory has been allocated and available memory is only 4.795654GB.

Please check whether there is any other process using GPU 0.

  1. If yes, please stop them, or start PaddlePaddle on another GPU.
  2. If no, please decrease the batch size of your model.
wawltor commented 3 years ago

您好,poetry_generation这个模型相对比较大,需要16G的内存和显存的,辛苦check一下机器的内存、显存情况了

applepieiris commented 2 years ago

您好,poetry_generation这个模型相对比较大,需要16G的内存和显存的,辛苦check一下机器的内存、显存情况了

您好,我在使用命名实体识别模型的时候也遇到了相同的问题,请问开展命名实体识别的任务需要多大的显存呢?

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。