{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"!nvcc --version","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2023-10-17T09:07:27.277415Z","iopub.execute_input":"2023-10-17T09:07:27.278243Z","iopub.status.idle":"2023-10-17T09:07:28.760365Z","shell.execute_reply.started":"2023-10-17T09:07:27.27821Z","shell.execute_reply":"2023-10-17T09:07:28.759239Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!pip show torch","metadata":{"execution":{"iopub.status.busy":"2023-10-17T09:07:28.765799Z","iopub.execute_input":"2023-10-17T09:07:28.768153Z","iopub.status.idle":"2023-10-17T09:07:39.234957Z","shell.execute_reply.started":"2023-10-17T09:07:28.768116Z","shell.execute_reply":"2023-10-17T09:07:39.233866Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!pip install pyg_lib torch_scatter torch_sparse torch_spline_conv torch-cluster -f https://data.pyg.org/whl/torch-2.0.0+cu118.html\n!pip install torch_geometric","metadata":{"execution":{"iopub.status.busy":"2023-10-17T09:07:43.727663Z","iopub.execute_input":"2023-10-17T09:07:43.728044Z","iopub.status.idle":"2023-10-17T09:08:12.885643Z","shell.execute_reply.started":"2023-10-17T09:07:43.728013Z","shell.execute_reply":"2023-10-17T09:08:12.884463Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import os\nimport pickle\nimport torch\nimport torch.nn as nn\nimport torch.nn.functional as F\nfrom torch_geometric.nn import GCNConv, SAGEConv\nfrom torch_geometric.nn.conv.gcn_conv import gcn_norm\nfrom torch_sparse import SparseTensor\nimport numpy as np\nfrom tqdm import tqdm, trange\n\nfrom typing import Dict, List","metadata":{"execution":{"iopub.status.busy":"2023-10-17T09:08:19.351422Z","iopub.execute_input":"2023-10-17T09:08:19.351853Z","iopub.status.idle":"2023-10-17T09:08:25.496627Z","shell.execute_reply.started":"2023-10-17T09:08:19.351815Z","shell.execute_reply":"2023-10-17T09:08:25.495149Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}