{
  "id": 357818,
  "title": "Test data exceeds memory limitation?",
  "url": "/competitions/g2net-detecting-continuous-gravitational-waves/discussion/357818",
  "author_name": "Marco Ciavarella",
  "post_date": "2022-10-05T16:13:17.768000",
  "votes": 3,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Hello guys,<br>\nI'm having a hard time actually loading in the test data to do inference.</p>\n<p>I'm only able to load in about ~10% of the test data, then I get a memory allocation error.<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F5247984%2F7a1598b203781bfbceba18280b59a7cb%2Foom_error_g2net.png?generation=1664986366840355&amp;alt=media\" alt=\"\"></p>\n<p>Is anyone else having this issue?</p>",
  "messages": [
    {
      "id": 1973471,
      "postDate": "2022-10-05T16:13:17.767Z",
      "content": "<p>Hello guys,<br>\nI'm having a hard time actually loading in the test data to do inference.</p>\n<p>I'm only able to load in about ~10% of the test data, then I get a memory allocation error.<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F5247984%2F7a1598b203781bfbceba18280b59a7cb%2Foom_error_g2net.png?generation=1664986366840355&amp;alt=media\" alt=\"\"></p>\n<p>Is anyone else having this issue?</p>",
      "rawMarkdown": "Hello guys,\nI'm having a hard time actually loading in the test data to do inference.\n\nI'm only able to load in about ~10% of the test data, then I get a memory allocation error.\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F5247984%2F7a1598b203781bfbceba18280b59a7cb%2Foom_error_g2net.png?generation=1664986366840355&alt=media)\n\nIs anyone else having this issue?",
      "votes": 3
    },
    {
      "id": 1973656,
      "postDate": "2022-10-05T18:44:21.733Z",
      "content": "<p>The test data is something like 200GB. The RAM on the notebooks is ~16GB. You won't be able to load all of it at once.</p>",
      "rawMarkdown": "The test data is something like 200GB. The RAM on the notebooks is ~16GB. You won't be able to load all of it at once.",
      "votes": 1,
      "replies": [
        {
          "id": 1973664,
          "postDate": "2022-10-05T18:47:28.500Z",
          "content": "<p>So what do you suggest? Multiple notebooks handling batches of test data?</p>",
          "rawMarkdown": "So what do you suggest? Multiple notebooks handling batches of test data?"
        },
        {
          "id": 1973804,
          "postDate": "2022-10-05T21:07:45.283Z",
          "content": "<p>If you're just doing inference, then loop over them, scoring them in batches or one-by-one.</p>",
          "rawMarkdown": "If you're just doing inference, then loop over them, scoring them in batches or one-by-one.",
          "votes": 4
        },
        {
          "id": 1974562,
          "postDate": "2022-10-06T10:10:54.390Z",
          "content": "<p>Thanks for the tip, trying out batch inference right now!</p>",
          "rawMarkdown": "Thanks for the tip, trying out batch inference right now!"
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 1973656,
      "author_name": "Branden Murray",
      "author_url": "",
      "post_date": "2022-10-05T18:44:21.733000",
      "content": "<p>The test data is something like 200GB. The RAM on the notebooks is ~16GB. You won't be able to load all of it at once.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 1973664,
          "author_name": "Marco Ciavarella",
          "author_url": "",
          "post_date": "2022-10-05T18:47:28.500000",
          "content": "<p>So what do you suggest? Multiple notebooks handling batches of test data?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1973804,
          "author_name": "Branden Murray",
          "author_url": "",
          "post_date": "2022-10-05T21:07:45.283000",
          "content": "<p>If you're just doing inference, then loop over them, scoring them in batches or one-by-one.</p>",
          "votes": 4,
          "replies": []
        },
        {
          "id": 1974562,
          "author_name": "Marco Ciavarella",
          "author_url": "",
          "post_date": "2022-10-06T10:10:54.390000",
          "content": "<p>Thanks for the tip, trying out batch inference right now!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1973471": "Hello guys,\nI'm having a hard time actually loading in the test data to do inference.\n\nI'm only able to load in about ~10% of the test data, then I get a memory allocation error.\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F5247984%2F7a1598b203781bfbceba18280b59a7cb%2Foom_error_g2net.png?generation=1664986366840355&alt=media)\n\nIs anyone else having this issue?",
    "1973656": "The test data is something like 200GB. The RAM on the notebooks is ~16GB. You won't be able to load all of it at once."
  }
}