From 0ebb72078cbb356b73a66ba2d941b3806a23777a Mon Sep 17 00:00:00 2001 From: Tanmoy Sarkar Date: Wed, 8 Mar 2023 01:36:47 +0530 Subject: [PATCH 1/5] fix: Embed predict_links cuda --- graphistry/embed_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphistry/embed_utils.py b/graphistry/embed_utils.py index 10798d70a3..ec83bd3913 100644 --- a/graphistry/embed_utils.py +++ b/graphistry/embed_utils.py @@ -329,7 +329,7 @@ def _score_triplets(self, triplets, threshold, anomalous, retain_old_edges, retu log(f"{triplets.shape[0]} triplets for inference") ############################################################ # the bees knees - scores = self._score(triplets) + scores = self._score(triplets).cpu() ############################################################ if len(triplets) > 1: if anomalous: From 7197ee5579fb528913bbe96e8c48918b2cf0ff06 Mon Sep 17 00:00:00 2001 From: Tanmoy Date: Wed, 8 Mar 2023 01:40:17 +0530 Subject: [PATCH 2/5] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81b29546b8..2eb2f3a9ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm * GIB: Add missing import during group-in-a-box cudf layout of 0-degree nodes * Tests: SSO login tests catch more unexpected exns +* Embed: `predict_links` on cuda ## [0.28.6 - 2022-29-22] From 3f1c737272f49e52710fe2076dbb6b552ca1be32 Mon Sep 17 00:00:00 2001 From: Tanmoy Date: Wed, 8 Mar 2023 01:45:51 +0530 Subject: [PATCH 3/5] Update mypy.ini --- mypy.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mypy.ini b/mypy.ini index fd6b4d9ece..01cff103e8 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,5 +1,5 @@ [mypy] -python_version = 3.7 +python_version = 3.8 # TODO check tests exclude = graph_vector_pb2|versioneer|_version|graphistry/tests @@ -90,4 +90,4 @@ ignore_missing_imports = True ignore_missing_imports = True [mypy-cuml.*] -ignore_missing_imports = True \ No newline at end of file +ignore_missing_imports = True From 886033353c804d42b328d83161e2bf0ac5d7bc10 Mon Sep 17 00:00:00 2001 From: Tanmoy Date: Wed, 8 Mar 2023 02:18:58 +0530 Subject: [PATCH 4/5] pinned openpyxl==3.1.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5817609f6a..8ec46e858d 100755 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ def unique_flatten_dict(d): 'networkx': ['networkx>=2.5'], 'gremlin': ['gremlinpython'], 'bolt': ['neo4j', 'neotime'], - 'nodexl': ['openpyxl', 'xlrd'], + 'nodexl': ['openpyxl==3.1.0', 'xlrd'], 'jupyter': ['ipython'], } From b8a4f5ae9d2392e17a7b39280fc9638bc8b665a9 Mon Sep 17 00:00:00 2001 From: Tanmoy Date: Wed, 8 Mar 2023 02:25:55 +0530 Subject: [PATCH 5/5] unpinned openpyxl --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8ec46e858d..d865612a62 100755 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ def unique_flatten_dict(d): 'networkx': ['networkx>=2.5'], 'gremlin': ['gremlinpython'], 'bolt': ['neo4j', 'neotime'], - 'nodexl': ['openpyxl==3.1.0', 'xlrd'], + 'nodexl': ['openpyxl<3.1.1', 'xlrd'], 'jupyter': ['ipython'], }