The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
feat(local-runtime): pin llama.cpp b11671
emozillabc293c40b00b
diff --git a/hermes_cli/local_runtime/gguf.py b/hermes_cli/local_runtime/gguf.pyindex 3b7a31441bd..ab123484cde 100644--- a/hermes_cli/local_runtime/gguf.py+++ b/hermes_cli/local_runtime/gguf.py@@ -49,6 +49,9 @@ _GGML_TYPE_SIZES = {21: (110, 256), 22: (82, 256), 23: (136, 256), 24: (1, 1), 25: (2, 1),26: (4, 1), 27: (8, 1), 28: (8, 1), 29: (56, 256), 30: (2, 1),39: (17, 32), # MXFP4 — 32 elements per 17-byte block (gpt-oss family)+ 40: (36, 64), # NVFP4 — 4 E4M3 sub-block scales + 32 bytes of E2M1 (Nemotron 3.5 Bolt)+ 41: (18, 128), # Q1_0+ 42: (18, 64), # Q2_0}# GGUF metadata value types -> struct format; STRING (8) and ARRAY (9) are variable-length.diff --git a/pm/lock.json b/pm/lock.jsonindex 800fdda3890..780b8d195ab 100644--- a/pm/lock.json+++ b/pm/lock.json@@ -316,17 +316,17 @@"llamacpp-cpu": {"artifacts": {"darwin-arm64": {- "sha256": "9d7d074ca8db0c2233af760ca2ad89182a52c909abdcbfa3b94e27fb78de9355",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-macos-arm64.tar.gz"+ "sha256": "0f9c093f77b9c194f2f097df6204d9f5f8758968815e7db0374e98b0485ef9df",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-macos-arm64.tar.gz"},"darwin-x64": {- "sha256": "2bdcdc8936621840fc246198da8a7d4e87d2db58ae232c6126ee54b594be3746",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-macos-x64.tar.gz"+ "sha256": "d664a72c4c716e6fb0b90d4b2bf1c8dc2e6cff083cdbee26294fcc4f8d89366d",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-macos-x64.tar.gz"},"linux-arm64": [{- "sha256": "2589668b61f4b2a2baa1a860c45e3dbd75af89e3620340589929632d981d28f2",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-ubuntu-arm64.tar.gz"+ "sha256": "18709d3ae6152d486e8c4ef1f6768a15918a57a1ecf331315e0964d69b838525",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-ubuntu-arm64.tar.gz"},{"sha256": "c1719335234ccdef7558e97b37b1f6baf069911ce2f26d2789336051a7c929cd",@@ -335,8 +335,8 @@],"linux-x64": [{- "sha256": "1c86f91cb0e2bbf5bce7eae7c0ce6beb95137e41251b1dbb19839175d624d0cf",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-ubuntu-x64.tar.gz"+ "sha256": "e4120fe6742ce204891496deb95fa49453bdb400ed85807474dbe470f98d45bd",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-ubuntu-x64.tar.gz"},{"sha256": "8627999dd5f3d38473774ce7924a62af9a2840b2238bc52611e38257bc140b5d",@@ -344,26 +344,26 @@}],"win32-arm64": {- "sha256": "da7a253099f13567a9f6a9b7fe914f8dc677afd9135aed3109b273dfa14f0060",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-win-cpu-arm64.zip"+ "sha256": "80bae6519b3f8bd1e637789cbd3f65ce2112e60b50fb7f934fa1ef34e31f1b54",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-win-cpu-arm64.zip"},"win32-x64": {- "sha256": "e433a6b1592af1deedf001dcc1abc933e990be8dc94e5d28104c3c4406a1d35f",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-win-cpu-x64.zip"+ "sha256": "a9a407979a351add66016ffb558a53de8b6655fed1eec362591d66ea671fec81",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-win-cpu-x64.zip"}},- "version": "11370"+ "version": "11671"},"llamacpp-cuda": {"artifacts": {"linux-arm64": [{- "sha256": "d417ce88799fb5bca9a51b53c36585fec9d7a8e7415873424919af0cb64d33e2",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-ubuntu-cuda-13.4-arm64.tar.gz"+ "sha256": "8fc0aec7102cd409ffe5ede190d1033b7b8b99e59451b5341b5ff28d7b49bcf2",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-ubuntu-cuda-13.4-arm64.tar.gz"},{- "sha256": "204bbe1ec25f6927163b0a765e691f8530364af005c1e1633ef0845beb80f302",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/cudart-llama-b11370-bin-ubuntu-cuda-13.4-arm64.tar.gz"+ "sha256": "6ab33295c35d08bfecee9b661d61b128d1315fe54cb8628a274400e198f84d00",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/cudart-llama-b11671-bin-ubuntu-cuda-13.4-arm64.tar.gz"},{"sha256": "c1719335234ccdef7558e97b37b1f6baf069911ce2f26d2789336051a7c929cd",@@ -372,12 +372,12 @@],"linux-x64": [{- "sha256": "81ced34431758b1d1932cf7eb99852598c76bec1885009f4519ad4f54bb0159b",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-ubuntu-cuda-13.4-x64.tar.gz"+ "sha256": "af2fc371cc8a6ce772df19854c51dbcaad1800ed17ebf02d021a3fed444ca994",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-ubuntu-cuda-13.4-x64.tar.gz"},{- "sha256": "5b610baaf6ae4f86215610ecf248e4444ca1cbb50770d80350ba365a1dad1ce9",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/cudart-llama-b11370-bin-ubuntu-cuda-13.4-x64.tar.gz"+ "sha256": "b508877abc64d0773e3ecd2c5d43367fb9b3a864a2f21214cdb669a214f396eb",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/cudart-llama-b11671-bin-ubuntu-cuda-13.4-x64.tar.gz"},{"sha256": "8627999dd5f3d38473774ce7924a62af9a2840b2238bc52611e38257bc140b5d",@@ -386,33 +386,33 @@],"win32-arm64": [{- "sha256": "29e829e1343ea470d6700b90564b02a82e1ae5cff7307cdbca222ce794c19056",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-win-cuda-13.4-arm64.zip"+ "sha256": "565549012530e481632e441c7a88b7c170717e4d4cda13c448cc44b7bf89b13f",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-win-cuda-13.4-arm64.zip"},{"sha256": "642dcde8805b3e3165ca710a5443b3b4044b27d96bd3ee3132473988c9bcb774",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/cudart-llama-bin-win-cuda-13.4-arm64.zip"+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/cudart-llama-bin-win-cuda-13.4-arm64.zip"}],"win32-x64": [{- "sha256": "05a1e951d7eb3fb32a8159b6f6dc06f5e8f681154b57369d585ae4100bae4999",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-win-cuda-13.4-x64.zip"+ "sha256": "e1aef5883990f5ca4a71d9733f53538ddcb907bbb27e905bf39e148e0daa46eb",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-win-cuda-13.4-x64.zip"},{"sha256": "738f8c251ac22b70c3ae6f83a10cf222725df0395246a2cf58f32bdb85fbe668",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/cudart-llama-bin-win-cuda-13.4-x64.zip"+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/cudart-llama-bin-win-cuda-13.4-x64.zip"}]},- "version": "11370"+ "version": "11671"},"llamacpp-hip": {"artifacts": {"linux-x64": [{- "sha256": "29725bca551c9275156860410fe5c550b85dfc684aeac7eaf09f175d13a565d0",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-ubuntu-rocm-10.0-x64.tar.gz"+ "sha256": "e5f4edae147c7067ff46a804660547d291bdbab073e00fce0a07434255a43000",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-ubuntu-rocm-10.0-x64.tar.gz"},{"sha256": "8627999dd5f3d38473774ce7924a62af9a2840b2238bc52611e38257bc140b5d",@@ -420,31 +420,31 @@}],"win32-x64": {- "sha256": "86e6d2354a6752ed0ae8adbd697f5e0b7a9847b0d568c661e95b44450a9fd010",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-win-rocm-10.0-x64.zip"+ "sha256": "8fccdbf3081ba8140daaea20b6aaa31b9f16300487d274b32dc6ab94456e7300",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-win-rocm-10.0-x64.zip"}},- "version": "11370"+ "version": "11671"},"llamacpp-metal": {"artifacts": {"darwin-arm64": {- "sha256": "9d7d074ca8db0c2233af760ca2ad89182a52c909abdcbfa3b94e27fb78de9355",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-macos-arm64.tar.gz"+ "sha256": "0f9c093f77b9c194f2f097df6204d9f5f8758968815e7db0374e98b0485ef9df",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-macos-arm64.tar.gz"},"darwin-x64": {- "sha256": "2bdcdc8936621840fc246198da8a7d4e87d2db58ae232c6126ee54b594be3746",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-macos-x64.tar.gz"+ "sha256": "d664a72c4c716e6fb0b90d4b2bf1c8dc2e6cff083cdbee26294fcc4f8d89366d",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-macos-x64.tar.gz"}},- "version": "11370"+ "version": "11671"},"llamacpp-vulkan": {"artifacts": {"linux-arm64": [{- "sha256": "cb8ab033dd9565e0d82aa3b6c407527966661d8a1736ae083c417338025d4e9d",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-ubuntu-vulkan-arm64.tar.gz"+ "sha256": "9d03bf6bbb5f5debb5901730bda5cfffa4a150bc42aa0eda48fd606a25f7de82",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-ubuntu-vulkan-arm64.tar.gz"},{"sha256": "c1719335234ccdef7558e97b37b1f6baf069911ce2f26d2789336051a7c929cd",@@ -453,8 +453,8 @@],"linux-x64": [{- "sha256": "46bb8add9cf46dee199692cf7852927758d7b2ad663949d81c8c80974032a398",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-ubuntu-vulkan-x64.tar.gz"+ "sha256": "fb449c1564dda0cdbfcc68d46bf9929b337e41fe76d5c512877cdec62c487cf3",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-ubuntu-vulkan-x64.tar.gz"},{"sha256": "8627999dd5f3d38473774ce7924a62af9a2840b2238bc52611e38257bc140b5d",@@ -462,11 +462,11 @@}],"win32-x64": {- "sha256": "29af812c5789905ecfdb4c43a9d098983cbfdd26ea0be113b401af41438e3e01",- "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11370/llama-b11370-bin-win-vulkan-x64.zip"+ "sha256": "53758a131e48b51b284a41cec997a89446286b90340dd30f33f7e2532d1b7195",+ "url": "https://github.com/ggml-org/llama.cpp/releases/download/b11671/llama-b11671-bin-win-vulkan-x64.zip"}},- "version": "11370"+ "version": "11671"},"node": {"artifacts": {diff --git a/tests/hermes_cli/test_local_runtime_gguf.py b/tests/hermes_cli/test_local_runtime_gguf.pyindex 79494de7917..a806f166ace 100644--- a/tests/hermes_cli/test_local_runtime_gguf.py+++ b/tests/hermes_cli/test_local_runtime_gguf.py@@ -5,6 +5,8 @@ from __future__ import annotationsimport reimport struct+import pytest+from hermes_cli.local_runtime.context_policy import spill_overridesfrom hermes_cli.local_runtime.estimator import profile_from_gguffrom hermes_cli.local_runtime.gguf import read_gguf_header@@ -71,3 +73,23 @@ def test_reader_sizes_mxfp4_tensor_blocks(tmp_path):assert header.tensor_bytes == 34assert header.embd_table_bytes == header.tensor_bytes++[email protected](("ggml_type", "elems", "expected"), [+ (40, 128, 72), # NVFP4: 64 elements per block, 4 E4M3 scales + 32 bytes of 4-bit values+ (41, 256, 36), # Q1_0: 128 elements per block, an f16 scale + 16 bytes of bits+ (42, 128, 36), # Q2_0: 64 elements per block, an f16 scale + 16 bytes of 2-bit values+])+def test_reader_sizes_ggml_types_added_after_mxfp4(tmp_path, ggml_type, elems, expected):+ """Nemotron 3.5 Bolt stores its SSM projections as NVFP4; an unknown type refuses the model."""+ name = b"blk.0.ssm_in.weight"+ gguf = tmp_path / "bolt.gguf"+ gguf.write_bytes(+ b"GGUF"+ + struct.pack("<IQQ", 3, 1, 0)+ + struct.pack("<Q", len(name))+ + name+ + struct.pack("<IQIQ", 1, elems, ggml_type, 0)+ )++ assert read_gguf_header(gguf).tensor_bytes == expected