{
  "id": 600319,
  "title": "Notebook finishes in 10 mins, but inference/submission takes ages 🤔",
  "url": "/competitions/cmi-detect-behavior-with-sensor-data/discussion/600319",
  "author_name": "",
  "post_date": "2025-08-22T06:51:33.582618300Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>My notebook completes in about 10 minutes when I run it normally, but during submission/inference it takes a lot longer. Is there a specific reason why inference is slower than the notebook runtime?</p>",
  "messages": [
    {
      "id": "3273124",
      "postDate": "08/22/2025 06:51:33",
      "content": "<p>My notebook completes in about 10 minutes when I run it normally, but during submission/inference it takes a lot longer. Is there a specific reason why inference is slower than the notebook runtime?</p>",
      "rawMarkdown": "My notebook completes in about 10 minutes when I run it normally, but during submission/inference it takes a lot longer. Is there a specific reason why inference is slower than the notebook runtime?",
      "votes": null
    },
    {
      "id": "3273213",
      "postDate": "08/22/2025 11:14:17",
      "content": "<p>In the inference stage, the model predicts on thousands of samples, whereas in the saving stage, typically only 2 samples (from the test set) are involved.</p>",
      "rawMarkdown": "In the inference stage, the model predicts on thousands of samples, whereas in the saving stage, typically only 2 samples (from the test set) are involved.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3273213,
      "author_name": "pshuaibi",
      "author_url": "",
      "post_date": "08/22/2025 11:14:17",
      "content": "<p>In the inference stage, the model predicts on thousands of samples, whereas in the saving stage, typically only 2 samples (from the test set) are involved.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "3273124": "My notebook completes in about 10 minutes when I run it normally, but during submission/inference it takes a lot longer. Is there a specific reason why inference is slower than the notebook runtime?",
    "3273213": "In the inference stage, the model predicts on thousands of samples, whereas in the saving stage, typically only 2 samples (from the test set) are involved."
  },
  "source": "meta"
}