{
  "id": 156253,
  "title": "tpu with pytorch import _XLAC undefined symbol",
  "url": "/competitions/jigsaw-multilingual-toxic-comment-classification/discussion/156253",
  "author_name": "",
  "post_date": "2020-06-05T06:00:59.876482600Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Tried normal install as I have found in different kernels</p>\n\n<p><code>\n!curl https://raw.githubusercontent.com/pytorch/xla/master/contrib/scripts/env-setup.py -o pytorch-xla-env-setup.py\n!python pytorch-xla-env-setup.py --apt-packages libomp5 libopenblas-dev\n</code></p>\n\n<p>Got this (well, editor deleted my stack trace, but it is on a call inside xla which is import _XLA caises this undefined symbol _xlac).</p>\n\n<h2>```</h2>\n\n<p>ImportError                               Traceback (most recent call last)</p>\n\n<p>```</p>",
  "messages": [
    {
      "id": "874603",
      "postDate": "06/05/2020 06:00:59",
      "content": "<p>Tried normal install as I have found in different kernels</p>\n\n<p><code>\n!curl https://raw.githubusercontent.com/pytorch/xla/master/contrib/scripts/env-setup.py -o pytorch-xla-env-setup.py\n!python pytorch-xla-env-setup.py --apt-packages libomp5 libopenblas-dev\n</code></p>\n\n<p>Got this (well, editor deleted my stack trace, but it is on a call inside xla which is import _XLA caises this undefined symbol _xlac).</p>\n\n<h2>```</h2>\n\n<p>ImportError                               Traceback (most recent call last)</p>\n\n<p>```</p>",
      "rawMarkdown": "Tried normal install as I have found in different kernels\n\n```\n!curl https://raw.githubusercontent.com/pytorch/xla/master/contrib/scripts/env-setup.py -o pytorch-xla-env-setup.py\n!python pytorch-xla-env-setup.py --apt-packages libomp5 libopenblas-dev\n```\n\nGot this (well, editor deleted my stack trace, but it is on a call inside xla which is import _XLA caises this undefined symbol _xlac).\n\n```\n---------------------------------------------------------------------------\nImportError                               Traceback (most recent call last)\n\n```",
      "votes": null
    },
    {
      "id": "891154",
      "postDate": "06/18/2020 00:43:45",
      "content": "<p>Did you solve this problem? It's likely due to some incorrect installation of PyTorch and PyTorch XLA. Have you tried a different version of PyTorch XLA?</p>",
      "rawMarkdown": "Did you solve this problem? It's likely due to some incorrect installation of PyTorch and PyTorch XLA. Have you tried a different version of PyTorch XLA?",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 891154,
      "author_name": "tanlikesmath",
      "author_url": "",
      "post_date": "06/18/2020 00:43:45",
      "content": "<p>Did you solve this problem? It's likely due to some incorrect installation of PyTorch and PyTorch XLA. Have you tried a different version of PyTorch XLA?</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "874603": "Tried normal install as I have found in different kernels\n\n```\n!curl https://raw.githubusercontent.com/pytorch/xla/master/contrib/scripts/env-setup.py -o pytorch-xla-env-setup.py\n!python pytorch-xla-env-setup.py --apt-packages libomp5 libopenblas-dev\n```\n\nGot this (well, editor deleted my stack trace, but it is on a call inside xla which is import _XLA caises this undefined symbol _xlac).\n\n```\n---------------------------------------------------------------------------\nImportError                               Traceback (most recent call last)\n\n```",
    "891154": "Did you solve this problem? It's likely due to some incorrect installation of PyTorch and PyTorch XLA. Have you tried a different version of PyTorch XLA?"
  },
  "source": "meta"
}