{
  "id": 493479,
  "title": "Why the two notebooks seem to be the same with different results?",
  "url": "/competitions/home-credit-credit-risk-model-stability/discussion/493479",
  "author_name": "",
  "post_date": "2024-04-13T15:43:13.493573200Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p><a href=\"https://www.kaggle.com/code/majiaqi111/home-credit-lgb-cat-ensemble\" target=\"_blank\">https://www.kaggle.com/code/majiaqi111/home-credit-lgb-cat-ensemble</a><br>\n<a href=\"https://www.kaggle.com/code/jeffersusus/home-credit-lgb-cat-ensemble#Submision\" target=\"_blank\">https://www.kaggle.com/code/jeffersusus/home-credit-lgb-cat-ensemble#Submision</a></p>",
  "messages": [
    {
      "id": "2750345",
      "postDate": "04/13/2024 15:43:13",
      "content": "<p><a href=\"https://www.kaggle.com/code/majiaqi111/home-credit-lgb-cat-ensemble\" target=\"_blank\">https://www.kaggle.com/code/majiaqi111/home-credit-lgb-cat-ensemble</a><br>\n<a href=\"https://www.kaggle.com/code/jeffersusus/home-credit-lgb-cat-ensemble#Submision\" target=\"_blank\">https://www.kaggle.com/code/jeffersusus/home-credit-lgb-cat-ensemble#Submision</a></p>",
      "rawMarkdown": "https://www.kaggle.com/code/majiaqi111/home-credit-lgb-cat-ensemble\nhttps://www.kaggle.com/code/jeffersusus/home-credit-lgb-cat-ensemble#Submision",
      "votes": null
    },
    {
      "id": "2754835",
      "postDate": "04/16/2024 08:18:57",
      "content": "<p>I believe the reason is similar to <a href=\"https://github.com/catboost/catboost/issues/546\" target=\"_blank\">here</a>.</p>\n<blockquote>\n  <p>GPU version doesn't guarantee the same results for the same parameter. (There are atomic operations in some computation blocks for which we can't guarantee reproducibilit, because different sum order of floats gives different results).</p>\n</blockquote>",
      "rawMarkdown": "I believe the reason is similar to [here](https://github.com/catboost/catboost/issues/546).\n> GPU version doesn't guarantee the same results for the same parameter. (There are atomic operations in some computation blocks for which we can't guarantee reproducibilit, because different sum order of floats gives different results).",
      "votes": null
    },
    {
      "id": "2755455",
      "postDate": "04/16/2024 14:13:46",
      "content": "<p>I have noticed the same, whenever I try to use gpu, I lose reproducibility, even though the difference is quite small</p>",
      "rawMarkdown": "I have noticed the same, whenever I try to use gpu, I lose reproducibility, even though the difference is quite small",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2754835,
      "author_name": "act18l",
      "author_url": "",
      "post_date": "04/16/2024 08:18:57",
      "content": "<p>I believe the reason is similar to <a href=\"https://github.com/catboost/catboost/issues/546\" target=\"_blank\">here</a>.</p>\n<blockquote>\n  <p>GPU version doesn't guarantee the same results for the same parameter. (There are atomic operations in some computation blocks for which we can't guarantee reproducibilit, because different sum order of floats gives different results).</p>\n</blockquote>",
      "votes": null,
      "replies": [
        {
          "id": 2755455,
          "author_name": "jabranzahid",
          "author_url": "",
          "post_date": "04/16/2024 14:13:46",
          "content": "<p>I have noticed the same, whenever I try to use gpu, I lose reproducibility, even though the difference is quite small</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2750345": "https://www.kaggle.com/code/majiaqi111/home-credit-lgb-cat-ensemble\nhttps://www.kaggle.com/code/jeffersusus/home-credit-lgb-cat-ensemble#Submision",
    "2754835": "I believe the reason is similar to [here](https://github.com/catboost/catboost/issues/546).\n> GPU version doesn't guarantee the same results for the same parameter. (There are atomic operations in some computation blocks for which we can't guarantee reproducibilit, because different sum order of floats gives different results).",
    "2755455": "I have noticed the same, whenever I try to use gpu, I lose reproducibility, even though the difference is quite small"
  },
  "source": "meta"
}