Skip to content

Commit

Permalink
Add embed & rerank calculators when no Python is present (#2773)
Browse files Browse the repository at this point in the history
Ticket:CVS-155694
  • Loading branch information
atobiszei authored Oct 30, 2024
1 parent 089d6d6 commit f0cf743
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,6 @@ cc_library(
"//src/llm:llmcalculator",
"//src/llm:llmnoderesources",
"//src/llm:text_processor",
"//src/embeddings:embeddingscalculator",
"//src/rerank:rerankcalculator",
],
"//:disable_python": []
}) + [
Expand Down Expand Up @@ -426,6 +424,8 @@ cc_library(
"@mediapipe//mediapipe/calculators/geti/serialization:calculators",
"//src:httppayload",
"//src:libhttpclientconnection",
"//src/embeddings:embeddingscalculator",
"//src/rerank:rerankcalculator",
],
"//:disable_mediapipe" : [],
}),
Expand Down Expand Up @@ -1380,6 +1380,7 @@ cc_test(
"test/mediapipe_framework_test.cpp",
"test/mediapipe_validation_test.cpp",
"test/streaming_test.cpp",
"test/rerank_handler_test.cpp",
],
"//:disable_mediapipe" : [],
}) + select({
Expand All @@ -1391,7 +1392,6 @@ cc_test(
"test/llmtemplate_test.cpp",
"test/pythonnode_test.cpp",
"test/text_streamer_test.cpp",
"test/rerank_handler_test.cpp",
],
"//:disable_python" : [],
}),
Expand Down

0 comments on commit f0cf743

Please sign in to comment.