Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Embed predict_links cuda #449

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion graphistry/embed_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
lmeyerov marked this conversation as resolved.
Show resolved Hide resolved
############################################################
if len(triplets) > 1:
if anomalous:
Expand Down
4 changes: 2 additions & 2 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.7
python_version = 3.8

# TODO check tests
exclude = graph_vector_pb2|versioneer|_version|graphistry/tests
Expand Down Expand Up @@ -90,4 +90,4 @@ ignore_missing_imports = True
ignore_missing_imports = True

[mypy-cuml.*]
ignore_missing_imports = True
ignore_missing_imports = True
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.1', 'xlrd'],
'jupyter': ['ipython'],
}

Expand Down