Skip to content

Commit

Permalink
retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
gtygo committed Aug 9, 2024
1 parent 6afd1a9 commit fe6dc61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/retrieval/retrieval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ int main(int argc, char ** argv) {
std::vector<float> query_emb(n_embd, 0);
batch_decode(ctx, query_batch, query_emb.data(), 1, n_embd);

llama_batch_clear(query_batch);
llama_batch_free(query_batch);

// compute cosine similarities
{
Expand Down

0 comments on commit fe6dc61

Please sign in to comment.