Skip to content

Commit

Permalink
Fix failed builds
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Oct 17, 2023
1 parent 1f5d574 commit 268847f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/butler/butler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#endif

#include "llama.h"
#include "common/common.h"
#include "butler.h"

#include <cassert>
Expand Down Expand Up @@ -60,8 +59,6 @@ static std::string butler_token_to_str(const struct llama_context * ctx, llama_t
return std::string(result.data(), result.size());
}

static int32_t n_threads = get_num_physical_cores();

// TODO: not great allocating this every time
std::vector<llama_token> llama_tokenize(struct llama_model * model, const std::string & text, bool add_bos) {
// initialize to prompt numer of chars, since n_tokens <= n_prompt_chars
Expand Down

0 comments on commit 268847f

Please sign in to comment.