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