Skip to content

Commit

Permalink
remove verbose log in truth analysis; refine dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
suiguoxin committed Jun 1, 2022
1 parent 138b8da commit 161e7a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions AnnService/inc/Core/SPANN/ExtraFullGraphSearcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ namespace SPTAG
}
#endif
#endif
if (truth) { // TODO: check truth
if (truth) {
for (uint32_t pi = 0; pi < postingListCount; ++pi)
{
auto curPostingID = p_exWorkSpace->m_postingIDs[pi];
Expand All @@ -292,8 +292,6 @@ namespace SPTAG
for (size_t i = 0; i < listInfo->listEleCount; ++i) {
uint64_t offsetVectorID = m_enablePostingListRearrange ? (m_vectorInfoSize - sizeof(int)) * listInfo->listEleCount + sizeof(int) * i : m_vectorInfoSize * i; \
int vectorID = *(reinterpret_cast<int*>(p_postingListFullData + offsetVectorID)); \
LOG(Helper::LogLevel::LL_Info, "vectorID: %d\n", vectorID);

if (truth && truth->count(vectorID)) (*found)[curPostingID].insert(vectorID);
}
}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ COPY Wrappers ./Wrappers/
COPY GPUSupport ./GPUSupport/
COPY ThirdParty ./ThirdParty/

RUN mkdir build && cd build && cmake .. && make -j$(nproc)
RUN mkdir build && cd build && cmake .. && make -j$(nproc) && cd ..
2 changes: 1 addition & 1 deletion Dockerfile.cuda
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ COPY Wrappers ./Wrappers/
COPY GPUSupport ./GPUSupport/
COPY ThirdParty ./ThirdParty/

RUN mkdir build && cd build && cmake .. && make -j && cd ..
RUN mkdir build && cd build && cmake .. && -j$(nproc) && cd ..

0 comments on commit 161e7a8

Please sign in to comment.