{
  "id": 285211,
  "title": "Time-series API Details",
  "url": "/competitions/g-research-crypto-forecasting/discussion/285211",
  "author_name": "",
  "post_date": "2021-11-03T19:31:35.675141800Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<blockquote>\n  <p>\"The API will require 0.5 GB of memory after initialization. The initialization step (env.iter_test()) will require meaningfully more memory than that; we recommend you do not load your model until after making that call. The API will also consume less than 30 minutes of runtime for loading and serving the data.\"</p>\n</blockquote>\n<p>I don't understand this point. Does that mean that we should call <code>iter_test = env.iter_test()</code> at the top of the code?</p>\n<p>My guess is that this will use a lot of memory and could crash everything if we leave it til the end?</p>",
  "messages": [
    {
      "id": "1569874",
      "postDate": "11/03/2021 19:31:35",
      "content": "<blockquote>\n  <p>\"The API will require 0.5 GB of memory after initialization. The initialization step (env.iter_test()) will require meaningfully more memory than that; we recommend you do not load your model until after making that call. The API will also consume less than 30 minutes of runtime for loading and serving the data.\"</p>\n</blockquote>\n<p>I don't understand this point. Does that mean that we should call <code>iter_test = env.iter_test()</code> at the top of the code?</p>\n<p>My guess is that this will use a lot of memory and could crash everything if we leave it til the end?</p>",
      "rawMarkdown": "> \"The API will require 0.5 GB of memory after initialization. The initialization step (env.iter_test()) will require meaningfully more memory than that; we recommend you do not load your model until after making that call. The API will also consume less than 30 minutes of runtime for loading and serving the data.\"\n\nI don't understand this point. Does that mean that we should call `iter_test = env.iter_test()` at the top of the code?\n\nMy guess is that this will use a lot of memory and could crash everything if we leave it til the end?",
      "votes": null
    },
    {
      "id": "1576700",
      "postDate": "11/09/2021 11:55:37",
      "content": "<p>I think this means to follow:</p>\n<ol>\n<li>call env.iter_test()</li>\n<li>load model</li>\n<li>predict</li>\n</ol>\n<p>and not</p>\n<ol>\n<li>load model</li>\n<li>call env.iter_test()</li>\n<li>predict</li>\n</ol>",
      "rawMarkdown": "I think this means to follow:\n1. call env.iter_test()\n2. load model\n3. predict\n\nand not\n\n1. load model\n2. call env.iter_test()\n3. predict",
      "votes": null
    },
    {
      "id": "1576994",
      "postDate": "11/09/2021 16:44:24",
      "content": "<p>That's my recommendation, yes.</p>",
      "rawMarkdown": "That's my recommendation, yes.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1576700,
      "author_name": "avivlevi815",
      "author_url": "",
      "post_date": "11/09/2021 11:55:37",
      "content": "<p>I think this means to follow:</p>\n<ol>\n<li>call env.iter_test()</li>\n<li>load model</li>\n<li>predict</li>\n</ol>\n<p>and not</p>\n<ol>\n<li>load model</li>\n<li>call env.iter_test()</li>\n<li>predict</li>\n</ol>",
      "votes": null,
      "replies": [
        {
          "id": 1576994,
          "author_name": "sohier",
          "author_url": "",
          "post_date": "11/09/2021 16:44:24",
          "content": "<p>That's my recommendation, yes.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1569874": "> \"The API will require 0.5 GB of memory after initialization. The initialization step (env.iter_test()) will require meaningfully more memory than that; we recommend you do not load your model until after making that call. The API will also consume less than 30 minutes of runtime for loading and serving the data.\"\n\nI don't understand this point. Does that mean that we should call `iter_test = env.iter_test()` at the top of the code?\n\nMy guess is that this will use a lot of memory and could crash everything if we leave it til the end?",
    "1576700": "I think this means to follow:\n1. call env.iter_test()\n2. load model\n3. predict\n\nand not\n\n1. load model\n2. call env.iter_test()\n3. predict",
    "1576994": "That's my recommendation, yes."
  },
  "source": "meta"
}