mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 19:04:35 +00:00
bf44faa0ee
The goal is to allow running "run" while connected to other streams, such as TCP sockets. Signed-off-by: Thiago Padilha <thiago@padilha.cc>
11 lines
193 B
C++
11 lines
193 B
C++
#pragma once
|
|
|
|
#include "llama.h"
|
|
#include "utils.h"
|
|
|
|
int run(llama_context * ctx,
|
|
gpt_params params,
|
|
std::istream & instream,
|
|
FILE *outstream,
|
|
FILE *errstream);
|