@@ -111,12 +111,14 @@ pub fn build(b: *std.build.Builder) !void {
111
111
const common = make .obj ("common" , "common/common.cpp" );
112
112
const console = make .obj ("common" , "common/console.cpp" );
113
113
const grammar_parser = make .obj ("grammar-parser" , "common/grammar-parser.cpp" );
114
+ const train = make .obj ("train" , "common/train.cpp" );
114
115
115
116
_ = make .exe ("main" , "examples/main/main.cpp" , &.{ ggml , ggml_alloc , llama , common , console , grammar_parser });
116
117
_ = make .exe ("quantize" , "examples/quantize/quantize.cpp" , &.{ ggml , ggml_alloc , llama , common });
117
118
_ = make .exe ("perplexity" , "examples/perplexity/perplexity.cpp" , &.{ ggml , ggml_alloc , llama , common });
118
119
_ = make .exe ("embedding" , "examples/embedding/embedding.cpp" , &.{ ggml , ggml_alloc , llama , common });
119
- _ = make .exe ("train-text-from-scratch" , "examples/train-text-from-scratch/train-text-from-scratch.cpp" , &.{ ggml , ggml_alloc , llama , common });
120
+ _ = make .exe ("finetune" , "examples/finetune/finetune.cpp" , &.{ ggml , ggml_alloc , llama , common , train });
121
+ _ = make .exe ("train-text-from-scratch" , "examples/train-text-from-scratch/train-text-from-scratch.cpp" , &.{ ggml , ggml_alloc , llama , common , train });
120
122
121
123
const server = make .exe ("server" , "examples/server/server.cpp" , &.{ ggml , ggml_alloc , llama , common , grammar_parser });
122
124
if (server .target .isWindows ()) {
0 commit comments