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

Added ANN interface and implementations #54

Open
wants to merge 51 commits into
base: sb-main
Choose a base branch
from
Open

Conversation

netang
Copy link
Collaborator

@netang netang commented Mar 16, 2023

No description provided.

@netang netang requested a review from fonhorst March 16, 2023 10:18
@@ -0,0 +1,402 @@
import logging
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hnswlib should be in ann package, not in models

@@ -0,0 +1,639 @@
import logging
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file should be in ann package, not in models

@@ -46,6 +46,7 @@ def get_spark_session(
.config("spark.driver.host", "localhost")
.config("spark.sql.execution.arrow.pyspark.enabled", "true")
.config("spark.kryoserializer.buffer.max", "256m")
.config("spark.files.overwrite", "true")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be add a comment why this option is necessary?

replay/utils.py Outdated
@@ -15,6 +21,8 @@

# pylint: disable=invalid-name

logger = logging.getLogger("replay")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace with logging.getLogger(name)

netang added 27 commits March 16, 2023 17:52
# Conflicts:
#	replay/models/als.py
#	replay/models/word2vec.py
#	replay/utils.py
…y.ann.index_file_managers.nmslib_index_file_manager`. Remove implementation for dense vectors from NmslibHnswMixin. Update tests. Add `HnswlibParam` and `NmslibHnswParam` data classes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants