{
  "id": 304060,
  "title": "Notebook Timeout",
  "url": "/competitions/g-research-crypto-forecasting/discussion/304060",
  "author_name": "",
  "post_date": "2022-01-30T18:20:01.977415800Z",
  "votes": 15,
  "comment_count": 12,
  "views": 0,
  "content": "<p>I have done a lot of <strong>test</strong> submission <strong>without using any model</strong> and it's <strong>Timeout</strong>.</p>\n<p>In the image below you can see that each iteration on test data is  under 0.14s.</p>\n<p><a href=\"https://drive.google.com/file/d/1Dfsy8n9BgJcPU5zyUlkee2O0Anuh514B/view?usp=sharing\" target=\"_blank\">Image</a></p>\n<p>Offline kernel run in 31 s.<br>\nYou can see also picture of this <a href=\"https://drive.google.com/file/d/1WTMLnP9rUJCXYi9IUw6mEhsYS32yUlcG/view?usp=sharing\" target=\"_blank\">here!</a>.</p>\n<p><a href=\"https://www.kaggle.com/sohier\" target=\"_blank\">@sohier</a> <a href=\"https://www.kaggle.com/andrewscherer\" target=\"_blank\">@andrewscherer</a>  <a href=\"https://www.kaggle.com/yus002\" target=\"_blank\">@yus002</a> could you please give an explanation for this</p>",
  "messages": [
    {
      "id": "1669493",
      "postDate": "01/30/2022 18:20:01",
      "content": "<p>I have done a lot of <strong>test</strong> submission <strong>without using any model</strong> and it's <strong>Timeout</strong>.</p>\n<p>In the image below you can see that each iteration on test data is  under 0.14s.</p>\n<p><a href=\"https://drive.google.com/file/d/1Dfsy8n9BgJcPU5zyUlkee2O0Anuh514B/view?usp=sharing\" target=\"_blank\">Image</a></p>\n<p>Offline kernel run in 31 s.<br>\nYou can see also picture of this <a href=\"https://drive.google.com/file/d/1WTMLnP9rUJCXYi9IUw6mEhsYS32yUlcG/view?usp=sharing\" target=\"_blank\">here!</a>.</p>\n<p><a href=\"https://www.kaggle.com/sohier\" target=\"_blank\">@sohier</a> <a href=\"https://www.kaggle.com/andrewscherer\" target=\"_blank\">@andrewscherer</a>  <a href=\"https://www.kaggle.com/yus002\" target=\"_blank\">@yus002</a> could you please give an explanation for this</p>",
      "rawMarkdown": "I have done a lot of **test** submission **without using any model** and it's **Timeout**.\n\nIn the image below you can see that each iteration on test data is  under 0.14s.\n\n[Image](https://drive.google.com/file/d/1Dfsy8n9BgJcPU5zyUlkee2O0Anuh514B/view?usp=sharing)\n\nOffline kernel run in 31 s.\nYou can see also picture of this [here!](https://drive.google.com/file/d/1WTMLnP9rUJCXYi9IUw6mEhsYS32yUlcG/view?usp=sharing).\n\n@sohier @andrewscherer  @yus002 could you please give an explanation for this",
      "votes": null
    },
    {
      "id": "1669706",
      "postDate": "01/30/2022 21:45:03",
      "content": "<p>Hi, I have no idea. My original estimation is that 140739.13 &lt; x &lt; 145909.09 where x is the number of loops, so as long as each loop takes between 0.222 seconds and 0.23 seconds, the code can run successfully. I also test my own submission which runs for 7 hours. Each loop in it takes about 0.167 seconds.</p>",
      "rawMarkdown": "Hi, I have no idea. My original estimation is that 140739.13 < x < 145909.09 where x is the number of loops, so as long as each loop takes between 0.222 seconds and 0.23 seconds, the code can run successfully. I also test my own submission which runs for 7 hours. Each loop in it takes about 0.167 seconds.",
      "votes": null
    },
    {
      "id": "1669768",
      "postDate": "01/30/2022 23:16:32",
      "content": "<p>I posted about inconsistent run times on notebooks too, it will be a real shame if something like this caused someone to be disqualified in the next 12 weeks.. Some reassurance would be good. </p>",
      "rawMarkdown": "I posted about inconsistent run times on notebooks too, it will be a real shame if something like this caused someone to be disqualified in the next 12 weeks.. Some reassurance would be good.",
      "votes": null
    },
    {
      "id": "1669959",
      "postDate": "01/31/2022 05:15:26",
      "content": "<p>I read somewhere that you need to remove any \"print\" and \"display\" functions when iterating over the test set. Did you include measuring and printing the time taken in your code? Remove that and see what happens</p>",
      "rawMarkdown": "I read somewhere that you need to remove any \"print\" and \"display\" functions when iterating over the test set. Did you include measuring and printing the time taken in your code? Remove that and see what happens",
      "votes": null
    },
    {
      "id": "1670033",
      "postDate": "01/31/2022 06:59:28",
      "content": "<p>Thanks.<br>\nAfter using this <a href=\"https://www.kaggle.com/jagofc/local-api-emulator\" target=\"_blank\">API Emulator</a> I found that run times changes a lot per iteration.<br>\nAnd I was able to fix it.</p>",
      "rawMarkdown": "Thanks.\nAfter using this [API Emulator](https://www.kaggle.com/jagofc/local-api-emulator) I found that run times changes a lot per iteration.\nAnd I was able to fix it.",
      "votes": null
    },
    {
      "id": "1670035",
      "postDate": "01/31/2022 07:00:25",
      "content": "<p>hmm yes, I had that.</p>",
      "rawMarkdown": "hmm yes, I had that.",
      "votes": null
    },
    {
      "id": "1670041",
      "postDate": "01/31/2022 07:03:34",
      "content": "<p>Sure, from my experiment the successful kernel can also fail</p>",
      "rawMarkdown": "Sure, from my experiment the successful kernel can also fail",
      "votes": null
    },
    {
      "id": "1671019",
      "postDate": "02/01/2022 05:11:54",
      "content": "<p>yes,even very simple notebooks which take about 10-15 seconds are getting timed out after scoring for 10-15 hours 🤔🤔🤔🤔</p>",
      "rawMarkdown": "yes,even very simple notebooks which take about 10-15 seconds are getting timed out after scoring for 10-15 hours 🤔🤔🤔🤔",
      "votes": null
    },
    {
      "id": "1671044",
      "postDate": "02/01/2022 05:39:55",
      "content": "<p>Did you find out what's the issue? </p>",
      "rawMarkdown": "Did you find out what's the issue?",
      "votes": null
    },
    {
      "id": "1671536",
      "postDate": "02/01/2022 14:43:19",
      "content": "<p>Hard to say because I changed a lot of things at the same time.<br>\nI removed all print functions and change my feature engineering function</p>",
      "rawMarkdown": "Hard to say because I changed a lot of things at the same time.\nI removed all print functions and change my feature engineering function",
      "votes": null
    },
    {
      "id": "1671563",
      "postDate": "02/01/2022 15:00:01",
      "content": "<p>Do share the script when the competition ended - I gave out after trying a dozen times of timeout lol; <br>\nThe competition hosts were not exactly helpful.</p>",
      "rawMarkdown": "Do share the script when the competition ended - I gave out after trying a dozen times of timeout lol; \nThe competition hosts were not exactly helpful.",
      "votes": null
    },
    {
      "id": "1671568",
      "postDate": "02/01/2022 15:04:35",
      "content": "<p>yes, I don't know why but my guess is a lot of submissions will fail during reruns… </p>",
      "rawMarkdown": "yes, I don't know why but my guess is a lot of submissions will fail during reruns...",
      "votes": null
    },
    {
      "id": "1671761",
      "postDate": "02/01/2022 17:51:04",
      "content": "<p>Glad it helped : )</p>",
      "rawMarkdown": "Glad it helped : )",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1669706,
      "author_name": "yus002",
      "author_url": "",
      "post_date": "01/30/2022 21:45:03",
      "content": "<p>Hi, I have no idea. My original estimation is that 140739.13 &lt; x &lt; 145909.09 where x is the number of loops, so as long as each loop takes between 0.222 seconds and 0.23 seconds, the code can run successfully. I also test my own submission which runs for 7 hours. Each loop in it takes about 0.167 seconds.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1670033,
          "author_name": "amedprof",
          "author_url": "",
          "post_date": "01/31/2022 06:59:28",
          "content": "<p>Thanks.<br>\nAfter using this <a href=\"https://www.kaggle.com/jagofc/local-api-emulator\" target=\"_blank\">API Emulator</a> I found that run times changes a lot per iteration.<br>\nAnd I was able to fix it.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1671761,
          "author_name": "jagofc",
          "author_url": "",
          "post_date": "02/01/2022 17:51:04",
          "content": "<p>Glad it helped : )</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1669768,
      "author_name": "julianmukaj",
      "author_url": "",
      "post_date": "01/30/2022 23:16:32",
      "content": "<p>I posted about inconsistent run times on notebooks too, it will be a real shame if something like this caused someone to be disqualified in the next 12 weeks.. Some reassurance would be good. </p>",
      "votes": null,
      "replies": [
        {
          "id": 1670041,
          "author_name": "amedprof",
          "author_url": "",
          "post_date": "01/31/2022 07:03:34",
          "content": "<p>Sure, from my experiment the successful kernel can also fail</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1669959,
      "author_name": "nrcjea001",
      "author_url": "",
      "post_date": "01/31/2022 05:15:26",
      "content": "<p>I read somewhere that you need to remove any \"print\" and \"display\" functions when iterating over the test set. Did you include measuring and printing the time taken in your code? Remove that and see what happens</p>",
      "votes": null,
      "replies": [
        {
          "id": 1670035,
          "author_name": "amedprof",
          "author_url": "",
          "post_date": "01/31/2022 07:00:25",
          "content": "<p>hmm yes, I had that.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1671019,
      "author_name": "saumilagrawal10",
      "author_url": "",
      "post_date": "02/01/2022 05:11:54",
      "content": "<p>yes,even very simple notebooks which take about 10-15 seconds are getting timed out after scoring for 10-15 hours 🤔🤔🤔🤔</p>",
      "votes": null,
      "replies": [
        {
          "id": 1671568,
          "author_name": "amedprof",
          "author_url": "",
          "post_date": "02/01/2022 15:04:35",
          "content": "<p>yes, I don't know why but my guess is a lot of submissions will fail during reruns… </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1671044,
      "author_name": "skw1990",
      "author_url": "",
      "post_date": "02/01/2022 05:39:55",
      "content": "<p>Did you find out what's the issue? </p>",
      "votes": null,
      "replies": [
        {
          "id": 1671536,
          "author_name": "amedprof",
          "author_url": "",
          "post_date": "02/01/2022 14:43:19",
          "content": "<p>Hard to say because I changed a lot of things at the same time.<br>\nI removed all print functions and change my feature engineering function</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1671563,
          "author_name": "skw1990",
          "author_url": "",
          "post_date": "02/01/2022 15:00:01",
          "content": "<p>Do share the script when the competition ended - I gave out after trying a dozen times of timeout lol; <br>\nThe competition hosts were not exactly helpful.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1669493": "I have done a lot of **test** submission **without using any model** and it's **Timeout**.\n\nIn the image below you can see that each iteration on test data is  under 0.14s.\n\n[Image](https://drive.google.com/file/d/1Dfsy8n9BgJcPU5zyUlkee2O0Anuh514B/view?usp=sharing)\n\nOffline kernel run in 31 s.\nYou can see also picture of this [here!](https://drive.google.com/file/d/1WTMLnP9rUJCXYi9IUw6mEhsYS32yUlcG/view?usp=sharing).\n\n@sohier @andrewscherer  @yus002 could you please give an explanation for this",
    "1669706": "Hi, I have no idea. My original estimation is that 140739.13 < x < 145909.09 where x is the number of loops, so as long as each loop takes between 0.222 seconds and 0.23 seconds, the code can run successfully. I also test my own submission which runs for 7 hours. Each loop in it takes about 0.167 seconds.",
    "1669768": "I posted about inconsistent run times on notebooks too, it will be a real shame if something like this caused someone to be disqualified in the next 12 weeks.. Some reassurance would be good.",
    "1669959": "I read somewhere that you need to remove any \"print\" and \"display\" functions when iterating over the test set. Did you include measuring and printing the time taken in your code? Remove that and see what happens",
    "1670033": "Thanks.\nAfter using this [API Emulator](https://www.kaggle.com/jagofc/local-api-emulator) I found that run times changes a lot per iteration.\nAnd I was able to fix it.",
    "1670035": "hmm yes, I had that.",
    "1670041": "Sure, from my experiment the successful kernel can also fail",
    "1671019": "yes,even very simple notebooks which take about 10-15 seconds are getting timed out after scoring for 10-15 hours 🤔🤔🤔🤔",
    "1671044": "Did you find out what's the issue?",
    "1671536": "Hard to say because I changed a lot of things at the same time.\nI removed all print functions and change my feature engineering function",
    "1671563": "Do share the script when the competition ended - I gave out after trying a dozen times of timeout lol; \nThe competition hosts were not exactly helpful.",
    "1671568": "yes, I don't know why but my guess is a lot of submissions will fail during reruns...",
    "1671761": "Glad it helped : )"
  },
  "source": "meta"
}