{
  "id": 437125,
  "title": "torch-geometric torch-scatter compatibility issue",
  "url": "/competitions/predict-ai-model-runtime/discussion/437125",
  "author_name": "AC",
  "post_date": "2023-09-05T13:47:23.851000",
  "votes": 1,
  "comment_count": 6,
  "views": 0,
  "content": "<p>Is torch-geometric torch-scatter compatible with gpu? Every time i am installing it on gpu, the cell keeps on running and it doesn't get installed. But, on cpu it takes 7 min. </p>",
  "messages": [
    {
      "id": 2425198,
      "postDate": "2023-09-05T17:42:54.300Z",
      "content": "<p>I was facing same issue, if you install pytorch using cu118, just run command below<br>\n<code>!pip install torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.0.0+cu118.html</code></p>",
      "rawMarkdown": "I was facing same issue, if you install pytorch using cu118, just run command below\n`!pip install torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.0.0+cu118.html`",
      "votes": 1,
      "replies": [
        {
          "id": 2427496,
          "postDate": "2023-09-07T09:16:08.790Z",
          "content": "<p>Thanks! It's working for me now! Much appreciated! :)</p>",
          "rawMarkdown": "Thanks! It's working for me now! Much appreciated! :)"
        }
      ]
    },
    {
      "id": 2424850,
      "postDate": "2023-09-05T14:20:09.353Z",
      "content": "<p>Personally, I had no problem installing it using GPU. worked both on Colab and on my computer.<br>\nUsing Colab just run !pip install torch-geometric</p>",
      "rawMarkdown": "Personally, I had no problem installing it using GPU. worked both on Colab and on my computer.\nUsing Colab just run !pip install torch-geometric",
      "votes": 1
    },
    {
      "id": 2424818,
      "postDate": "2023-09-05T14:12:44.017Z",
      "content": "<p>You can create a new conda environment, and install python 3.11 and torch 2.0 with conda command.<br>\nAfter that, torch-geometric torch-scatte could be installed correctly.</p>",
      "rawMarkdown": "You can create a new conda environment, and install python 3.11 and torch 2.0 with conda command.\nAfter that, torch-geometric torch-scatte could be installed correctly.",
      "votes": 1,
      "replies": [
        {
          "id": 2426224,
          "postDate": "2023-09-06T13:38:53.767Z",
          "content": "<p>Hi, I was wondering how many datasets did your results compute?</p>",
          "rawMarkdown": "Hi, I was wondering how many datasets did your results compute?\n"
        }
      ]
    },
    {
      "id": 2424789,
      "postDate": "2023-09-05T13:47:23.850Z",
      "content": "<p>Is torch-geometric torch-scatter compatible with gpu? Every time i am installing it on gpu, the cell keeps on running and it doesn't get installed. But, on cpu it takes 7 min. </p>",
      "rawMarkdown": "Is torch-geometric torch-scatter compatible with gpu? Every time i am installing it on gpu, the cell keeps on running and it doesn't get installed. But, on cpu it takes 7 min. "
    },
    {
      "id": 2427076,
      "postDate": "2023-09-07T04:39:43.410Z",
      "rawMarkdown": "",
      "votes": -3,
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 2425198,
      "author_name": "DrHB",
      "author_url": "",
      "post_date": "2023-09-05T17:42:54.300000",
      "content": "<p>I was facing same issue, if you install pytorch using cu118, just run command below<br>\n<code>!pip install torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.0.0+cu118.html</code></p>",
      "votes": 1,
      "replies": [
        {
          "id": 2427496,
          "author_name": "AC",
          "author_url": "",
          "post_date": "2023-09-07T09:16:08.790000",
          "content": "<p>Thanks! It's working for me now! Much appreciated! :)</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2424850,
      "author_name": "Amit Aharoni",
      "author_url": "",
      "post_date": "2023-09-05T14:20:09.353000",
      "content": "<p>Personally, I had no problem installing it using GPU. worked both on Colab and on my computer.<br>\nUsing Colab just run !pip install torch-geometric</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2424818,
      "author_name": "Bruce",
      "author_url": "",
      "post_date": "2023-09-05T14:12:44.017000",
      "content": "<p>You can create a new conda environment, and install python 3.11 and torch 2.0 with conda command.<br>\nAfter that, torch-geometric torch-scatte could be installed correctly.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 2426224,
          "author_name": "MiHu",
          "author_url": "",
          "post_date": "2023-09-06T13:38:53.767000",
          "content": "<p>Hi, I was wondering how many datasets did your results compute?</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2427076,
      "author_name": "",
      "author_url": "",
      "post_date": "2023-09-07T04:39:43.410000",
      "content": "",
      "votes": -3,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2425198": "I was facing same issue, if you install pytorch using cu118, just run command below\n`!pip install torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.0.0+cu118.html`",
    "2424850": "Personally, I had no problem installing it using GPU. worked both on Colab and on my computer.\nUsing Colab just run !pip install torch-geometric",
    "2424818": "You can create a new conda environment, and install python 3.11 and torch 2.0 with conda command.\nAfter that, torch-geometric torch-scatte could be installed correctly.",
    "2424789": "Is torch-geometric torch-scatter compatible with gpu? Every time i am installing it on gpu, the cell keeps on running and it doesn't get installed. But, on cpu it takes 7 min. ",
    "2427076": ""
  }
}