{
  "id": 181043,
  "title": "AssertionError: Torch not compiled with CUDA enabled",
  "url": "/competitions/landmark-recognition-2020/discussion/181043",
  "author_name": "",
  "post_date": "2020-09-07T11:34:11.898231700Z",
  "votes": 1,
  "comment_count": 1,
  "views": 0,
  "content": "<p>device = torch.device('cuda')<br>\nmodel = model.to(device)</p>\n<p>Unable to use cuda. Please help!</p>",
  "messages": [
    {
      "id": "1001516",
      "postDate": "09/07/2020 11:34:11",
      "content": "<p>device = torch.device('cuda')<br>\nmodel = model.to(device)</p>\n<p>Unable to use cuda. Please help!</p>",
      "rawMarkdown": "device = torch.device('cuda')\nmodel = model.to(device)\n\nUnable to use cuda. Please help!",
      "votes": null
    },
    {
      "id": "1002532",
      "postDate": "09/08/2020 07:53:35",
      "content": "<p>make it ---&gt; device = torch.device('cuda:0')</p>",
      "rawMarkdown": "make it ---> device = torch.device('cuda:0')",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1002532,
      "author_name": "dsnil87",
      "author_url": "",
      "post_date": "09/08/2020 07:53:35",
      "content": "<p>make it ---&gt; device = torch.device('cuda:0')</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1001516": "device = torch.device('cuda')\nmodel = model.to(device)\n\nUnable to use cuda. Please help!",
    "1002532": "make it ---> device = torch.device('cuda:0')"
  },
  "source": "meta"
}