{
  "id": 191528,
  "title": "Encounter 100% CPU usage when train on GPU, Thoughts?",
  "url": "/competitions/riiid-test-answer-prediction/discussion/191528",
  "author_name": "",
  "post_date": "2020-10-17T01:52:24.802164200Z",
  "votes": 2,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Does anyone have their cpu 100% occupied when training model on gpu? At the same time, GPU is only used 2% and GPU memory is half used.<br>\nI used PyTorch and I pushed data and model to GPU memory.</p>",
  "messages": [
    {
      "id": "1051840",
      "postDate": "10/17/2020 01:52:24",
      "content": "<p>Does anyone have their cpu 100% occupied when training model on gpu? At the same time, GPU is only used 2% and GPU memory is half used.<br>\nI used PyTorch and I pushed data and model to GPU memory.</p>",
      "rawMarkdown": "Does anyone have their cpu 100% occupied when training model on gpu? At the same time, GPU is only used 2% and GPU memory is half used.\nI used PyTorch and I pushed data and model to GPU memory.",
      "votes": null
    },
    {
      "id": "1052027",
      "postDate": "10/17/2020 07:49:14",
      "content": "<p>i guess if u r using tf model.<br>\nu didnt loaded the model into gpu memory</p>",
      "rawMarkdown": "i guess if u r using tf model.\nu didnt loaded the model into gpu memory",
      "votes": null
    },
    {
      "id": "1052259",
      "postDate": "10/17/2020 14:16:25",
      "content": "<p>My bad. I forgot to mention I used pytorch and I pushed data and model to GPU memory.</p>",
      "rawMarkdown": "My bad. I forgot to mention I used pytorch and I pushed data and model to GPU memory.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1052027,
      "author_name": "msharuk589",
      "author_url": "",
      "post_date": "10/17/2020 07:49:14",
      "content": "<p>i guess if u r using tf model.<br>\nu didnt loaded the model into gpu memory</p>",
      "votes": null,
      "replies": [
        {
          "id": 1052259,
          "author_name": "worldkeeping",
          "author_url": "",
          "post_date": "10/17/2020 14:16:25",
          "content": "<p>My bad. I forgot to mention I used pytorch and I pushed data and model to GPU memory.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1051840": "Does anyone have their cpu 100% occupied when training model on gpu? At the same time, GPU is only used 2% and GPU memory is half used.\nI used PyTorch and I pushed data and model to GPU memory.",
    "1052027": "i guess if u r using tf model.\nu didnt loaded the model into gpu memory",
    "1052259": "My bad. I forgot to mention I used pytorch and I pushed data and model to GPU memory."
  },
  "source": "meta"
}