From b7960f21299a2cf726332469053d15737f4b5bea Mon Sep 17 00:00:00 2001 From: James Myatt Date: Tue, 30 Aug 2022 16:00:10 +0100 Subject: [PATCH 1/2] Remove unused import of eigs from scipy --- notebooks/astgcn_for_traffic_flow_forecasting.ipynb | 1 - 1 file changed, 1 deletion(-) diff --git a/notebooks/astgcn_for_traffic_flow_forecasting.ipynb b/notebooks/astgcn_for_traffic_flow_forecasting.ipynb index a77b7b89..a6de39c0 100644 --- a/notebooks/astgcn_for_traffic_flow_forecasting.ipynb +++ b/notebooks/astgcn_for_traffic_flow_forecasting.ipynb @@ -105,7 +105,6 @@ "import torch.nn as nn\n", "import torch.optim as optim\n", "import torch.nn.functional as F\n", - "from scipy.sparse.linalg import eigs\n", "\n", "\n", "USE_CUDA = torch.cuda.is_available()\n", From 5723b4590ef9b474fea535ce46dd7cf41dde4e9b Mon Sep 17 00:00:00 2001 From: James Myatt Date: Tue, 30 Aug 2022 16:00:25 +0100 Subject: [PATCH 2/2] Remove scipy from mandatory dependencies (not used) --- .github/workflows/main.yml | 2 +- setup.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 73968ea8..17407326 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ on: jobs: build: runs-on: ${{ matrix.os }} - + strategy: matrix: os: [ubuntu-20.04] diff --git a/setup.py b/setup.py index d352e54a..432ba49e 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,6 @@ "torch_sparse", "torch_geometric", "numpy", - "scipy", "six", "networkx", ]