{
  "id": 327676,
  "title": "Memory Leakage issue",
  "url": "/competitions/AI4Code/discussion/327676",
  "author_name": "",
  "post_date": "2022-05-28T13:25:26.781325Z",
  "votes": 2,
  "comment_count": 1,
  "views": 0,
  "content": "<p>I'm facing OOM issue when I use the training code here (<a href=\"https://www.kaggle.com/code/yuanzhezhou/ai4code-pairwise-bertsmall-training)\" target=\"_blank\">https://www.kaggle.com/code/yuanzhezhou/ai4code-pairwise-bertsmall-training)</a>. The memory usage grows slowly and may result in OOM. Once I stopped the training, the memory occupied were freed immediately. Did anyone face the same issue and solve it?</p>",
  "messages": [
    {
      "id": "1804038",
      "postDate": "05/28/2022 13:25:26",
      "content": "<p>I'm facing OOM issue when I use the training code here (<a href=\"https://www.kaggle.com/code/yuanzhezhou/ai4code-pairwise-bertsmall-training)\" target=\"_blank\">https://www.kaggle.com/code/yuanzhezhou/ai4code-pairwise-bertsmall-training)</a>. The memory usage grows slowly and may result in OOM. Once I stopped the training, the memory occupied were freed immediately. Did anyone face the same issue and solve it?</p>",
      "rawMarkdown": "I'm facing OOM issue when I use the training code here (https://www.kaggle.com/code/yuanzhezhou/ai4code-pairwise-bertsmall-training). The memory usage grows slowly and may result in OOM. Once I stopped the training, the memory occupied were freed immediately. Did anyone face the same issue and solve it?",
      "votes": null
    },
    {
      "id": "1847827",
      "postDate": "07/08/2022 07:19:02",
      "content": "<p>How do you to solve this problem? I meet the same situation. Should I reduce the train_num ?</p>",
      "rawMarkdown": "How do you to solve this problem? I meet the same situation. Should I reduce the train_num ?",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1847827,
      "author_name": "mengvision",
      "author_url": "",
      "post_date": "07/08/2022 07:19:02",
      "content": "<p>How do you to solve this problem? I meet the same situation. Should I reduce the train_num ?</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1804038": "I'm facing OOM issue when I use the training code here (https://www.kaggle.com/code/yuanzhezhou/ai4code-pairwise-bertsmall-training). The memory usage grows slowly and may result in OOM. Once I stopped the training, the memory occupied were freed immediately. Did anyone face the same issue and solve it?",
    "1847827": "How do you to solve this problem? I meet the same situation. Should I reduce the train_num ?"
  },
  "source": "meta"
}