aboutsummaryrefslogtreecommitdiff
path: root/examples/embedding
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2023-04-16 12:13:00 +0200
committerGitHub <noreply@github.com>2023-04-16 10:13:00 +0000
commit489537e6cf6c93b74a029a11533dbcaa89791dcc (patch)
tree853bff10807ff23051ef5e42dc99e37105291423 /examples/embedding
parent2d3481c72125cd388258864c7ad8d7d36777bad7 (diff)
examples: add missing <ctime> include for time() (#1011)
Diffstat (limited to 'examples/embedding')
-rw-r--r--examples/embedding/embedding.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/embedding/embedding.cpp b/examples/embedding/embedding.cpp
index 2eda3ac..e10de61 100644
--- a/examples/embedding/embedding.cpp
+++ b/examples/embedding/embedding.cpp
@@ -1,6 +1,8 @@
#include "common.h"
#include "llama.h"
+#include <ctime>
+
int main(int argc, char ** argv) {
gpt_params params;
params.model = "models/llama-7B/ggml-model.bin";