Files
neuron-tai/packages/node/native/llama/UPSTREAM_LOCK.json

92 lines
3.5 KiB
JSON

{
"schema_version": 1,
"upstream": "https://github.com/ggml-org/llama.cpp.git",
"commit": "e920c523e3b8a0163fe498af5bf90df35ff51d25",
"commit_tree": "6c91a11407a3a3fb160f5dac705f9c59718f54f1",
"expected_source": {
"git_tree": "6c91a11407a3a3fb160f5dac705f9c59718f54f1"
},
"retrieval": {
"method": "git-clone-detached-commit",
"workspace": "build/llama.cpp"
},
"patched_tree": "8f7e87fea6743f0b9744afe44f9e6f9ca3b7d08a",
"upstream_license": "MIT",
"patch_series": [
"0001-cmake-reserve-meshnet-patch-stack-abi-marker.patch",
"0002-dense-llama-owned-range-loading.patch",
"0003-owned-range-filtered-state-report.patch",
"0004-dense-boundary-io-endpoint-guard.patch",
"0005-worker-range-report-hook.patch",
"0006-meshnet-range-report-tool.patch"
],
"patch_scope": [
"Reserved CMake ABI marker only; no execution or model semantics.",
"Range loading: dense-Llama owned-range params, validation, and filtered tensor registration with endpoint ownership.",
"Filtered state: owned-range report populated from registered tensors and backend buffers, derived never asserted.",
"Boundary I/O: endpoint ownership flags and a fail-closed dense graph guard until typed endpoint adapters exist.",
"Worker hooks: public C range-report API and the model-free native fixture test the project-owned worker binds to.",
"Range reporting: project-owned tool that loads one artifact through the owned-range loader and reports derived ownership and buffer-byte state as JSON."
],
"patch_assumptions": "patches/UPSTREAM-ASSUMPTIONS.json",
"build": {
"generator": "Unix Makefiles",
"cmake_minimum": "3.14",
"cxx_standard": "17",
"configure_flags": [
"-DCMAKE_BUILD_TYPE=Release",
"-DLLAMA_BUILD_TESTS=ON",
"-DLLAMA_BUILD_EXAMPLES=ON",
"-DLLAMA_BUILD_SERVER=OFF",
"-DLLAMA_BUILD_TOOLS=OFF",
"-DLLAMA_BUILD_APP=OFF",
"-DLLAMA_CURL=OFF",
"-DGGML_CPU=ON",
"-DGGML_BLAS=OFF",
"-DGGML_CUDA=OFF",
"-DGGML_HIP=OFF",
"-DGGML_VULKAN=OFF",
"-DGGML_METAL=OFF"
],
"native_targets": ["llama-gguf-hash", "test-meshnet-range-ownership", "meshnet-range-report"],
"smoke_binary": "bin/llama-gguf-hash",
"smoke_args": ["--help"],
"smoke_output_token": "usage",
"ctest_regex": "^test-meshnet-range-ownership$"
},
"accelerator_presets": {
"cuda": {
"backend_flag": "GGML_CUDA",
"sdk_probe": {"binary": "nvcc", "env_var": "CUDACXX"}
},
"rocm": {
"backend_flag": "GGML_HIP",
"sdk_probe": {"binary": "hipcc", "env_var": "HIPCXX"}
},
"vulkan": {
"backend_flag": "GGML_VULKAN",
"sdk_probe": {"binary": "glslc", "env_var": "VULKAN_SDK_GLSLC"}
},
"metal": {
"backend_flag": "GGML_METAL",
"sdk_probe": {"binary": "xcrun", "platform_only": "darwin"}
}
},
"required_upstream_blobs": {
"CMakeLists.txt": "81f23d7e70b7378511af5d01be680c03aebc2b15"
},
"patched_paths": [
"CMakeLists.txt",
"cmake/meshnet-patch-stack.cmake",
"include/llama.h",
"src/llama-model.cpp",
"src/llama-model.h",
"src/models/llama.cpp",
"tests/CMakeLists.txt",
"tests/test-meshnet-range-ownership.cpp",
"tools/meshnet-range-report/CMakeLists.txt",
"tools/meshnet-range-report/meshnet-range-report.cpp"
],
"stock_glm_limitations": "This pin may load GLM-5.2 through the dense-MLA compatibility fallback. It does not prove native DSA, IndexShare, MoE semantic correctness, numerical equivalence, performance, or route certification."
}