{
  "id": 683589,
  "title": "Guide to fix Accelerate error",
  "url": "/competitions/deep-past-initiative-machine-translation/discussion/683589",
  "author_name": "Raj Raman83",
  "post_date": "2026-03-21T06:53:32.855000",
  "votes": 6,
  "comment_count": 0,
  "views": 0,
  "content": "<p>same boat guys, suddenly on p100 ,code stopped working due cuda kernal api update.\ntwo ways to fix the error\n1) pin to original environment \n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24713106%2Fc25c60c0d6b7a92cfc00da7725bd6b56%2FScreenshot%202026-03-21%20114303.png?generation=1774073612487968&amp;alt=media\" alt=\"\">\n2) dependency script (if above doesn't work):\nin this, we first unistall the new version and replace it with older stable version </p>\n<p>paste this in  dependency installation\n!pip uninstall -y torch torchvision torchaudio</p>\n<p>!pip install --upgrade pip\n!pip install sacrebleu\n!pip install --no-cache-dir torch==2.9.0 torchvision torchaudio --index-url <a href=\"https://download.pytorch.org/whl/cu126\" target=\"_blank\">https://download.pytorch.org/whl/cu126</a></p>\n<p>then turn on the internet , run this,after running u can turn off the internet</p>",
  "messages": [
    {
      "id": 3425715,
      "postDate": "2026-03-21T06:53:32.857Z",
      "content": "<p>same boat guys, suddenly on p100 ,code stopped working due cuda kernal api update.\ntwo ways to fix the error\n1) pin to original environment \n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24713106%2Fc25c60c0d6b7a92cfc00da7725bd6b56%2FScreenshot%202026-03-21%20114303.png?generation=1774073612487968&amp;alt=media\" alt=\"\">\n2) dependency script (if above doesn't work):\nin this, we first unistall the new version and replace it with older stable version </p>\n<p>paste this in  dependency installation\n!pip uninstall -y torch torchvision torchaudio</p>\n<p>!pip install --upgrade pip\n!pip install sacrebleu\n!pip install --no-cache-dir torch==2.9.0 torchvision torchaudio --index-url <a href=\"https://download.pytorch.org/whl/cu126\" target=\"_blank\">https://download.pytorch.org/whl/cu126</a></p>\n<p>then turn on the internet , run this,after running u can turn off the internet</p>",
      "rawMarkdown": "same boat guys, suddenly on p100 ,code stopped working due cuda kernal api update.\ntwo ways to fix the error\n1) pin to original environment \n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24713106%2Fc25c60c0d6b7a92cfc00da7725bd6b56%2FScreenshot%202026-03-21%20114303.png?generation=1774073612487968&alt=media)\n2) dependency script (if above doesn't work):\nin this, we first unistall the new version and replace it with older stable version \n\npaste this in  dependency installation\n!pip uninstall -y torch torchvision torchaudio\n\n\n!pip install --upgrade pip\n!pip install sacrebleu\n!pip install --no-cache-dir torch==2.9.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126\n\nthen turn on the internet , run this,after running u can turn off the internet",
      "votes": 6
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "3425715": "same boat guys, suddenly on p100 ,code stopped working due cuda kernal api update.\ntwo ways to fix the error\n1) pin to original environment \n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24713106%2Fc25c60c0d6b7a92cfc00da7725bd6b56%2FScreenshot%202026-03-21%20114303.png?generation=1774073612487968&alt=media)\n2) dependency script (if above doesn't work):\nin this, we first unistall the new version and replace it with older stable version \n\npaste this in  dependency installation\n!pip uninstall -y torch torchvision torchaudio\n\n\n!pip install --upgrade pip\n!pip install sacrebleu\n!pip install --no-cache-dir torch==2.9.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126\n\nthen turn on the internet , run this,after running u can turn off the internet"
  }
}