Spaces:
Runtime error
Runtime error
Upload llama.cpp/CMakePresets.json with huggingface_hub
Browse files- llama.cpp/CMakePresets.json +81 -0
llama.cpp/CMakePresets.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": 4,
|
| 3 |
+
"configurePresets": [
|
| 4 |
+
{
|
| 5 |
+
"name": "base",
|
| 6 |
+
"hidden": true,
|
| 7 |
+
"generator": "Ninja",
|
| 8 |
+
"binaryDir": "${sourceDir}/build-${presetName}",
|
| 9 |
+
"cacheVariables": {
|
| 10 |
+
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
| 11 |
+
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/.."
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"name": "sycl-base",
|
| 16 |
+
"hidden": true,
|
| 17 |
+
"generator": "Ninja",
|
| 18 |
+
"binaryDir": "${sourceDir}/build-${presetName}",
|
| 19 |
+
"cacheVariables": {
|
| 20 |
+
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
| 21 |
+
"CMAKE_CXX_COMPILER": "icx",
|
| 22 |
+
"CMAKE_C_COMPILER": "cl",
|
| 23 |
+
"GGML_SYCL": "ON",
|
| 24 |
+
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/.."
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
{ "name": "debug", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } },
|
| 28 |
+
{ "name": "release", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" } },
|
| 29 |
+
{ "name": "reldbg", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" } },
|
| 30 |
+
{ "name": "static", "hidden": true, "cacheVariables": { "GGML_STATIC": "ON" } },
|
| 31 |
+
{ "name": "sycl_f16", "hidden": true, "cacheVariables": { "GGML_SYCL_F16": "ON" } },
|
| 32 |
+
|
| 33 |
+
{
|
| 34 |
+
"name": "arm64-windows-msvc", "hidden": true,
|
| 35 |
+
"architecture": { "value": "arm64", "strategy": "external" },
|
| 36 |
+
"toolset": { "value": "host=x64", "strategy": "external" },
|
| 37 |
+
"cacheVariables": {
|
| 38 |
+
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-msvc.cmake"
|
| 39 |
+
}
|
| 40 |
+
},
|
| 41 |
+
|
| 42 |
+
{
|
| 43 |
+
"name": "arm64-windows-llvm", "hidden": true,
|
| 44 |
+
"architecture": { "value": "arm64", "strategy": "external" },
|
| 45 |
+
"toolset": { "value": "host=x64", "strategy": "external" },
|
| 46 |
+
"cacheVariables": {
|
| 47 |
+
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-llvm.cmake"
|
| 48 |
+
}
|
| 49 |
+
},
|
| 50 |
+
|
| 51 |
+
{
|
| 52 |
+
"name": "arm64-apple-clang", "hidden": true,
|
| 53 |
+
"architecture": { "value": "arm64", "strategy": "external" },
|
| 54 |
+
"toolset": { "value": "host=x64", "strategy": "external" },
|
| 55 |
+
"cacheVariables": {
|
| 56 |
+
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-apple-clang.cmake"
|
| 57 |
+
}
|
| 58 |
+
},
|
| 59 |
+
|
| 60 |
+
{ "name": "arm64-windows-llvm-debug" , "inherits": [ "base", "arm64-windows-llvm", "debug" ] },
|
| 61 |
+
{ "name": "arm64-windows-llvm-release", "inherits": [ "base", "arm64-windows-llvm", "reldbg" ] },
|
| 62 |
+
{ "name": "arm64-windows-llvm+static-release", "inherits": [ "base", "arm64-windows-llvm", "reldbg", "static" ] },
|
| 63 |
+
|
| 64 |
+
{ "name": "arm64-apple-clang-debug" , "inherits": [ "base", "arm64-apple-clang", "debug" ] },
|
| 65 |
+
{ "name": "arm64-apple-clang-release" , "inherits": [ "base", "arm64-apple-clang", "reldbg" ] },
|
| 66 |
+
{ "name": "arm64-apple-clang+static-release" , "inherits": [ "base", "arm64-apple-clang", "reldbg", "static" ] },
|
| 67 |
+
|
| 68 |
+
{ "name": "arm64-windows-msvc-debug" , "inherits": [ "base", "arm64-windows-msvc", "debug" ] },
|
| 69 |
+
{ "name": "arm64-windows-msvc-release", "inherits": [ "base", "arm64-windows-msvc", "reldbg" ] },
|
| 70 |
+
{ "name": "arm64-windows-msvc+static-release", "inherits": [ "base", "arm64-windows-msvc", "reldbg", "static" ] },
|
| 71 |
+
|
| 72 |
+
{ "name": "x64-windows-msvc-debug" , "inherits": [ "base", "debug" ] },
|
| 73 |
+
{ "name": "x64-windows-msvc-release", "inherits": [ "base", "reldbg" ] },
|
| 74 |
+
{ "name": "x64-windows-msvc+static-release", "inherits": [ "base", "reldbg", "static" ] },
|
| 75 |
+
|
| 76 |
+
{ "name": "x64-windows-sycl-debug" , "inherits": [ "sycl-base", "debug" ] },
|
| 77 |
+
{ "name": "x64-windows-sycl-debug-f16", "inherits": [ "sycl-base", "debug", "sycl_f16" ] },
|
| 78 |
+
{ "name": "x64-windows-sycl-release", "inherits": [ "sycl-base", "release" ] },
|
| 79 |
+
{ "name": "x64-windows-sycl-release-f16", "inherits": [ "sycl-base", "release", "sycl_f16" ] }
|
| 80 |
+
]
|
| 81 |
+
}
|