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

[291] Nanobind for QueryAnswer and DASNode #299

Merged
merged 11 commits into from
Mar 20, 2025
Prev Previous commit
Next Next commit
feature(hyperon_das_query_engine): evolution use binded DASNode
  • Loading branch information
Pedrobc89 committed Mar 19, 2025
commit efd8e95ec9d7e2ce59c6dfc0073ac677234b0128
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ run-inference-agent-client:
@bash -x src/scripts/run.sh inference_agent_client $(OPTIONS)

run-evolution:
src/bin/evolution $(OPTIONS)
@bash ./src/scripts/bazel.sh run //evolution:main -- $(OPTIONS)

setup-nunet-dms:
@bash -x src/scripts/setup-nunet-dms.sh
2 changes: 2 additions & 0 deletions src/.bazelrc
Original file line number Diff line number Diff line change
@@ -24,6 +24,8 @@ build --spawn_strategy=local
build --define=ATOMDB_VERSION=0.8.11
build --define=DAS_VERSION=0.9.17
build --define=DAS_NODE_VERSION=0.0.1
build --define=DAS_QUERY_ENGINE_VERSION=0.0.1


# Enable debugging symbols for development
build:debug --compilation_mode=dbg
25 changes: 13 additions & 12 deletions src/evolution/BUILD
Original file line number Diff line number Diff line change
@@ -14,22 +14,20 @@ filegroup(
srcs = glob(["**/*.py"]),
)

py_library(
name = "evolution",
srcs = [":py_all_files"],
py_binary(
name = "main",
srcs = ["main.py"],
deps = [
":fitness_functions",
":selection_methods",
":utils",
":optimizer",
"//evolution/das_node",
":optimizer"
],
)

py_library(
name = "fitness_functions",
srcs = ["fitness_functions.py"],
deps = [],
deps = [
"//hyperon_das_atomdb:exceptions",
],
)

py_library(
@@ -51,7 +49,10 @@ py_library(
":fitness_functions",
":selection_methods",
":utils",
"//evolution/das_node:das_node",
"//evolution/das_node:query_answer",
"//hyperon_das:hyperon_das",
"//hyperon_das_atomdb:hyperon_das_atomdb",
"//hyperon_das_query_engine:hyperon_das_query_engine",
# "//evolution/das_node:das_node",
# "//evolution/das_node:query_answer",
],
)
)
28 changes: 0 additions & 28 deletions src/evolution/Dockerfile

This file was deleted.

7 changes: 0 additions & 7 deletions src/evolution/build.sh

This file was deleted.

69 changes: 0 additions & 69 deletions src/evolution/das_node/BUILD

This file was deleted.

Empty file removed src/evolution/das_node/__init__.py
Empty file.
57 changes: 0 additions & 57 deletions src/evolution/das_node/das_node.py

This file was deleted.

157 changes: 0 additions & 157 deletions src/evolution/das_node/query_answer.py

This file was deleted.

Loading