Unverified Commit 77bcf604 authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files

Update pip install info for tutorials. (#5236)



* update pip install info.

* update

* clarify the version

* blabla

* blabl

---------
Co-authored-by: default avatarSteve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
parent b3308ae7
...@@ -36,9 +36,10 @@ ...@@ -36,9 +36,10 @@
"os.environ['TORCH'] = torch.__version__\n", "os.environ['TORCH'] = torch.__version__\n",
"os.environ['DGLBACKEND'] = \"pytorch\"\n", "os.environ['DGLBACKEND'] = \"pytorch\"\n",
"\n", "\n",
"# TODO(Steve): change to stable version.\n", "# Uncomment below to install required packages. If the CUDA version is not 11.6,\n",
"# Uncomment below to install required packages.\n", "# check the https://www.dgl.ai/pages/start.html to find the supported CUDA\n",
"#!pip install --pre dgl -f https://data.dgl.ai/wheels-test/repo.html > /dev/null\n", "# version and corresponding command to install DGL.\n",
"#!pip install dgl -f https://data.dgl.ai/wheels/cu116/repo.html > /dev/null\n",
"\n", "\n",
"try:\n", "try:\n",
" import dgl\n", " import dgl\n",
......
...@@ -55,9 +55,10 @@ ...@@ -55,9 +55,10 @@
"os.environ['TORCH'] = torch.__version__\n", "os.environ['TORCH'] = torch.__version__\n",
"os.environ['DGLBACKEND'] = \"pytorch\"\n", "os.environ['DGLBACKEND'] = \"pytorch\"\n",
"\n", "\n",
"# TODO(Steve): change to stable version.\n", "# Uncomment below to install required packages. If the CUDA version is not 11.6,\n",
"# Uncomment below to install required packages.\n", "# check the https://www.dgl.ai/pages/start.html to find the supported CUDA\n",
"#!pip install --pre dgl -f https://data.dgl.ai/wheels-test/repo.html > /dev/null\n", "# version and corresponding command to install DGL.\n",
"#!pip install dgl -f https://data.dgl.ai/wheels/cu116/repo.html > /dev/null\n",
"#!pip install --upgrade scipy networkx > /dev/null\n", "#!pip install --upgrade scipy networkx > /dev/null\n",
"\n", "\n",
"try:\n", "try:\n",
......
...@@ -24,9 +24,10 @@ ...@@ -24,9 +24,10 @@
"os.environ['TORCH'] = torch.__version__\n", "os.environ['TORCH'] = torch.__version__\n",
"os.environ['DGLBACKEND'] = \"pytorch\"\n", "os.environ['DGLBACKEND'] = \"pytorch\"\n",
"\n", "\n",
"# TODO(Steve): change to stable version.\n", "# Uncomment below to install required packages. If the CUDA version is not 11.6,\n",
"# Uncomment below to install required packages.\n", "# check the https://www.dgl.ai/pages/start.html to find the supported CUDA\n",
"#!pip install --pre dgl -f https://data.dgl.ai/wheels-test/repo.html >/dev/null\n", "# version and corresponding command to install DGL.\n",
"#!pip install dgl -f https://data.dgl.ai/wheels/cu116/repo.html > /dev/null\n",
"#!pip install ogb >/dev/null\n", "#!pip install ogb >/dev/null\n",
"\n", "\n",
"try:\n", "try:\n",
......
...@@ -38,9 +38,10 @@ ...@@ -38,9 +38,10 @@
"os.environ['TORCH'] = torch.__version__\n", "os.environ['TORCH'] = torch.__version__\n",
"os.environ['DGLBACKEND'] = \"pytorch\"\n", "os.environ['DGLBACKEND'] = \"pytorch\"\n",
"\n", "\n",
"# TODO(Steve): change to stable version.\n", "# Uncomment below to install required packages. If the CUDA version is not 11.6,\n",
"# Uncomment below to install required packages.\n", "# check the https://www.dgl.ai/pages/start.html to find the supported CUDA\n",
"#!pip install --pre dgl -f https://data.dgl.ai/wheels-test/repo.html > /dev/null\n", "# version and corresponding command to install DGL.\n",
"#!pip install dgl -f https://data.dgl.ai/wheels/cu116/repo.html > /dev/null\n",
"#!pip install torchmetrics > /dev/null\n", "#!pip install torchmetrics > /dev/null\n",
"\n", "\n",
"try:\n", "try:\n",
......
...@@ -40,9 +40,10 @@ ...@@ -40,9 +40,10 @@
"os.environ['TORCH'] = torch.__version__\n", "os.environ['TORCH'] = torch.__version__\n",
"os.environ['DGLBACKEND'] = \"pytorch\"\n", "os.environ['DGLBACKEND'] = \"pytorch\"\n",
"\n", "\n",
"# TODO(Steve): change to stable version.\n", "# Uncomment below to install required packages. If the CUDA version is not 11.6,\n",
"# Uncomment below to install the required packages.\n", "# check the https://www.dgl.ai/pages/start.html to find the supported CUDA\n",
"#!pip install --pre dgl -f https://data.dgl.ai/wheels-test/repo.html > /dev/null\n", "# version and corresponding command to install DGL.\n",
"#!pip install dgl -f https://data.dgl.ai/wheels/cu116/repo.html > /dev/null\n",
"\n", "\n",
"try:\n", "try:\n",
" import dgl.sparse as dglsp\n", " import dgl.sparse as dglsp\n",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment