Download source/third_party/llama.cpp-1.0.0/examples/test-cmake/test-cmake.cpp from Yakimask/mimamo: direct link, hf CLI and curl.
- Browser
- Download file 562 Bytes
-
https://huggingface.co/Yakimask/mimamo/resolve/main/source/third_party/llama.cpp-1.0.0/examples/test-cmake/test-cmake.cpp
- Command line
-
hf download hf://Yakimask/mimamo/source/third_party/llama.cpp-1.0.0/examples/test-cmake/test-cmake.cpp
-
curl -L -o test-cmake.cpp https://huggingface.co/Yakimask/mimamo/resolve/main/source/third_party/llama.cpp-1.0.0/examples/test-cmake/test-cmake.cpp
562 Bytes
| int main(void) { | |
| printf("[test-cmake] llama.cpp version: %s, build: %d (%s)\n", | |
| llama_version(), LLAMA_BUILD_NUMBER, LLAMA_BUILD_COMMIT); | |
| printf("[test-cmake] llama.cpp version: %s\n", llama_version()); | |
| printf("[test-cmake] ggml version: %s, commit: %s\n", ggml_version(), ggml_commit()); | |
| printf("[test-cmake] Initializing backend...\n"); | |
| llama_backend_init(); | |
| printf("[test-cmake] Backend initialized.\n"); | |
| llama_backend_free(); | |
| return 0; | |
| } | |