Move llama_context setup + perplexity back to main.cpp

Signed-off-by: Thiago Padilha <thiago@padilha.cc>
This commit is contained in:
Thiago Padilha
2023-03-22 09:39:25 -03:00
parent d7d53b84db
commit b7f1fa6d8c
3 changed files with 128 additions and 123 deletions

5
run.h
View File

@@ -1,3 +1,6 @@
#pragma once
int run(int argc, char ** argv);
#include "llama.h"
#include "utils.h"
int run(llama_context * ctx, gpt_params params);