{
  "id": 161052,
  "title": "Pytorch-XLA Installation Error",
  "url": "/competitions/siim-isic-melanoma-classification/discussion/161052",
  "author_name": "",
  "post_date": "2020-06-23T15:37:15.101249100Z",
  "votes": 4,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Trying to setup torch xla for tpu using the following command:</p>\n\n<p><code>!curl https://raw.githubusercontent.com/pytorch/xla/master/contrib/scripts/env-setup.py -o pytorch-xla-env-setup.py &amp;gt; /dev/null</code></p>\n\n<p><code>!python pytorch-xla-env-setup.py --version nightly --apt-packages libomp5 libopenblas-dev &amp;gt; /dev/null</code></p>\n\n<p>But I'm getting the following error:</p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1001530%2F4ef0487997165c4248695b25fb65e003%2Ftpu_error.PNG?generation=1592980323718758&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": "898573",
      "postDate": "06/23/2020 15:37:15",
      "content": "<p>Trying to setup torch xla for tpu using the following command:</p>\n\n<p><code>!curl https://raw.githubusercontent.com/pytorch/xla/master/contrib/scripts/env-setup.py -o pytorch-xla-env-setup.py &amp;gt; /dev/null</code></p>\n\n<p><code>!python pytorch-xla-env-setup.py --version nightly --apt-packages libomp5 libopenblas-dev &amp;gt; /dev/null</code></p>\n\n<p>But I'm getting the following error:</p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1001530%2F4ef0487997165c4248695b25fb65e003%2Ftpu_error.PNG?generation=1592980323718758&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "Trying to setup torch xla for tpu using the following command:\n\n`!curl https://raw.githubusercontent.com/pytorch/xla/master/contrib/scripts/env-setup.py -o pytorch-xla-env-setup.py &gt; /dev/null`\n\n`!python pytorch-xla-env-setup.py --version nightly --apt-packages libomp5 libopenblas-dev &gt; /dev/null`\n\nBut I'm getting the following error:\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1001530%2F4ef0487997165c4248695b25fb65e003%2Ftpu_error.PNG?generation=1592980323718758&amp;alt=media)",
      "votes": null
    },
    {
      "id": "899298",
      "postDate": "06/24/2020 06:25:18",
      "content": "<p>i think you didnt post full error. kindly post  it , to know what is the issue .</p>",
      "rawMarkdown": "i think you didnt post full error. kindly post  it , to know what is the issue .",
      "votes": null
    },
    {
      "id": "899308",
      "postDate": "06/24/2020 06:33:42",
      "content": "<p>I embedded the full error message into a code block. Don't know why it is truncated. Anyways, I've added an image of the error message now.</p>",
      "rawMarkdown": "I embedded the full error message into a code block. Don't know why it is truncated. Anyways, I've added an image of the error message now.",
      "votes": null
    },
    {
      "id": "899419",
      "postDate": "06/24/2020 08:20:49",
      "content": "<p>turn on tpu , your problem will be solved</p>",
      "rawMarkdown": "turn on tpu , your problem will be solved",
      "votes": null
    },
    {
      "id": "899825",
      "postDate": "06/24/2020 13:16:54",
      "content": "<p>Thanks <a href=\"/ruchith696\">@ruchith696</a> ! It worked. Rookie mistake I guess. Should have thought of it by myself. 😨 </p>",
      "rawMarkdown": "Thanks @ruchith696 ! It worked. Rookie mistake I guess. Should have thought of it by myself. 😨",
      "votes": null
    },
    {
      "id": "903530",
      "postDate": "06/26/2020 23:18:46",
      "content": "<p>strange, my tpu is turned on, but i'm seeing this error too.</p>",
      "rawMarkdown": "strange, my tpu is turned on, but i'm seeing this error too.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 899298,
      "author_name": "ruchith696",
      "author_url": "",
      "post_date": "06/24/2020 06:25:18",
      "content": "<p>i think you didnt post full error. kindly post  it , to know what is the issue .</p>",
      "votes": null,
      "replies": [
        {
          "id": 899308,
          "author_name": "tahsin",
          "author_url": "",
          "post_date": "06/24/2020 06:33:42",
          "content": "<p>I embedded the full error message into a code block. Don't know why it is truncated. Anyways, I've added an image of the error message now.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 899419,
          "author_name": "ruchith696",
          "author_url": "",
          "post_date": "06/24/2020 08:20:49",
          "content": "<p>turn on tpu , your problem will be solved</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 899825,
          "author_name": "tahsin",
          "author_url": "",
          "post_date": "06/24/2020 13:16:54",
          "content": "<p>Thanks <a href=\"/ruchith696\">@ruchith696</a> ! It worked. Rookie mistake I guess. Should have thought of it by myself. 😨 </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 903530,
      "author_name": "matthewchung",
      "author_url": "",
      "post_date": "06/26/2020 23:18:46",
      "content": "<p>strange, my tpu is turned on, but i'm seeing this error too.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "898573": "Trying to setup torch xla for tpu using the following command:\n\n`!curl https://raw.githubusercontent.com/pytorch/xla/master/contrib/scripts/env-setup.py -o pytorch-xla-env-setup.py &gt; /dev/null`\n\n`!python pytorch-xla-env-setup.py --version nightly --apt-packages libomp5 libopenblas-dev &gt; /dev/null`\n\nBut I'm getting the following error:\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1001530%2F4ef0487997165c4248695b25fb65e003%2Ftpu_error.PNG?generation=1592980323718758&amp;alt=media)",
    "899298": "i think you didnt post full error. kindly post  it , to know what is the issue .",
    "899308": "I embedded the full error message into a code block. Don't know why it is truncated. Anyways, I've added an image of the error message now.",
    "899419": "turn on tpu , your problem will be solved",
    "899825": "Thanks @ruchith696 ! It worked. Rookie mistake I guess. Should have thought of it by myself. 😨",
    "903530": "strange, my tpu is turned on, but i'm seeing this error too."
  },
  "source": "meta"
}