char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Georgi Gerganovtests : move save-load-state from examples to tests (#23336)40d5358d3

char/aliceai-t5-moe
1005 B44 linesraw
1# dependencies
2
3find_package(Threads REQUIRED)
4
5# third-party
6
7# ...
8
9# flags
10
11llama_add_compile_flags()
12
13# examples
14
15if (EMSCRIPTEN)
16else()
17    add_subdirectory(batched)
18    add_subdirectory(debug)
19    add_subdirectory(embedding)
20    add_subdirectory(eval-callback)
21
22    add_subdirectory(gguf-hash)
23    add_subdirectory(gguf)
24    add_subdirectory(idle)
25    add_subdirectory(lookahead)
26    add_subdirectory(lookup)
27    add_subdirectory(parallel)
28    add_subdirectory(passkey)
29    add_subdirectory(retrieval)
30    add_subdirectory(simple)
31    add_subdirectory(simple-chat)
32    add_subdirectory(speculative)
33    add_subdirectory(speculative-simple)
34    add_subdirectory(gen-docs)
35    add_subdirectory(training)
36    add_subdirectory(diffusion)
37    if (NOT GGML_BACKEND_DL)
38        add_subdirectory(convert-llama2c-to-ggml)
39        # these examples use the backends directly and cannot be built with dynamic loading
40        if (GGML_SYCL)
41            add_subdirectory(sycl)
42        endif()
43    endif()
44endif()