llama : add simple-chat example (#10124)

* llama : add simple-chat example

---------

Co-authored-by: Xuan Son Nguyen <thichthat@gmail.com>
This commit is contained in:
Diego Devesa 2024-11-01 23:50:59 +01:00 committed by GitHub
parent e991e3127f
commit a6744e43e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 220 additions and 4 deletions

View file

@ -0,0 +1,5 @@
set(TARGET llama-simple-chat)
add_executable(${TARGET} simple-chat.cpp)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE llama ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)