Download examples/diffusion/CMakeLists.txt from Brunobkr/llama.cpp_AlgMor24_github: direct link, hf CLI and curl.
- Browser
- Download file 490 Bytes
-
https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/examples/diffusion/CMakeLists.txt
- Command line
-
hf download hf://datasets/Brunobkr/llama.cpp_AlgMor24_github/examples/diffusion/CMakeLists.txt
-
curl -L -o CMakeLists.txt https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/examples/diffusion/CMakeLists.txt
490 Bytes
| set(TARGET llama-diffusion) | |
| add_library(${TARGET} STATIC diffusion.cpp diffusion.h) | |
| target_link_libraries(${TARGET} PUBLIC llama llama-common ${CMAKE_THREAD_LIBS_INIT}) | |
| target_compile_features(${TARGET} PUBLIC cxx_std_17) | |
| set(TARGET llama-diffusion-cli) | |
| add_executable(${TARGET} diffusion-cli.cpp) | |
| install(TARGETS ${TARGET} RUNTIME) | |
| target_link_libraries(${TARGET} PRIVATE llama-diffusion llama llama-common ${CMAKE_THREAD_LIBS_INIT}) | |
| target_compile_features(${TARGET} PRIVATE cxx_std_17) | |