2023-03-25 18:26:40 +00:00
|
|
|
# dependencies
|
|
|
|
|
|
|
|
find_package(Threads REQUIRED)
|
|
|
|
|
|
|
|
# third-party
|
|
|
|
|
|
|
|
# ...
|
|
|
|
|
|
|
|
# examples
|
|
|
|
|
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|
|
|
|
if (EMSCRIPTEN)
|
|
|
|
else()
|
2024-06-15 16:53:40 +00:00
|
|
|
add_subdirectory(cvector-generator)
|
2023-10-20 18:07:23 +00:00
|
|
|
add_subdirectory(baby-llama)
|
|
|
|
add_subdirectory(batched-bench)
|
2024-06-12 23:41:52 +00:00
|
|
|
add_subdirectory(batched)
|
2023-10-20 18:07:23 +00:00
|
|
|
add_subdirectory(benchmark)
|
|
|
|
add_subdirectory(convert-llama2c-to-ggml)
|
|
|
|
add_subdirectory(embedding)
|
2024-04-11 12:51:07 +00:00
|
|
|
add_subdirectory(eval-callback)
|
2024-06-12 23:41:52 +00:00
|
|
|
add_subdirectory(export-lora)
|
2023-10-20 18:07:23 +00:00
|
|
|
add_subdirectory(finetune)
|
2024-06-12 23:41:52 +00:00
|
|
|
add_subdirectory(gbnf-validator)
|
2024-07-07 12:58:43 +00:00
|
|
|
add_subdirectory(gguf-hash)
|
2024-03-19 11:05:44 +00:00
|
|
|
add_subdirectory(gguf-split)
|
2024-06-12 23:41:52 +00:00
|
|
|
add_subdirectory(gguf)
|
|
|
|
add_subdirectory(gritlm)
|
|
|
|
add_subdirectory(imatrix)
|
2023-10-20 18:07:23 +00:00
|
|
|
add_subdirectory(infill)
|
|
|
|
add_subdirectory(llama-bench)
|
|
|
|
add_subdirectory(llava)
|
2024-06-12 23:41:52 +00:00
|
|
|
add_subdirectory(lookahead)
|
|
|
|
add_subdirectory(lookup)
|
2023-03-25 18:26:40 +00:00
|
|
|
add_subdirectory(main)
|
2023-10-20 18:07:23 +00:00
|
|
|
add_subdirectory(parallel)
|
2024-06-12 23:41:52 +00:00
|
|
|
add_subdirectory(passkey)
|
2023-10-20 18:07:23 +00:00
|
|
|
add_subdirectory(perplexity)
|
2023-04-07 22:09:18 +00:00
|
|
|
add_subdirectory(quantize-stats)
|
2024-06-12 23:41:52 +00:00
|
|
|
add_subdirectory(quantize)
|
2024-03-25 07:38:22 +00:00
|
|
|
add_subdirectory(retrieval)
|
2024-06-26 15:33:02 +00:00
|
|
|
if (GGML_RPC)
|
2024-06-12 23:41:52 +00:00
|
|
|
add_subdirectory(rpc)
|
|
|
|
endif()
|
|
|
|
if (LLAMA_BUILD_SERVER)
|
|
|
|
add_subdirectory(server)
|
|
|
|
endif()
|
2024-06-26 15:33:02 +00:00
|
|
|
if (GGML_SYCL)
|
2024-06-12 23:41:52 +00:00
|
|
|
add_subdirectory(sycl)
|
|
|
|
endif()
|
2023-04-24 16:23:31 +00:00
|
|
|
add_subdirectory(save-load-state)
|
2023-06-17 16:30:22 +00:00
|
|
|
add_subdirectory(simple)
|
2023-09-03 12:12:08 +00:00
|
|
|
add_subdirectory(speculative)
|
2024-06-12 23:41:52 +00:00
|
|
|
add_subdirectory(tokenize)
|
2023-10-20 18:07:23 +00:00
|
|
|
add_subdirectory(train-text-from-scratch)
|
2023-03-25 18:26:40 +00:00
|
|
|
endif()
|