Skip to content

Commit

Permalink
remove useless
Browse files Browse the repository at this point in the history
  • Loading branch information
hkvision committed Jan 27, 2025
1 parent c5d877f commit fb984b9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ static void print_usage(int, char ** argv) {

vector<int32_t> gguf_tokenize(std::string prompt,
gguf_tokenizer_params tok_params) {
int n_tokens = prompt.length() + 2 * tok_params.add_bos; // TODO: no need
std::vector<int32_t> ids = llama_tokenize(tok_params.ctx, prompt,
tok_params.add_bos, tok_params.parse_special);
return ids;
Expand Down Expand Up @@ -189,7 +188,7 @@ int main(int argc, char ** argv) {
exit(1);
}

// TODO: rename npu_outfile, it can be a default place where IRs are placed
// TODO: rename npu_outfile, it may be a cache folder together with config and blobs
if (params.npu_outfile == "NPU_MODEL") {
fprintf(stderr , "\033[31m%s: error: Please provide npu model output dir with -o <output_dir>\033[0m\n" , __func__);
exit(1);
Expand Down

0 comments on commit fb984b9

Please sign in to comment.