Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
fix(llama): serialize Linux Xe-LPG Vulkan submissions
Xiaomeng Zhao1681c8e916ed
diff --git a/docs/next/benchmarks/llama-ultra225h-advanced-cpu4-linux-20261022.json b/docs/next/benchmarks/llama-ultra225h-advanced-cpu4-linux-20261022.jsonnew file mode 100644index 00000000..6af6b903--- /dev/null+++ b/docs/next/benchmarks/llama-ultra225h-advanced-cpu4-linux-20261022.json@@ -0,0 +1,327 @@+{+ "schema_version": 1,+ "date": "2026-10-22",+ "cpu": "Intel Core Ultra 5 225H",+ "manifest": {+ "date": "2026-10-22",+ "git_head": "345f630eb1710ff4d36b2b33c96fece3f54bfb5b",+ "input_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "config_sha256_before": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99",+ "native_package": "/home/myhloli/PycharmProjects/mineru/Magic-PDF/.venv/lib/python3.14/site-packages/mineru_llama_cpp",+ "llama_cpp_commit": "86a283532072722c5f3363d37d59a874d09fa99b",+ "cpu_library_sha256": "74e41d91d707fef5991e301f740995a421b6f0eb0e293acf868a6d3f8f80cca4",+ "protocol": "Three sequential CPU4 runs; fresh process per run; no explicit warmup or inference timeout; existing OS/shader caches. llama.cpp CPU, explicit n_threads=4, native INFO logging; ONNX CPU 4/1; no CPU affinity pinning. Ignored source copy changes only these two Engine arguments.",+ "config_sha256_after": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99"+ },+ "source_diff": "diff --git a/mineru/model/vlm/runtime.py b/home/myhloli/PycharmProjects/mineru/Magic-PDF/demo/output/ultra225h-advanced-cpu4-20261022/source/mineru/model/vlm/runtime.py\nindex 968e9c40..dfa510a5 100644\n--- a/mineru/model/vlm/runtime.py\n+++ b/home/myhloli/PycharmProjects/mineru/Magic-PDF/demo/output/ultra225h-advanced-cpu4-20261022/source/mineru/model/vlm/runtime.py\n@@ -182,6 +182,8 @@ class ModelSingleton:\n except ImportError:\n raise ImportError(\"Please install mineru-llama-cpp to use the llama-cpp-engine backend.\")\n with llama_engine_scope(selection):\n+ engine_kwargs[\"n_threads\"] = 4\n+ engine_kwargs[\"verbosity\"] = 3\n llama_cpp_engine = Engine(model_gguf, mmproj_gguf, **engine_kwargs)\n \n elif backend == \"transformers\":\n",+ "measurement": "Wall time of parse includes model initialization and inference, excludes exporting result files. Four llama.cpp threads including inherited batch threads; ONNX CPU 4/1. No CPU affinity pinning or inference timeout.",+ "runs": [+ {+ "label": "round-1-cpu4",+ "round": 1,+ "serialize": false,+ "pid": 48789,+ "returncode": 0,+ "process_wall_s": 119.35585366800024,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "62050",+ "/sys/class/thermal/thermal_zone12/temp": "62000",+ "/sys/class/thermal/thermal_zone7/temp": "44050",+ "/sys/class/thermal/thermal_zone10/temp": "62000",+ "/sys/class/thermal/thermal_zone5/temp": "47050",+ "/sys/class/thermal/thermal_zone3/temp": "49050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "38050",+ "/sys/class/thermal/thermal_zone11/temp": "42000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "44050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "76050",+ "/sys/class/thermal/thermal_zone12/temp": "76000",+ "/sys/class/thermal/thermal_zone7/temp": "56050",+ "/sys/class/thermal/thermal_zone10/temp": "77000",+ "/sys/class/thermal/thermal_zone5/temp": "61050",+ "/sys/class/thermal/thermal_zone3/temp": "69050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "46050",+ "/sys/class/thermal/thermal_zone11/temp": "45000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "54050"+ },+ "policy_logs": [+ "2026-10-22 13:10:35.872 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 13:10:36.596 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: cpu (explicit_cpu)"+ ],+ "kernel": "-- No entries --\n",+ "native_threads": [+ 4+ ],+ "inference_s": 116.629914,+ "result": {+ "llama_device": "cpu",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": 4,+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 48789,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "mineru_source": "/home/myhloli/PycharmProjects/mineru/Magic-PDF/demo/output/ultra225h-advanced-cpu4-20261022/source/mineru/__init__.py",+ "parse_wall_s": 118.65697742199973,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 19,+ "markdown_chars": 3653,+ "markdown_sha256": "c82d0247514aacdad383aa5e3f30a11802cf37275b248326b21984d111b4609f",+ "title_present": true,+ "semantic_pages_sha256": "427e5612f1a7e5762f7d32ab5852af11510f492e5b3db292c6191ce54a2cc396",+ "completed": true+ },+ "equal_cpu2_reference": true,+ "equal_reference_ignoring_whitespace": true,+ "markdown_diff_vs_reference": [],+ "invalid_layout_warning": false,+ "truncated_output_warning": false+ },+ {+ "label": "round-2-cpu4",+ "round": 2,+ "serialize": false,+ "pid": 49028,+ "returncode": 0,+ "process_wall_s": 120.99811609500011,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "78050",+ "/sys/class/thermal/thermal_zone12/temp": "78000",+ "/sys/class/thermal/thermal_zone7/temp": "56050",+ "/sys/class/thermal/thermal_zone10/temp": "78000",+ "/sys/class/thermal/thermal_zone5/temp": "61050",+ "/sys/class/thermal/thermal_zone3/temp": "69050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "46050",+ "/sys/class/thermal/thermal_zone11/temp": "45000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "54050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "76050",+ "/sys/class/thermal/thermal_zone12/temp": "76000",+ "/sys/class/thermal/thermal_zone7/temp": "56050",+ "/sys/class/thermal/thermal_zone10/temp": "76000",+ "/sys/class/thermal/thermal_zone5/temp": "59050",+ "/sys/class/thermal/thermal_zone3/temp": "66050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "46050",+ "/sys/class/thermal/thermal_zone11/temp": "49000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "56050"+ },+ "policy_logs": [+ "2026-10-22 13:12:35.209 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 13:12:35.903 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: cpu (explicit_cpu)"+ ],+ "kernel": "-- No entries --\n",+ "native_threads": [+ 4+ ],+ "inference_s": 118.306624,+ "result": {+ "llama_device": "cpu",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": 4,+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 49028,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "mineru_source": "/home/myhloli/PycharmProjects/mineru/Magic-PDF/demo/output/ultra225h-advanced-cpu4-20261022/source/mineru/__init__.py",+ "parse_wall_s": 120.3053540890005,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 19,+ "markdown_chars": 3653,+ "markdown_sha256": "c82d0247514aacdad383aa5e3f30a11802cf37275b248326b21984d111b4609f",+ "title_present": true,+ "semantic_pages_sha256": "427e5612f1a7e5762f7d32ab5852af11510f492e5b3db292c6191ce54a2cc396",+ "completed": true+ },+ "equal_cpu2_reference": true,+ "equal_reference_ignoring_whitespace": true,+ "markdown_diff_vs_reference": [],+ "invalid_layout_warning": false,+ "truncated_output_warning": false+ },+ {+ "label": "round-3-cpu4",+ "round": 3,+ "serialize": false,+ "pid": 49238,+ "returncode": 0,+ "process_wall_s": 119.348868907,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "76050",+ "/sys/class/thermal/thermal_zone12/temp": "76000",+ "/sys/class/thermal/thermal_zone7/temp": "56050",+ "/sys/class/thermal/thermal_zone10/temp": "76000",+ "/sys/class/thermal/thermal_zone5/temp": "59050",+ "/sys/class/thermal/thermal_zone3/temp": "66050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "46050",+ "/sys/class/thermal/thermal_zone11/temp": "49000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "56050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "77050",+ "/sys/class/thermal/thermal_zone12/temp": "77000",+ "/sys/class/thermal/thermal_zone7/temp": "56050",+ "/sys/class/thermal/thermal_zone10/temp": "77000",+ "/sys/class/thermal/thermal_zone5/temp": "59050",+ "/sys/class/thermal/thermal_zone3/temp": "66050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "46050",+ "/sys/class/thermal/thermal_zone11/temp": "47000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "57050"+ },+ "policy_logs": [+ "2026-10-22 13:14:36.237 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 13:14:36.958 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: cpu (explicit_cpu)"+ ],+ "kernel": "-- No entries --\n",+ "native_threads": [+ 4+ ],+ "inference_s": 116.596986,+ "result": {+ "llama_device": "cpu",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": 4,+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 49238,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "mineru_source": "/home/myhloli/PycharmProjects/mineru/Magic-PDF/demo/output/ultra225h-advanced-cpu4-20261022/source/mineru/__init__.py",+ "parse_wall_s": 118.64710048500001,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 19,+ "markdown_chars": 3653,+ "markdown_sha256": "c82d0247514aacdad383aa5e3f30a11802cf37275b248326b21984d111b4609f",+ "title_present": true,+ "semantic_pages_sha256": "427e5612f1a7e5762f7d32ab5852af11510f492e5b3db292c6191ce54a2cc396",+ "completed": true+ },+ "equal_cpu2_reference": true,+ "equal_reference_ignoring_whitespace": true,+ "markdown_diff_vs_reference": [],+ "invalid_layout_warning": false,+ "truncated_output_warning": false+ }+ ],+ "statistics": {+ "parse_samples_s": [+ 118.65697742199973,+ 120.3053540890005,+ 118.64710048500001+ ],+ "median_s": 118.65697742199973,+ "mean_s": 119.20314399866675,+ "min_s": 118.64710048500001,+ "max_s": 120.3053540890005,+ "inference_samples_s": [+ 116.629914,+ 118.306624,+ 116.596986+ ],+ "inference_median_s": 116.629914+ },+ "markdown_all_identical": true,+ "semantic_pages_all_identical": true,+ "all_match_cpu2_reference_ignoring_whitespace": true,+ "raw_artifact_directory": "demo/output/ultra225h-advanced-cpu4-20261022",+ "limits": "Three runs on one page/device, existing OS caches. GPU timings from earlier runs are contextual references, not a paired contemporaneous comparison."+}diff --git a/docs/next/benchmarks/llama-ultra225h-advanced-off-repeat-linux-20261022.json b/docs/next/benchmarks/llama-ultra225h-advanced-off-repeat-linux-20261022.jsonnew file mode 100644index 00000000..19aad506--- /dev/null+++ b/docs/next/benchmarks/llama-ultra225h-advanced-off-repeat-linux-20261022.json@@ -0,0 +1,603 @@+{+ "schema_version": 1,+ "date": "2026-10-22",+ "cpu": "Intel Core Ultra 5 225H",+ "gpu": "Intel Graphics (ARL), 8086:7d51",+ "driver": "i915 / Mesa26.0.8-1ubuntu0.3",+ "kernel": "7.0.0-38-generic",+ "manifest": {+ "date": "2026-10-22",+ "git_head": "345f630eb1710ff4d36b2b33c96fece3f54bfb5b",+ "input_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "config_sha256_before": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99",+ "native_package": "/home/myhloli/PycharmProjects/mineru/Magic-PDF/.venv/lib/python3.14/site-packages/mineru_llama_cpp",+ "llama_cpp_commit": "86a283532072722c5f3363d37d59a874d09fa99b",+ "vulkan_library_sha256": "64aeab1c69de0d2c84003632a3e7cc3d76e4f53ee2f8a8239d1cf8dcf3ca76a8",+ "protocol": "Five repetitions, GGML_VK_SERIALIZE_SUBMISSIONS completely absent; fresh process per run; no explicit warmup or inference timeout; existing OS/shader caches. GPU Vulkan forced; ONNX CPU 4/1; all other settings unchanged.",+ "config_sha256_after": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99"+ },+ "runs": [+ {+ "label": "round-1-off",+ "round": 1,+ "serialize": false,+ "pid": 45496,+ "returncode": 0,+ "process_wall_s": 98.01925434999976,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "69050",+ "/sys/class/thermal/thermal_zone12/temp": "69000",+ "/sys/class/thermal/thermal_zone7/temp": "44050",+ "/sys/class/thermal/thermal_zone10/temp": "69000",+ "/sys/class/thermal/thermal_zone5/temp": "46050",+ "/sys/class/thermal/thermal_zone3/temp": "47050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "38050",+ "/sys/class/thermal/thermal_zone11/temp": "45000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "45050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "76050",+ "/sys/class/thermal/thermal_zone12/temp": "76000",+ "/sys/class/thermal/thermal_zone7/temp": "52050",+ "/sys/class/thermal/thermal_zone10/temp": "76000",+ "/sys/class/thermal/thermal_zone5/temp": "58050",+ "/sys/class/thermal/thermal_zone3/temp": "59050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "42050",+ "/sys/class/thermal/thermal_zone11/temp": "46000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "50050"+ },+ "policy_logs": [+ "2026-10-22 12:43:45.716 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 12:43:46.736 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "kernel": "-- No entries --\n",+ "inference_s": 94.941808,+ "result": {+ "llama_device": "vulkan",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 45496,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 97.352642328,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 19,+ "markdown_chars": 3652,+ "markdown_sha256": "559ffd6a9c184d6e69a93411ece7b0b1148cd77a4543dfdea22dfe82a3b79980",+ "title_present": true,+ "semantic_pages_sha256": "8ddb4e9c29258376fc3f75c0ed5b3310b02e13e0383755d87459d1f576eff3c4",+ "completed": true+ },+ "kernel_gpu_errors": false,+ "output_truncated_warning": false,+ "invalid_layout_warning": false,+ "markdown_equal_cpu": false,+ "markdown_equal_cpu_ignoring_whitespace": true,+ "markdown_diff_vs_cpu": [+ "--- \n",+ "+++ \n",+ "@@ -2,7 +2,7 @@\n",+ " ",+ " Patrick N.J. Lane $^{a,c,*}$ , Alice E. Best $^{b,c,d}$ , Klaus Hickel $^{b,c}$ , Lu Zhang $^{b,c}$",+ " ",+ "-$^{a}$ School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ "+$^{a}$School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ " ",+ " $^{b}$ CSIRO Division of Land and Water, Canberra, ACT, Australia",+ " "+ ],+ "outcome": "valid_completed"+ },+ {+ "label": "round-2-off",+ "round": 2,+ "serialize": false,+ "pid": 45680,+ "returncode": 0,+ "process_wall_s": 100.45254317299987,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "74050",+ "/sys/class/thermal/thermal_zone12/temp": "74000",+ "/sys/class/thermal/thermal_zone7/temp": "52050",+ "/sys/class/thermal/thermal_zone10/temp": "74000",+ "/sys/class/thermal/thermal_zone5/temp": "58050",+ "/sys/class/thermal/thermal_zone3/temp": "59050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "42050",+ "/sys/class/thermal/thermal_zone11/temp": "46000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "50050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "73050",+ "/sys/class/thermal/thermal_zone12/temp": "73000",+ "/sys/class/thermal/thermal_zone7/temp": "54050",+ "/sys/class/thermal/thermal_zone10/temp": "73000",+ "/sys/class/thermal/thermal_zone5/temp": "59050",+ "/sys/class/thermal/thermal_zone3/temp": "60050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "44050",+ "/sys/class/thermal/thermal_zone11/temp": "44000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "53050"+ },+ "policy_logs": [+ "2026-10-22 12:45:23.754 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 12:45:24.768 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "kernel": "-- No entries --\n",+ "inference_s": 97.307738,+ "result": {+ "llama_device": "vulkan",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 45680,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 99.73610127199936,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 19,+ "markdown_chars": 3652,+ "markdown_sha256": "559ffd6a9c184d6e69a93411ece7b0b1148cd77a4543dfdea22dfe82a3b79980",+ "title_present": true,+ "semantic_pages_sha256": "8ddb4e9c29258376fc3f75c0ed5b3310b02e13e0383755d87459d1f576eff3c4",+ "completed": true+ },+ "kernel_gpu_errors": false,+ "output_truncated_warning": false,+ "invalid_layout_warning": false,+ "markdown_equal_cpu": false,+ "markdown_equal_cpu_ignoring_whitespace": true,+ "markdown_diff_vs_cpu": [+ "--- \n",+ "+++ \n",+ "@@ -2,7 +2,7 @@\n",+ " ",+ " Patrick N.J. Lane $^{a,c,*}$ , Alice E. Best $^{b,c,d}$ , Klaus Hickel $^{b,c}$ , Lu Zhang $^{b,c}$",+ " ",+ "-$^{a}$ School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ "+$^{a}$School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ " ",+ " $^{b}$ CSIRO Division of Land and Water, Canberra, ACT, Australia",+ " "+ ],+ "outcome": "valid_completed"+ },+ {+ "label": "round-3-off",+ "round": 3,+ "serialize": false,+ "pid": 45898,+ "returncode": 0,+ "process_wall_s": 97.50799965099941,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "74050",+ "/sys/class/thermal/thermal_zone12/temp": "74000",+ "/sys/class/thermal/thermal_zone7/temp": "54050",+ "/sys/class/thermal/thermal_zone10/temp": "71000",+ "/sys/class/thermal/thermal_zone5/temp": "59050",+ "/sys/class/thermal/thermal_zone3/temp": "60050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "44050",+ "/sys/class/thermal/thermal_zone11/temp": "44000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "53050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "72050",+ "/sys/class/thermal/thermal_zone12/temp": "72000",+ "/sys/class/thermal/thermal_zone7/temp": "54050",+ "/sys/class/thermal/thermal_zone10/temp": "72000",+ "/sys/class/thermal/thermal_zone5/temp": "59050",+ "/sys/class/thermal/thermal_zone3/temp": "60050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "44050",+ "/sys/class/thermal/thermal_zone11/temp": "46000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "54050"+ },+ "policy_logs": [+ "2026-10-22 12:47:04.231 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 12:47:05.250 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "kernel": "-- No entries --\n",+ "inference_s": 94.375618,+ "result": {+ "llama_device": "vulkan",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 45898,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 96.81347681900024,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 19,+ "markdown_chars": 3652,+ "markdown_sha256": "559ffd6a9c184d6e69a93411ece7b0b1148cd77a4543dfdea22dfe82a3b79980",+ "title_present": true,+ "semantic_pages_sha256": "8ddb4e9c29258376fc3f75c0ed5b3310b02e13e0383755d87459d1f576eff3c4",+ "completed": true+ },+ "kernel_gpu_errors": false,+ "output_truncated_warning": false,+ "invalid_layout_warning": false,+ "markdown_equal_cpu": false,+ "markdown_equal_cpu_ignoring_whitespace": true,+ "markdown_diff_vs_cpu": [+ "--- \n",+ "+++ \n",+ "@@ -2,7 +2,7 @@\n",+ " ",+ " Patrick N.J. Lane $^{a,c,*}$ , Alice E. Best $^{b,c,d}$ , Klaus Hickel $^{b,c}$ , Lu Zhang $^{b,c}$",+ " ",+ "-$^{a}$ School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ "+$^{a}$School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ " ",+ " $^{b}$ CSIRO Division of Land and Water, Canberra, ACT, Australia",+ " "+ ],+ "outcome": "valid_completed"+ },+ {+ "label": "round-4-off",+ "round": 4,+ "serialize": false,+ "pid": 46069,+ "returncode": 0,+ "process_wall_s": 100.70363393000025,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "77050",+ "/sys/class/thermal/thermal_zone12/temp": "77000",+ "/sys/class/thermal/thermal_zone7/temp": "54050",+ "/sys/class/thermal/thermal_zone10/temp": "74000",+ "/sys/class/thermal/thermal_zone5/temp": "59050",+ "/sys/class/thermal/thermal_zone3/temp": "60050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "44050",+ "/sys/class/thermal/thermal_zone11/temp": "46000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "54050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "0",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "72050",+ "/sys/class/thermal/thermal_zone12/temp": "72000",+ "/sys/class/thermal/thermal_zone7/temp": "55050",+ "/sys/class/thermal/thermal_zone10/temp": "72000",+ "/sys/class/thermal/thermal_zone5/temp": "60050",+ "/sys/class/thermal/thermal_zone3/temp": "60050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "45050",+ "/sys/class/thermal/thermal_zone11/temp": "47000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "55050"+ },+ "policy_logs": [+ "2026-10-22 12:48:41.750 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 12:48:42.752 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "kernel": "-- No entries --\n",+ "inference_s": 97.627386,+ "result": {+ "llama_device": "vulkan",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 46069,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 100.01323664300071,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 19,+ "markdown_chars": 3652,+ "markdown_sha256": "559ffd6a9c184d6e69a93411ece7b0b1148cd77a4543dfdea22dfe82a3b79980",+ "title_present": true,+ "semantic_pages_sha256": "8ddb4e9c29258376fc3f75c0ed5b3310b02e13e0383755d87459d1f576eff3c4",+ "completed": true+ },+ "kernel_gpu_errors": false,+ "output_truncated_warning": false,+ "invalid_layout_warning": false,+ "markdown_equal_cpu": false,+ "markdown_equal_cpu_ignoring_whitespace": true,+ "markdown_diff_vs_cpu": [+ "--- \n",+ "+++ \n",+ "@@ -2,7 +2,7 @@\n",+ " ",+ " Patrick N.J. Lane $^{a,c,*}$ , Alice E. Best $^{b,c,d}$ , Klaus Hickel $^{b,c}$ , Lu Zhang $^{b,c}$",+ " ",+ "-$^{a}$ School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ "+$^{a}$School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ " ",+ " $^{b}$ CSIRO Division of Land and Water, Canberra, ACT, Australia",+ " "+ ],+ "outcome": "valid_completed"+ },+ {+ "label": "round-5-off",+ "round": 5,+ "serialize": false,+ "pid": 46241,+ "returncode": 0,+ "process_wall_s": 373.73254976499993,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "0",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "74050",+ "/sys/class/thermal/thermal_zone12/temp": "74000",+ "/sys/class/thermal/thermal_zone7/temp": "55050",+ "/sys/class/thermal/thermal_zone10/temp": "74000",+ "/sys/class/thermal/thermal_zone5/temp": "60050",+ "/sys/class/thermal/thermal_zone3/temp": "60050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "45050",+ "/sys/class/thermal/thermal_zone11/temp": "47000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "55050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "72050",+ "/sys/class/thermal/thermal_zone12/temp": "72000",+ "/sys/class/thermal/thermal_zone7/temp": "54050",+ "/sys/class/thermal/thermal_zone10/temp": "72000",+ "/sys/class/thermal/thermal_zone5/temp": "58050",+ "/sys/class/thermal/thermal_zone3/temp": "59050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "45050",+ "/sys/class/thermal/thermal_zone11/temp": "50000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "56050"+ },+ "policy_logs": [+ "2026-10-22 12:50:22.468 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 12:50:23.498 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "kernel": "2026-10-22T12:50:46+08:00 myhloli-ubuntu-ssd kernel: Fence expiration time out i915-0000:00:02.0:python[46241]:63a!\n2026-10-22T12:50:46+08:00 myhloli-ubuntu-ssd kernel: Fence expiration time out i915-0000:00:02.0:python[46241]:638!\n",+ "inference_s": 370.625085,+ "result": {+ "llama_device": "vulkan",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 46241,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 373.0865541989997,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 0,+ "markdown_chars": 0,+ "markdown_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",+ "title_present": false,+ "semantic_pages_sha256": "df5746d63f12be2ea79ed44f8da3ac557bfa76b121b9d9300775f28f0459a9b7",+ "completed": true+ },+ "kernel_gpu_errors": true,+ "output_truncated_warning": true,+ "invalid_layout_warning": true,+ "invalid_layout_excerpt": " THE MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEANAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEA",+ "invalid_layout_characters": 19894,+ "markdown_equal_cpu": false,+ "markdown_equal_cpu_ignoring_whitespace": false,+ "markdown_diff_vs_cpu": [+ "--- \n",+ "+++ \n",+ "@@ -1,23 +0,0 @@\n",+ "-# The response of flow duration curves to afforestation",+ "-",+ "-Patrick N.J. Lane $^{a,c,*}$ , Alice E. Best $^{b,c,d}$ , Klaus Hickel $^{b,c}$ , Lu Zhang $^{b,c}$",+ "-",+ "-$^{a}$ School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ "-",+ "-$^{b}$ CSIRO Division of Land and Water, Canberra, ACT, Australia",+ "-",+ "-$^{c}$ Cooperative Research Centre for Catchment Hydrology, Canberra, ACT, Australia",+ "-",+ "-$^{d}$ Department of Civil and Environmental Engineering, University of Melbourne, Victoria, Australia",+ "-",+ "-Received 1 October 2003; revised 22 December 2004; accepted 3 January 2005",+ "-",+ "-## Abstract",+ "-",+ "-The hydrologic effect of replacing pasture or other short crops with trees is reasonably well understood on a mean annual basis. The impact on flow regime, as described by the annual flow duration curve (FDC) is less certain. A method to assess the impact of plantation establishment on FDCs was developed. The starting point for the analyses was the assumption that rainfall and vegetation age are the principal drivers of evapotranspiration. A key objective was to remove the variability in the rainfall signal, leaving changes in streamflow solely attributable to the evapotranspiration of the plantation. A method was developed to (1) fit a model to the observed annual time series of FDC percentiles; i.e. 10th percentile for each year of record with annual rainfall and plantation age as parameters, (2) replace the annual rainfall variation with the long term mean to obtain climate adjusted FDCs, and (3) quantify changes in FDC percentiles as plantations age. Data from 10 catchments from Australia, South Africa and New Zealand were used. The model was able to represent flow variation for the majority of percentiles at eight of the 10 catchments, particularly for the 10–50th percentiles. The adjusted FDCs revealed variable patterns in flow reductions with two types of responses (groups) being identified. Group 1 catchments show a substantial increase in the number of zero flow days, with low flows being more affected than high flows. Group 2 catchments show a more uniform reduction in flows across all percentiles. The differences may be partly explained by storage characteristics. The modelled flow reductions were in accord with published results of paired catchment experiments. An additional analysis was performed to characterise the impact of afforestation on the number of zero flow days ( $N_{zero}$ ) for the catchments in group 1. This model performed particularly well, and when adjusted for climate, indicated a significant increase in $N_{zero}$ . The zero flow day method could be used to determine change in the occurrence of any given flow in response to afforestation. The methods used in this study proved satisfactory in removing the rainfall variability, and have added useful insight into the hydrologic impacts of plantation establishment. This approach provides a methodology for understanding catchment response to afforestation, where paired catchment data is not available. © 2005 Elsevier B.V. All rights reserved.",+ "-",+ "-Keywords: Afforestation; Flow duration curves; Flow reduction; Paired catchments",+ "-",+ "-<small><span class=\"docvortex-page-footnote\" data-block-type=\"page_footnote\" style=\"color:#6b7280\">\\* Corresponding author. Address: Forest Science Centre, Department of Sustainability and Environment, P.O. Box 137, Heidelberg, Vic. 3084, Australia. Tel.: +61 3 9450 8719; fax: +61 3 9450 8644.</span></small>",+ "-",+ "-<small><span class=\"docvortex-page-footnote\" data-block-type=\"page_footnote\" style=\"color:#6b7280\">E-mail address: [email protected] (P.N.J. Lane).</span></small>"+ ],+ "outcome": "invalid_output"+ }+ ],+ "outcomes": {+ "valid_completed": 4,+ "invalid_output": 1,+ "completed_needs_review": 0,+ "failed": 0,+ "with_kernel_gpu_errors": 1+ },+ "prior_full_page_attempt": {+ "label": "advanced-vulkan",+ "pid": 13924,+ "result": {+ "llama_device": "vulkan",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 13924,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 31.69441046299994,+ "completed": false,+ "error": "ServerError('got exception: vk::Queue::submit: ErrorDeviceLost')"+ },+ "kernel": "2026-10-22T11:14:38+08:00 myhloli-ubuntu-ssd kernel: Fence expiration time out i915-0000:00:02.0:python[13924]:63a!\n2026-10-22T11:14:38+08:00 myhloli-ubuntu-ssd kernel: Fence expiration time out i915-0000:00:02.0:python[13924]:638!\n2026-10-22T11:14:46+08:00 myhloli-ubuntu-ssd kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:85dffffb, in python [13924]\n2026-10-22T11:14:46+08:00 myhloli-ubuntu-ssd kernel: i915 0000:00:02.0: [drm] python[13924] context reset due to GPU hang\n"+ },+ "cpu_reference": "demo/output/ultra225h-llama-page1-20261022/advanced/cpu/document.md",+ "raw_artifact_directory": "demo/output/ultra225h-advanced-off-repeat-20261022",+ "assessment": "Not inevitable failure: four of the five new attempts completed correctly. The fifth encountered fence expiration, emitted repetitive MEAN/ME text until the context/output length limit, and returned an empty document with completed=true and exit code 0. Counting only exceptions would miss this failure. Including the earlier full-page attempt gives four correct outputs, one ErrorDeviceLost exception and one empty output across six observations.",+ "limits": "Five fresh-process sequential trials on one input and the current stack, with warm OS/shader caches. Do not interpret the observed failure frequency as an exact probability or proof of inevitable failure. Partial vision/text probes from the earlier investigation are not included in this full-page count."+}diff --git a/docs/next/benchmarks/llama-ultra225h-page1-linux-20261022.json b/docs/next/benchmarks/llama-ultra225h-page1-linux-20261022.jsonnew file mode 100644index 00000000..9af69f30--- /dev/null+++ b/docs/next/benchmarks/llama-ultra225h-page1-linux-20261022.json@@ -0,0 +1,362 @@+{+ "schema_version": 1,+ "date": "2026-10-22",+ "cpu": "Intel Core Ultra 5 225H",+ "gpu": "Intel Graphics (ARL)",+ "pci_id": "8086:7d51",+ "kernel": "7.0.0-38-generic",+ "python": "3.14.4",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7",+ "onnxruntime": "1.31.0",+ "onnxruntime-ep-webgpu": "0.4.0"+ },+ "model_files": {+ "main": {+ "path": "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "sha256": "3f3523429c880d675c0330cb3de78240452bc40a961d037e24f91ab8488f03e7"+ },+ "mmproj": {+ "path": "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/mmproj-MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "sha256": "b6c08ab50352677f7396af45ee60682f353f55488e26911d8154bfc37514d3f8"+ }+ },+ "input_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "config_path": "/home/myhloli/.mineru/config.yaml",+ "config_sha256_before": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99",+ "git_head": "345f630eb1710ff4d36b2b33c96fece3f54bfb5b",+ "config_sha256_after": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99",+ "threads": {+ "llama_auto_math_threads": 2,+ "llama_physical_core_count": 14+ },+ "protocol": "One fresh process for each tier/device; all four serial. No explicit warm-up or wall timeout. Real MinerU parse(page_range=1,ocr_mode=ocr), llama-cpp VLM, ONNX small models fixed CPU. n_parallel4,n_ctx_seq0,n_threads default auto. Process-local backend forced CPU/Vulkan for comparison. Serial-submission variable absent, appropriate for PCI8086:7d51. No extra LLM post-processing.",+ "measurement": "parse_wall_s includes model initialization and parsing, excludes writing output files; inference_s is the application model-list stage. Existing OS/shader caches, not isolated cold cache.",+ "power_profile_observed": "performance; AC adapter online; CPU scaling governor powersave (driver policy), not changed by benchmark.",+ "driver": "i915 / Mesa26.0.8-1ubuntu0.3 ANV Vulkan",+ "runs": [+ {+ "label": "standard-cpu",+ "tier": "standard",+ "llama_device": "cpu",+ "pid": 13203,+ "returncode": 0,+ "process_wall_s": 115.05097510799993,+ "wall_timeout": null,+ "power_before": {+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/firmware/acpi/platform_profile": "performance",+ "/proc/loadavg": "2.88 2.17 1.03 2/1809 13202",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1"+ },+ "power_after": {+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/firmware/acpi/platform_profile": "performance",+ "/proc/loadavg": "4.82 3.09 1.50 2/1795 13446",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1"+ },+ "policy_logs": [+ "2026-10-22 11:07:51.801 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 11:07:52.765 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: cpu (explicit_cpu)"+ ],+ "inference_s": 110.490697,+ "kernel": "-- No entries --\n",+ "result": {+ "llama_device": "cpu",+ "tier": "standard",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 13203,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 113.39672294300004,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 18,+ "markdown_chars": 3543,+ "markdown_sha256": "55519fc10bdad5c5d5dbc76d7388a443066a46ea7e30dff99e3531ad3283218f",+ "title_present": true,+ "completed": true+ },+ "content_spot_check": true,+ "valid_output": true,+ "markdown_path": "demo/output/ultra225h-llama-page1-20261022/cpu/document.md",+ "kernel_gpu_errors": false,+ "drm_summary": [+ {+ "path": "/dev/dri/renderD128",+ "driver": "i915",+ "pci_address": "0000:00:02.0",+ "max_render_ns": 0+ }+ ]+ },+ {+ "label": "standard-vulkan",+ "tier": "standard",+ "llama_device": "vulkan",+ "pid": 13448,+ "returncode": 0,+ "process_wall_s": 64.05399067600001,+ "wall_timeout": null,+ "power_before": {+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/firmware/acpi/platform_profile": "performance",+ "/proc/loadavg": "4.82 3.09 1.50 2/1795 13447",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1"+ },+ "power_after": {+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/firmware/acpi/platform_profile": "performance",+ "/proc/loadavg": "3.91 3.16 1.63 2/1792 13618",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1"+ },+ "policy_logs": [+ "2026-10-22 11:09:46.424 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 11:09:47.438 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "inference_s": 59.48534,+ "kernel": "-- No entries --\n",+ "result": {+ "llama_device": "vulkan",+ "tier": "standard",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 13448,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 62.45206956499999,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 18,+ "markdown_chars": 3543,+ "markdown_sha256": "55519fc10bdad5c5d5dbc76d7388a443066a46ea7e30dff99e3531ad3283218f",+ "title_present": true,+ "completed": true+ },+ "content_spot_check": true,+ "valid_output": true,+ "markdown_path": "demo/output/ultra225h-llama-page1-20261022/vulkan/document.md",+ "kernel_gpu_errors": false,+ "drm_summary": [+ {+ "path": "/dev/dri/renderD128",+ "driver": "i915",+ "pci_address": "0000:00:02.0",+ "max_render_ns": 32476305680+ }+ ]+ },+ {+ "label": "advanced-cpu",+ "tier": "advanced",+ "llama_device": "cpu",+ "pid": 13620,+ "returncode": 0,+ "process_wall_s": 204.100680194,+ "wall_timeout": null,+ "power_before": {+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/firmware/acpi/platform_profile": "performance",+ "/proc/loadavg": "3.91 3.16 1.63 3/1792 13619",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1"+ },+ "power_after": {+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/firmware/acpi/platform_profile": "performance",+ "/proc/loadavg": "4.79 4.04 2.29 1/1786 13922",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1"+ },+ "policy_logs": [+ "2026-10-22 11:10:50.477 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 11:10:51.167 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: cpu (explicit_cpu)"+ ],+ "inference_s": 200.960343,+ "kernel": "-- No entries --\n",+ "result": {+ "llama_device": "cpu",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 13620,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 202.9701559,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 19,+ "markdown_chars": 3653,+ "markdown_sha256": "c82d0247514aacdad383aa5e3f30a11802cf37275b248326b21984d111b4609f",+ "title_present": true,+ "completed": true+ },+ "content_spot_check": true,+ "valid_output": true,+ "markdown_path": "demo/output/ultra225h-llama-page1-20261022/advanced/cpu/document.md",+ "kernel_gpu_errors": false,+ "drm_summary": [+ {+ "path": "/dev/dri/renderD128",+ "driver": "i915",+ "pci_address": "0000:00:02.0",+ "max_render_ns": 0+ }+ ]+ },+ {+ "label": "advanced-vulkan",+ "tier": "advanced",+ "llama_device": "vulkan",+ "pid": 13924,+ "returncode": 0,+ "process_wall_s": 33.03014019700004,+ "wall_timeout": null,+ "power_before": {+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/firmware/acpi/platform_profile": "performance",+ "/proc/loadavg": "4.79 4.04 2.29 1/1786 13923",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1"+ },+ "power_after": {+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/firmware/acpi/platform_profile": "performance",+ "/proc/loadavg": "4.12 3.94 2.33 1/1787 14016",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1"+ },+ "policy_logs": [+ "2026-10-22 11:14:14.591 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 11:14:15.601 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "inference_s": null,+ "kernel": "2026-10-22T11:14:38+08:00 myhloli-ubuntu-ssd kernel: Fence expiration time out i915-0000:00:02.0:python[13924]:63a!\n2026-10-22T11:14:38+08:00 myhloli-ubuntu-ssd kernel: Fence expiration time out i915-0000:00:02.0:python[13924]:638!\n2026-10-22T11:14:46+08:00 myhloli-ubuntu-ssd kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:85dffffb, in python [13924]\n2026-10-22T11:14:46+08:00 myhloli-ubuntu-ssd kernel: i915 0000:00:02.0: [drm] python[13924] context reset due to GPU hang\n",+ "result": {+ "llama_device": "vulkan",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 13924,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 31.69441046299994,+ "completed": false,+ "error": "ServerError('got exception: vk::Queue::submit: ErrorDeviceLost')"+ },+ "content_spot_check": false,+ "valid_output": false,+ "markdown_path": "demo/output/ultra225h-llama-page1-20261022/advanced/vulkan/document.md",+ "kernel_gpu_errors": true,+ "drm_summary": [+ {+ "path": "/dev/dri/renderD128",+ "driver": "i915",+ "pci_address": "0000:00:02.0",+ "max_render_ns": 17536396904+ }+ ]+ }+ ],+ "comparisons": {+ "standard": {+ "gpu_over_cpu": 0.5507396328939076,+ "cpu_over_gpu_speedup": 1.8157400344431653,+ "markdown_byte_identical": true,+ "markdown_differences": [],+ "cpu_parse_s": 113.39672294300004,+ "gpu_parse_s": 62.45206956499999,+ "gpu_failure_elapsed_s": null+ },+ "advanced": {+ "gpu_over_cpu": null,+ "cpu_over_gpu_speedup": null,+ "markdown_byte_identical": false,+ "markdown_differences": [+ {+ "operation": "delete",+ "cpu_text": "# The response of flow duration curves to afforestation\n\nPatrick N.J. Lane $^{a,c,*}$ , Alice E. Best $^{b,c,d}$ , Klaus Hickel $^{b,c}$ , Lu Zhang $^{b,c}$\n\n$^{a}$ School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia\n\n$^{b}$ CSIRO Division of Land and Water, Canberra, ACT, Australia\n\n$^{c}$ Cooperative Research Centre for Catchment Hydrology, Canberra, ACT, Australia\n\n$^{d}$ Department of Civil and Environmental Engineering, University of Melbourne, Victoria, Australia\n\nReceived 1 October 2003; revised 22 December 2004; accepted 3 January 2005\n\n## Abstract\n\nThe hydrologic effect of replacing pasture or other short crops with trees is reasonably well understood on a mean annual basis. The impact on flow regime, as described by the annual flow duration curve (FDC) is less certain. A method to assess the impact of plantation establishment on FDCs was developed. The starting point for the analyses was the assumption that rainfall and vegetation age are the principal drivers of evapotranspiration. A key objective was to remove the variability in the rainfall signal, leaving changes in streamflow solely attributable to the evapotranspiration of the plantation. A method was developed to (1) fit a model to the observed annual time series of FDC percentiles; i.e. 10th percentile for each year of record with annual rainfall and plantation age as parameters, (2) replace the annual rainfall variation with the long term mean to obtain climate adjusted FDCs, and (3) quantify changes in FDC percentiles as plantations age. Data from 10 catchments from Australia, South Africa and New Zealand were used. The model was able to represent flow variation for the majority of percentiles at eight of the 10 catchments, particularly for the 10–50th percentiles. The adjusted FDCs revealed variable patterns in flow reductions with two types of responses (groups) being identified. Group 1 catchments show a substantial increase in the number of zero flow days, with low flows being more affected than high flows. Group 2 catchments show a more uniform reduction in flows across all percentiles. The differences may be partly explained by storage characteristics. The modelled flow reductions were in accord with published results of paired catchment experiments. An additional analysis was performed to characterise the impact of afforestation on the number of zero flow days ( $N_{zero}$ ) for the catchments in group 1. This model performed particularly well, and when adjusted for climate, indicated a significant increase in $N_{zero}$ . The zero flow day method could be used to determine change in the occurrence of any given flow in response to afforestation. The methods used in this study proved satisfactory in removing the rainfall variability, and have added useful insight into the hydrologic impacts of plantation establishment. This approach provides a methodology for understanding catchment response to afforestation, where paired catchment data is not available. © 2005 Elsevier B.V. All rights reserved.\n\nKeywords: Afforestation; Flow duration curves; Flow reduction; Paired catchments\n\n<small><span class=\"docvortex-page-footnote\" data-block-type=\"page_footnote\" style=\"color:#6b7280\">\\* Corresponding author. Address: Forest Science Centre, Department of Sustainability and Environment, P.O. Box 137, Heidelberg, Vic. 3084, Australia. Tel.: +61 3 9450 8719; fax: +61 3 9450 8644.</span></small>\n\n<small><span class=\"docvortex-page-footnote\" data-block-type=\"page_footnote\" style=\"color:#6b7280\">E-mail address: [email protected] (P.N.J. Lane).</span></small>",+ "gpu_text": "",+ "cpu_offset": 0+ }+ ],+ "cpu_parse_s": 202.9701559,+ "gpu_parse_s": null,+ "gpu_failure_elapsed_s": 31.69441046299994+ }+ },+ "interpretation": "CPU times use the installed llama.cpp default thread detection, which returns2 on this14-core CPU. These results do not measure full-core CPU throughput. Single run per case, not a repeated statistical benchmark.",+ "raw_evidence_directory": "demo/output/ultra225h-llama-page1-20261022",+ "script_sha256": {+ "build_report.py": "18b5915fbecb0bd273a2394f98860454681eaf5ac4d54566aea3edf271f7829e",+ "worker.py": "ad57a293bd29134bae529fe2cac74cdf10a08a9bda1b7d0f1e4627c5e6fbb6b3",+ "run.py": "4dd7dee58363871af4400f4f0a982f17e9fea9651e5963c669b18274b18b95b0"+ },+ "production_code_modified": false+}diff --git a/docs/next/benchmarks/llama-ultra225h-standard-serialize-linux-20261022.json b/docs/next/benchmarks/llama-ultra225h-standard-serialize-linux-20261022.jsonnew file mode 100644index 00000000..571b7a98--- /dev/null+++ b/docs/next/benchmarks/llama-ultra225h-standard-serialize-linux-20261022.json@@ -0,0 +1,605 @@+{+ "schema_version": 1,+ "date": "2026-10-22",+ "cpu": "Intel Core Ultra 5 225H",+ "gpu": "Intel Graphics (ARL), 8086:7d51",+ "driver": "i915 / Mesa26.0.8-1ubuntu0.3",+ "kernel": "7.0.0-38-generic",+ "manifest": {+ "date": "2026-10-22",+ "git_head": "345f630eb1710ff4d36b2b33c96fece3f54bfb5b",+ "input_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "config_sha256_before": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99",+ "native_package": "/home/myhloli/PycharmProjects/mineru/Magic-PDF/.venv/lib/python3.14/site-packages/mineru_llama_cpp",+ "llama_cpp_commit": "86a283532072722c5f3363d37d59a874d09fa99b",+ "vulkan_library_sha256": "64aeab1c69de0d2c84003632a3e7cc3d76e4f53ee2f8a8239d1cf8dcf3ca76a8",+ "protocol": "Three pairs OFF/ON, ON/OFF, OFF/ON; fresh process per run; no explicit warmup or inference timeout; existing OS/shader caches. GPU Vulkan forced; ONNX CPU 4/1; all other settings unchanged.",+ "config_sha256_after": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99"+ },+ "measurement": "End-to-end parse includes model initialization, excludes serialization of results. This is the current installed 0.1.3 package, without the separate P-core counting patch; both modes use the same automatic CPU thread setting.",+ "runs": [+ {+ "label": "round-1-off",+ "round": 1,+ "serialize": false,+ "pid": 43340,+ "returncode": 0,+ "process_wall_s": 59.610688609000135,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "72050",+ "/sys/class/thermal/thermal_zone12/temp": "72000",+ "/sys/class/thermal/thermal_zone7/temp": "43050",+ "/sys/class/thermal/thermal_zone10/temp": "72000",+ "/sys/class/thermal/thermal_zone5/temp": "45050",+ "/sys/class/thermal/thermal_zone3/temp": "48050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "37050",+ "/sys/class/thermal/thermal_zone11/temp": "41000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "43050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "71050",+ "/sys/class/thermal/thermal_zone12/temp": "71000",+ "/sys/class/thermal/thermal_zone7/temp": "50050",+ "/sys/class/thermal/thermal_zone10/temp": "71000",+ "/sys/class/thermal/thermal_zone5/temp": "55050",+ "/sys/class/thermal/thermal_zone3/temp": "57050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "40050",+ "/sys/class/thermal/thermal_zone11/temp": "44000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "48050"+ },+ "policy_logs": [+ "2026-10-22 12:31:54.596 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 12:31:55.620 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "kernel": "-- No entries --\n",+ "inference_s": 56.498496,+ "result": {+ "llama_device": "vulkan",+ "tier": "standard",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 43340,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 58.914944946000105,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 18,+ "markdown_chars": 3543,+ "markdown_sha256": "55519fc10bdad5c5d5dbc76d7388a443066a46ea7e30dff99e3531ad3283218f",+ "title_present": true,+ "semantic_pages_sha256": "b183e4fb78935720e429263466250beba8422efe1ce22c8214091f146f55ed34",+ "completed": true+ }+ },+ {+ "label": "round-1-on",+ "round": 1,+ "serialize": true,+ "pid": 43510,+ "returncode": 0,+ "process_wall_s": 67.79660455800058,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "74050",+ "/sys/class/thermal/thermal_zone12/temp": "74000",+ "/sys/class/thermal/thermal_zone7/temp": "50050",+ "/sys/class/thermal/thermal_zone10/temp": "74000",+ "/sys/class/thermal/thermal_zone5/temp": "55050",+ "/sys/class/thermal/thermal_zone3/temp": "57050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "40050",+ "/sys/class/thermal/thermal_zone11/temp": "44000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "48050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "67050",+ "/sys/class/thermal/thermal_zone12/temp": "67000",+ "/sys/class/thermal/thermal_zone7/temp": "51050",+ "/sys/class/thermal/thermal_zone10/temp": "67000",+ "/sys/class/thermal/thermal_zone5/temp": "57050",+ "/sys/class/thermal/thermal_zone3/temp": "58050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "42050",+ "/sys/class/thermal/thermal_zone11/temp": "44000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "50050"+ },+ "policy_logs": [+ "2026-10-22 12:32:54.189 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 12:32:55.218 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "kernel": "-- No entries --\n",+ "inference_s": 64.662691,+ "result": {+ "llama_device": "vulkan",+ "tier": "standard",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 43510,+ "serialize_requested": "1",+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 67.13156418000017,+ "serialize_after_init": "1",+ "visible_after_init": null,+ "pages": 1,+ "blocks": 18,+ "markdown_chars": 3543,+ "markdown_sha256": "55519fc10bdad5c5d5dbc76d7388a443066a46ea7e30dff99e3531ad3283218f",+ "title_present": true,+ "semantic_pages_sha256": "b183e4fb78935720e429263466250beba8422efe1ce22c8214091f146f55ed34",+ "completed": true+ }+ },+ {+ "label": "round-2-on",+ "round": 2,+ "serialize": true,+ "pid": 43697,+ "returncode": 0,+ "process_wall_s": 64.61299559899999,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "69050",+ "/sys/class/thermal/thermal_zone12/temp": "69000",+ "/sys/class/thermal/thermal_zone7/temp": "51050",+ "/sys/class/thermal/thermal_zone10/temp": "69000",+ "/sys/class/thermal/thermal_zone5/temp": "57050",+ "/sys/class/thermal/thermal_zone3/temp": "58050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "42050",+ "/sys/class/thermal/thermal_zone11/temp": "44000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "50050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "70050",+ "/sys/class/thermal/thermal_zone12/temp": "70000",+ "/sys/class/thermal/thermal_zone7/temp": "51050",+ "/sys/class/thermal/thermal_zone10/temp": "70000",+ "/sys/class/thermal/thermal_zone5/temp": "56050",+ "/sys/class/thermal/thermal_zone3/temp": "57050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "42050",+ "/sys/class/thermal/thermal_zone11/temp": "46000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "51050"+ },+ "policy_logs": [+ "2026-10-22 12:34:01.997 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 12:34:02.987 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "kernel": "-- No entries --\n",+ "inference_s": 61.524371,+ "result": {+ "llama_device": "vulkan",+ "tier": "standard",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 43697,+ "serialize_requested": "1",+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 63.94162461399992,+ "serialize_after_init": "1",+ "visible_after_init": null,+ "pages": 1,+ "blocks": 18,+ "markdown_chars": 3543,+ "markdown_sha256": "55519fc10bdad5c5d5dbc76d7388a443066a46ea7e30dff99e3531ad3283218f",+ "title_present": true,+ "semantic_pages_sha256": "b183e4fb78935720e429263466250beba8422efe1ce22c8214091f146f55ed34",+ "completed": true+ }+ },+ {+ "label": "round-2-off",+ "round": 2,+ "serialize": false,+ "pid": 43849,+ "returncode": 0,+ "process_wall_s": 60.76377209899965,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "72050",+ "/sys/class/thermal/thermal_zone12/temp": "72000",+ "/sys/class/thermal/thermal_zone7/temp": "51050",+ "/sys/class/thermal/thermal_zone10/temp": "72000",+ "/sys/class/thermal/thermal_zone5/temp": "56050",+ "/sys/class/thermal/thermal_zone3/temp": "57050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "42050",+ "/sys/class/thermal/thermal_zone11/temp": "46000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "51050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "68050",+ "/sys/class/thermal/thermal_zone12/temp": "68000",+ "/sys/class/thermal/thermal_zone7/temp": "52050",+ "/sys/class/thermal/thermal_zone10/temp": "68000",+ "/sys/class/thermal/thermal_zone5/temp": "58050",+ "/sys/class/thermal/thermal_zone3/temp": "58050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "43050",+ "/sys/class/thermal/thermal_zone11/temp": "43000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "53050"+ },+ "policy_logs": [+ "2026-10-22 12:35:06.624 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 12:35:07.634 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "kernel": "-- No entries --\n",+ "inference_s": 57.696818,+ "result": {+ "llama_device": "vulkan",+ "tier": "standard",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 43849,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 60.11109196399957,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 18,+ "markdown_chars": 3543,+ "markdown_sha256": "55519fc10bdad5c5d5dbc76d7388a443066a46ea7e30dff99e3531ad3283218f",+ "title_present": true,+ "semantic_pages_sha256": "b183e4fb78935720e429263466250beba8422efe1ce22c8214091f146f55ed34",+ "completed": true+ }+ },+ {+ "label": "round-3-off",+ "round": 3,+ "serialize": false,+ "pid": 43976,+ "returncode": 0,+ "process_wall_s": 58.97581071500008,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "73050",+ "/sys/class/thermal/thermal_zone12/temp": "72000",+ "/sys/class/thermal/thermal_zone7/temp": "52050",+ "/sys/class/thermal/thermal_zone10/temp": "72000",+ "/sys/class/thermal/thermal_zone5/temp": "58050",+ "/sys/class/thermal/thermal_zone3/temp": "58050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "43050",+ "/sys/class/thermal/thermal_zone11/temp": "43000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "53050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "69050",+ "/sys/class/thermal/thermal_zone12/temp": "69000",+ "/sys/class/thermal/thermal_zone7/temp": "54050",+ "/sys/class/thermal/thermal_zone10/temp": "69000",+ "/sys/class/thermal/thermal_zone5/temp": "59050",+ "/sys/class/thermal/thermal_zone3/temp": "59050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "43050",+ "/sys/class/thermal/thermal_zone11/temp": "44000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "54050"+ },+ "policy_logs": [+ "2026-10-22 12:36:07.402 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 12:36:08.413 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "kernel": "-- No entries --\n",+ "inference_s": 55.881025,+ "result": {+ "llama_device": "vulkan",+ "tier": "standard",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 43976,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 58.30964020400006,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 18,+ "markdown_chars": 3543,+ "markdown_sha256": "55519fc10bdad5c5d5dbc76d7388a443066a46ea7e30dff99e3531ad3283218f",+ "title_present": true,+ "semantic_pages_sha256": "b183e4fb78935720e429263466250beba8422efe1ce22c8214091f146f55ed34",+ "completed": true+ }+ },+ {+ "label": "round-3-on",+ "round": 3,+ "serialize": true,+ "pid": 44112,+ "returncode": 0,+ "process_wall_s": 67.89068869700077,+ "wall_timeout": null,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "75050",+ "/sys/class/thermal/thermal_zone12/temp": "74000",+ "/sys/class/thermal/thermal_zone7/temp": "54050",+ "/sys/class/thermal/thermal_zone10/temp": "74000",+ "/sys/class/thermal/thermal_zone5/temp": "59050",+ "/sys/class/thermal/thermal_zone3/temp": "59050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "43050",+ "/sys/class/thermal/thermal_zone11/temp": "44000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "54050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "68050",+ "/sys/class/thermal/thermal_zone12/temp": "68000",+ "/sys/class/thermal/thermal_zone7/temp": "54050",+ "/sys/class/thermal/thermal_zone10/temp": "67000",+ "/sys/class/thermal/thermal_zone5/temp": "58050",+ "/sys/class/thermal/thermal_zone3/temp": "59050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "44050",+ "/sys/class/thermal/thermal_zone11/temp": "50000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "54050"+ },+ "policy_logs": [+ "2026-10-22 12:37:06.396 | INFO | mineru.model.runtime.onnx_device:resolve_onnx_device:165 - ONNX device selected: OnnxSelection(device='cpu', adapter=None, reason='configured_cpu', backend=None)",+ "2026-10-22 12:37:07.401 | INFO | mineru.model.runtime.llama_device:resolve_llama_device:129 - llama.cpp device policy: ['Intel(R) Graphics (ARL)'] (explicit_gpu)"+ ],+ "kernel": "-- No entries --\n",+ "inference_s": 64.733417,+ "result": {+ "llama_device": "vulkan",+ "tier": "standard",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 44112,+ "serialize_requested": "1",+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 67.20659911799976,+ "serialize_after_init": "1",+ "visible_after_init": null,+ "pages": 1,+ "blocks": 18,+ "markdown_chars": 3543,+ "markdown_sha256": "55519fc10bdad5c5d5dbc76d7388a443066a46ea7e30dff99e3531ad3283218f",+ "title_present": true,+ "semantic_pages_sha256": "b183e4fb78935720e429263466250beba8422efe1ce22c8214091f146f55ed34",+ "completed": true+ }+ }+ ],+ "statistics": {+ "off": {+ "parse_samples_s": [+ 58.914944946000105,+ 60.11109196399957,+ 58.30964020400006+ ],+ "median_s": 58.914944946000105,+ "mean_s": 59.11189237133325,+ "min_s": 58.30964020400006,+ "max_s": 60.11109196399957,+ "inference_samples_s": [+ 56.498496,+ 57.696818,+ 55.881025+ ],+ "inference_median_s": 56.498496+ },+ "on": {+ "parse_samples_s": [+ 67.13156418000017,+ 63.94162461399992,+ 67.20659911799976+ ],+ "median_s": 67.13156418000017,+ "mean_s": 66.09326263733328,+ "min_s": 63.94162461399992,+ "max_s": 67.20659911799976,+ "inference_samples_s": [+ 64.662691,+ 61.524371,+ 64.733417+ ],+ "inference_median_s": 64.662691+ }+ },+ "paired_comparison": [+ {+ "round": 1,+ "off_s": 58.914944946000105,+ "on_s": 67.13156418000017,+ "on_minus_off_s": 8.216619234000063,+ "change_percent": 13.946578820588229+ },+ {+ "round": 2,+ "off_s": 60.11109196399957,+ "on_s": 63.94162461399992,+ "on_minus_off_s": 3.8305326500003503,+ "change_percent": 6.372422334790473+ },+ {+ "round": 3,+ "off_s": 58.30964020400006,+ "on_s": 67.20659911799976,+ "on_minus_off_s": 8.896958913999697,+ "change_percent": 15.258126928708716+ }+ ],+ "median_difference_s": 8.216619234000063,+ "median_change_percent": 13.946578820588224,+ "markdown_all_byte_identical": true,+ "semantic_pages_all_identical": true,+ "kernel_gpu_errors": false,+ "markdown_differences": [],+ "raw_artifact_directory": "demo/output/ultra225h-standard-serialize-20261022",+ "limits": "Three runs per condition on one page/device, shared OS and shader caches. Differences within run-to-run variation do not establish a general speed advantage."+}diff --git a/docs/next/benchmarks/llama-ultra225h-standard-threads-linux-20261022.json b/docs/next/benchmarks/llama-ultra225h-standard-threads-linux-20261022.jsonnew file mode 100644index 00000000..22f83a6c--- /dev/null+++ b/docs/next/benchmarks/llama-ultra225h-standard-threads-linux-20261022.json@@ -0,0 +1,1079 @@+{+ "date": "2026-10-22",+ "cpu": "Intel Core Ultra5 225H,14physical cores/14hardware threads",+ "tier": "standard",+ "ocr_mode": "ocr",+ "input": "demo/pdfs/demo1.pdf",+ "page_range": "1",+ "protocol": "One fresh process per thread count, ordered4/8/12, all serial, no explicit warm-up or inference wall timeout. Real standard OCR parse including model initialization, excluding result serialization. llama.cpp CPU and ONNX CPU; ONNX threads remain4/1. No CPU affinity pinning.",+ "configuration": "An ignored15MB MinerU source copy differs only by one line passing explicit n_threads to the existing Engine constructor. This also becomes the native batch thread count via its role-model default. No repository production source change, monkey-patch, or runtime registry injection.",+ "manifest": {+ "date": "2026-10-22",+ "cpu": "Intel Core Ultra 5 225H",+ "gpu": "Intel Graphics (ARL)",+ "pci_id": "8086:7d51",+ "kernel": "7.0.0-38-generic",+ "python": "3.14.4",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7",+ "onnxruntime": "1.31.0",+ "onnxruntime-ep-webgpu": "0.4.0"+ },+ "model_files": {+ "main": {+ "path": "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "sha256": "3f3523429c880d675c0330cb3de78240452bc40a961d037e24f91ab8488f03e7"+ },+ "mmproj": {+ "path": "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/mmproj-MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "sha256": "b6c08ab50352677f7396af45ee60682f353f55488e26911d8154bfc37514d3f8"+ }+ },+ "input_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "config_path": "/home/myhloli/.mineru/config.yaml",+ "config_sha256_before": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99",+ "git_head": "345f630eb1710ff4d36b2b33c96fece3f54bfb5b",+ "config_sha256_after": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99",+ "source_override": "Exactly one line in an ignored source copy passes explicit n_threads to Engine. Repository source unchanged.",+ "original_runtime_sha256": "5dd55f8bfb0cdbf6233c50a46b4a6ce9b30554cda17676b6991c588ebd9b52f7",+ "benchmark_runtime_sha256": "4e1c7cbec0f6192cc3b570a46246e884bb9a37fd8f001cf0624c2f190aeda4e4",+ "threads": [+ 4,+ 8,+ 12+ ]+ },+ "runs": [+ {+ "n_threads": 4,+ "pid": 16590,+ "returncode": 0,+ "process_wall_s": 68.02097805800008,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "78050",+ "/sys/class/thermal/thermal_zone12/temp": "78000",+ "/sys/class/thermal/thermal_zone7/temp": "49050",+ "/sys/class/thermal/thermal_zone10/temp": "78000",+ "/sys/class/thermal/thermal_zone5/temp": "51050",+ "/sys/class/thermal/thermal_zone3/temp": "53050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "43050",+ "/sys/class/thermal/thermal_zone11/temp": "48000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "51050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "78050",+ "/sys/class/thermal/thermal_zone12/temp": "78000",+ "/sys/class/thermal/thermal_zone7/temp": "60050",+ "/sys/class/thermal/thermal_zone10/temp": "78000",+ "/sys/class/thermal/thermal_zone5/temp": "65050",+ "/sys/class/thermal/thermal_zone3/temp": "72050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "48050",+ "/sys/class/thermal/thermal_zone11/temp": "49000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "57050"+ },+ "cpu_samples": [+ {+ "wall_s": 0.002118280000104278,+ "cpu_ticks": 0+ },+ {+ "wall_s": 1.0023481949999677,+ "cpu_ticks": 458+ },+ {+ "wall_s": 2.002504295000108,+ "cpu_ticks": 570+ },+ {+ "wall_s": 3.0028873979999844,+ "cpu_ticks": 916+ },+ {+ "wall_s": 4.003190201000052,+ "cpu_ticks": 1340+ },+ {+ "wall_s": 5.0035082189999684,+ "cpu_ticks": 1738+ },+ {+ "wall_s": 6.003831433999949,+ "cpu_ticks": 2138+ },+ {+ "wall_s": 7.004169708000063,+ "cpu_ticks": 2538+ },+ {+ "wall_s": 8.004470339999898,+ "cpu_ticks": 2937+ },+ {+ "wall_s": 9.004714664999938,+ "cpu_ticks": 3336+ },+ {+ "wall_s": 10.004936154999996,+ "cpu_ticks": 3735+ },+ {+ "wall_s": 11.005213823000076,+ "cpu_ticks": 4135+ },+ {+ "wall_s": 12.005477460000066,+ "cpu_ticks": 4534+ },+ {+ "wall_s": 13.00569250500007,+ "cpu_ticks": 4934+ },+ {+ "wall_s": 14.005944032000116,+ "cpu_ticks": 5329+ },+ {+ "wall_s": 15.006251767000094,+ "cpu_ticks": 5724+ },+ {+ "wall_s": 16.006548078999913,+ "cpu_ticks": 6123+ },+ {+ "wall_s": 17.0067806699999,+ "cpu_ticks": 6521+ },+ {+ "wall_s": 18.007015507000006,+ "cpu_ticks": 6919+ },+ {+ "wall_s": 19.007339898000055,+ "cpu_ticks": 7313+ },+ {+ "wall_s": 20.007572453999956,+ "cpu_ticks": 7698+ },+ {+ "wall_s": 21.007819505000043,+ "cpu_ticks": 8086+ },+ {+ "wall_s": 22.008079985999984,+ "cpu_ticks": 8470+ },+ {+ "wall_s": 23.00833474000001,+ "cpu_ticks": 8854+ },+ {+ "wall_s": 24.008557112000062,+ "cpu_ticks": 9237+ },+ {+ "wall_s": 25.008793248000075,+ "cpu_ticks": 9622+ },+ {+ "wall_s": 26.009023313999933,+ "cpu_ticks": 10004+ },+ {+ "wall_s": 27.0093257609999,+ "cpu_ticks": 10379+ },+ {+ "wall_s": 28.00955835900004,+ "cpu_ticks": 10769+ },+ {+ "wall_s": 29.009780329000023,+ "cpu_ticks": 11149+ },+ {+ "wall_s": 30.010204023999904,+ "cpu_ticks": 11528+ },+ {+ "wall_s": 31.010511342999962,+ "cpu_ticks": 11908+ },+ {+ "wall_s": 32.01080177099993,+ "cpu_ticks": 12289+ },+ {+ "wall_s": 33.01105385999995,+ "cpu_ticks": 12670+ },+ {+ "wall_s": 34.011356213,+ "cpu_ticks": 13055+ },+ {+ "wall_s": 35.01163444200006,+ "cpu_ticks": 13438+ },+ {+ "wall_s": 36.01187360499989,+ "cpu_ticks": 13824+ },+ {+ "wall_s": 37.01217580399998,+ "cpu_ticks": 14207+ },+ {+ "wall_s": 38.0124902340001,+ "cpu_ticks": 14588+ },+ {+ "wall_s": 39.01277263199995,+ "cpu_ticks": 14977+ },+ {+ "wall_s": 40.01311912899996,+ "cpu_ticks": 15359+ },+ {+ "wall_s": 41.013435140999945,+ "cpu_ticks": 15740+ },+ {+ "wall_s": 42.013671408999926,+ "cpu_ticks": 16120+ },+ {+ "wall_s": 43.01396253000007,+ "cpu_ticks": 16509+ },+ {+ "wall_s": 44.01429512200002,+ "cpu_ticks": 16908+ },+ {+ "wall_s": 45.014602935000084,+ "cpu_ticks": 17308+ },+ {+ "wall_s": 46.01495214500005,+ "cpu_ticks": 17708+ },+ {+ "wall_s": 47.01521889600008,+ "cpu_ticks": 18107+ },+ {+ "wall_s": 48.01550028800011,+ "cpu_ticks": 18507+ },+ {+ "wall_s": 49.01577966900004,+ "cpu_ticks": 18908+ },+ {+ "wall_s": 50.01602968800012,+ "cpu_ticks": 19286+ },+ {+ "wall_s": 51.01635755899997,+ "cpu_ticks": 19686+ },+ {+ "wall_s": 52.01660558599997,+ "cpu_ticks": 20085+ },+ {+ "wall_s": 53.01686040200002,+ "cpu_ticks": 20485+ },+ {+ "wall_s": 54.01711977900004,+ "cpu_ticks": 20885+ },+ {+ "wall_s": 55.017385012999966,+ "cpu_ticks": 21285+ },+ {+ "wall_s": 56.0176268969999,+ "cpu_ticks": 21684+ },+ {+ "wall_s": 57.01790566699992,+ "cpu_ticks": 22083+ },+ {+ "wall_s": 58.018183575999956,+ "cpu_ticks": 22483+ },+ {+ "wall_s": 59.01850330299999,+ "cpu_ticks": 22883+ },+ {+ "wall_s": 60.01877111099998,+ "cpu_ticks": 23283+ },+ {+ "wall_s": 61.01905114300007,+ "cpu_ticks": 23681+ },+ {+ "wall_s": 62.01940461899994,+ "cpu_ticks": 24081+ },+ {+ "wall_s": 63.01964634000001,+ "cpu_ticks": 24481+ },+ {+ "wall_s": 64.01990270300007,+ "cpu_ticks": 24881+ },+ {+ "wall_s": 65.02016852099996,+ "cpu_ticks": 25280+ },+ {+ "wall_s": 66.02048683199996,+ "cpu_ticks": 25680+ },+ {+ "wall_s": 67.02068801299993,+ "cpu_ticks": 26042+ }+ ],+ "cpu_tick_hz": 100,+ "wall_timeout": null,+ "affinity": "not pinned; OS scheduler",+ "inference_s": 64.778633,+ "result": {+ "llama_device": "cpu",+ "tier": "standard",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": 4,+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 16590,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "mineru_source": "/home/myhloli/PycharmProjects/mineru/Magic-PDF/demo/output/ultra225h-standard-threads-20261022/source/mineru/__init__.py",+ "parse_wall_s": 66.82956665699999,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 18,+ "markdown_chars": 3543,+ "markdown_sha256": "55519fc10bdad5c5d5dbc76d7388a443066a46ea7e30dff99e3531ad3283218f",+ "title_present": true,+ "completed": true+ },+ "average_cpu_percent": 388.5788685695715,+ "time_over_four_threads": 1.0,+ "speedup_over_prior_two_threads": 1.6968047021014527+ },+ {+ "n_threads": 8,+ "pid": 16727,+ "returncode": 0,+ "process_wall_s": 61.02204094900003,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "80050",+ "/sys/class/thermal/thermal_zone12/temp": "80000",+ "/sys/class/thermal/thermal_zone7/temp": "60050",+ "/sys/class/thermal/thermal_zone10/temp": "86000",+ "/sys/class/thermal/thermal_zone5/temp": "65050",+ "/sys/class/thermal/thermal_zone3/temp": "72050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "48050",+ "/sys/class/thermal/thermal_zone11/temp": "49000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "57050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "71050",+ "/sys/class/thermal/thermal_zone12/temp": "71000",+ "/sys/class/thermal/thermal_zone7/temp": "58050",+ "/sys/class/thermal/thermal_zone10/temp": "73000",+ "/sys/class/thermal/thermal_zone5/temp": "62050",+ "/sys/class/thermal/thermal_zone3/temp": "68050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "49050",+ "/sys/class/thermal/thermal_zone11/temp": "49000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "59050"+ },+ "cpu_samples": [+ {+ "wall_s": 0.0017721460001212108,+ "cpu_ticks": 0+ },+ {+ "wall_s": 1.0020083419999537,+ "cpu_ticks": 461+ },+ {+ "wall_s": 2.0022382439999546,+ "cpu_ticks": 585+ },+ {+ "wall_s": 3.002483217999952,+ "cpu_ticks": 904+ },+ {+ "wall_s": 4.002798367999958,+ "cpu_ticks": 1576+ },+ {+ "wall_s": 5.003184929000099,+ "cpu_ticks": 2205+ },+ {+ "wall_s": 6.003558333000001,+ "cpu_ticks": 2879+ },+ {+ "wall_s": 7.003810784000052,+ "cpu_ticks": 3504+ },+ {+ "wall_s": 8.004143741000007,+ "cpu_ticks": 4157+ },+ {+ "wall_s": 9.004488902000048,+ "cpu_ticks": 4784+ },+ {+ "wall_s": 10.00478572399993,+ "cpu_ticks": 5427+ },+ {+ "wall_s": 11.005083657000114,+ "cpu_ticks": 6079+ },+ {+ "wall_s": 12.005481923999923,+ "cpu_ticks": 6721+ },+ {+ "wall_s": 13.005834155000002,+ "cpu_ticks": 7359+ },+ {+ "wall_s": 14.006241406000072,+ "cpu_ticks": 8027+ },+ {+ "wall_s": 15.006594876999998,+ "cpu_ticks": 8663+ },+ {+ "wall_s": 16.007136267000078,+ "cpu_ticks": 9307+ },+ {+ "wall_s": 17.00751278200005,+ "cpu_ticks": 9933+ },+ {+ "wall_s": 18.007877817999997,+ "cpu_ticks": 10625+ },+ {+ "wall_s": 19.00811273399995,+ "cpu_ticks": 11318+ },+ {+ "wall_s": 20.008351735000133,+ "cpu_ticks": 11959+ },+ {+ "wall_s": 21.008632504999923,+ "cpu_ticks": 12624+ },+ {+ "wall_s": 22.00891724400003,+ "cpu_ticks": 13308+ },+ {+ "wall_s": 23.00923432200011,+ "cpu_ticks": 14000+ },+ {+ "wall_s": 24.009530611999935,+ "cpu_ticks": 14678+ },+ {+ "wall_s": 25.009831903000077,+ "cpu_ticks": 15348+ },+ {+ "wall_s": 26.010080690999985,+ "cpu_ticks": 16014+ },+ {+ "wall_s": 27.01037509699995,+ "cpu_ticks": 16686+ },+ {+ "wall_s": 28.01068005000002,+ "cpu_ticks": 17381+ },+ {+ "wall_s": 29.01099264100003,+ "cpu_ticks": 18043+ },+ {+ "wall_s": 30.011294604000113,+ "cpu_ticks": 18716+ },+ {+ "wall_s": 31.011580344000095,+ "cpu_ticks": 19397+ },+ {+ "wall_s": 32.01186216700012,+ "cpu_ticks": 20062+ },+ {+ "wall_s": 33.01217211900007,+ "cpu_ticks": 20755+ },+ {+ "wall_s": 34.01244788100007,+ "cpu_ticks": 21435+ },+ {+ "wall_s": 35.01272781300008,+ "cpu_ticks": 22114+ },+ {+ "wall_s": 36.0130239560001,+ "cpu_ticks": 22790+ },+ {+ "wall_s": 37.01332126800003,+ "cpu_ticks": 23449+ },+ {+ "wall_s": 38.013733123000065,+ "cpu_ticks": 24112+ },+ {+ "wall_s": 39.01402907800002,+ "cpu_ticks": 24804+ },+ {+ "wall_s": 40.01434404600013,+ "cpu_ticks": 25476+ },+ {+ "wall_s": 41.014629861,+ "cpu_ticks": 26153+ },+ {+ "wall_s": 42.01495620300011,+ "cpu_ticks": 26798+ },+ {+ "wall_s": 43.01535807100004,+ "cpu_ticks": 27460+ },+ {+ "wall_s": 44.01570244100003,+ "cpu_ticks": 28141+ },+ {+ "wall_s": 45.016060214999925,+ "cpu_ticks": 28789+ },+ {+ "wall_s": 46.016396674000134,+ "cpu_ticks": 29463+ },+ {+ "wall_s": 47.01676333699993,+ "cpu_ticks": 30139+ },+ {+ "wall_s": 48.017137448000085,+ "cpu_ticks": 30799+ },+ {+ "wall_s": 49.01753351699995,+ "cpu_ticks": 31463+ },+ {+ "wall_s": 50.01790046700012,+ "cpu_ticks": 32133+ },+ {+ "wall_s": 51.018335793999995,+ "cpu_ticks": 32786+ },+ {+ "wall_s": 52.018699334000075,+ "cpu_ticks": 33435+ },+ {+ "wall_s": 53.01905046799993,+ "cpu_ticks": 34096+ },+ {+ "wall_s": 54.01941720200011,+ "cpu_ticks": 34766+ },+ {+ "wall_s": 55.01980468600004,+ "cpu_ticks": 35433+ },+ {+ "wall_s": 56.020161336,+ "cpu_ticks": 36094+ },+ {+ "wall_s": 57.02055364700004,+ "cpu_ticks": 36760+ },+ {+ "wall_s": 58.02092599499997,+ "cpu_ticks": 37428+ },+ {+ "wall_s": 59.02131792299997,+ "cpu_ticks": 38089+ },+ {+ "wall_s": 60.021604931999946,+ "cpu_ticks": 38405+ }+ ],+ "cpu_tick_hz": 100,+ "wall_timeout": null,+ "affinity": "not pinned; OS scheduler",+ "inference_s": 57.398835,+ "result": {+ "llama_device": "cpu",+ "tier": "standard",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": 8,+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 16727,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "mineru_source": "/home/myhloli/PycharmProjects/mineru/Magic-PDF/demo/output/ultra225h-standard-threads-20261022/source/mineru/__init__.py",+ "parse_wall_s": 59.47342367900001,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 18,+ "markdown_chars": 3543,+ "markdown_sha256": "55519fc10bdad5c5d5dbc76d7388a443066a46ea7e30dff99e3531ad3283218f",+ "title_present": true,+ "completed": true+ },+ "average_cpu_percent": 639.8718259834659,+ "time_over_four_threads": 0.8899268191314919,+ "speedup_over_prior_two_threads": 1.9066789151914973+ },+ {+ "n_threads": 12,+ "pid": 16882,+ "returncode": 0,+ "process_wall_s": 60.03447674100016,+ "power_before": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "74050",+ "/sys/class/thermal/thermal_zone12/temp": "74000",+ "/sys/class/thermal/thermal_zone7/temp": "58050",+ "/sys/class/thermal/thermal_zone10/temp": "74000",+ "/sys/class/thermal/thermal_zone5/temp": "62050",+ "/sys/class/thermal/thermal_zone3/temp": "68050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "49050",+ "/sys/class/thermal/thermal_zone11/temp": "49000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "59050"+ },+ "power_after": {+ "/sys/firmware/acpi/platform_profile": "performance",+ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor": "powersave",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:002/online": "1",+ "/sys/class/power_supply/ucsi-source-psy-USBC000:001/online": "0",+ "/sys/class/power_supply/ADP1/online": "1",+ "/sys/class/thermal/thermal_zone2/temp": "35050",+ "/sys/class/thermal/thermal_zone0/temp": "27800",+ "/sys/class/thermal/thermal_zone9/temp": "72050",+ "/sys/class/thermal/thermal_zone12/temp": "72000",+ "/sys/class/thermal/thermal_zone7/temp": "58050",+ "/sys/class/thermal/thermal_zone10/temp": "73000",+ "/sys/class/thermal/thermal_zone5/temp": "60050",+ "/sys/class/thermal/thermal_zone3/temp": "66050",+ "/sys/class/thermal/thermal_zone1/temp": "20000",+ "/sys/class/thermal/thermal_zone8/temp": "48050",+ "/sys/class/thermal/thermal_zone11/temp": "52000",+ "/sys/class/thermal/thermal_zone6/temp": "35050",+ "/sys/class/thermal/thermal_zone4/temp": "59050"+ },+ "cpu_samples": [+ {+ "wall_s": 0.010666902000139089,+ "cpu_ticks": 0+ },+ {+ "wall_s": 1.0109495890001199,+ "cpu_ticks": 471+ },+ {+ "wall_s": 2.011223593000068,+ "cpu_ticks": 609+ },+ {+ "wall_s": 3.0115542480000386,+ "cpu_ticks": 984+ },+ {+ "wall_s": 4.011762919000148,+ "cpu_ticks": 1473+ },+ {+ "wall_s": 5.012009226000146,+ "cpu_ticks": 2169+ },+ {+ "wall_s": 6.012225242000113,+ "cpu_ticks": 2900+ },+ {+ "wall_s": 7.0124413300000015,+ "cpu_ticks": 3364+ },+ {+ "wall_s": 8.012666803000002,+ "cpu_ticks": 3759+ },+ {+ "wall_s": 9.012859886000115,+ "cpu_ticks": 4286+ },+ {+ "wall_s": 10.013171844999988,+ "cpu_ticks": 4838+ },+ {+ "wall_s": 11.013420003000192,+ "cpu_ticks": 5359+ },+ {+ "wall_s": 12.01375636900002,+ "cpu_ticks": 5904+ },+ {+ "wall_s": 13.014101133000167,+ "cpu_ticks": 6618+ },+ {+ "wall_s": 14.014346553999985,+ "cpu_ticks": 7201+ },+ {+ "wall_s": 15.014560029999984,+ "cpu_ticks": 7819+ },+ {+ "wall_s": 16.014790962999996,+ "cpu_ticks": 8354+ },+ {+ "wall_s": 17.015033224000035,+ "cpu_ticks": 9060+ },+ {+ "wall_s": 18.015436556000168,+ "cpu_ticks": 9579+ },+ {+ "wall_s": 19.015681274000144,+ "cpu_ticks": 10193+ },+ {+ "wall_s": 20.01592787300001,+ "cpu_ticks": 10956+ },+ {+ "wall_s": 21.01615966700001,+ "cpu_ticks": 11549+ },+ {+ "wall_s": 22.016396707000013,+ "cpu_ticks": 12391+ },+ {+ "wall_s": 23.016814969000052,+ "cpu_ticks": 13236+ },+ {+ "wall_s": 24.017181701000027,+ "cpu_ticks": 13967+ },+ {+ "wall_s": 25.01760067300006,+ "cpu_ticks": 14947+ },+ {+ "wall_s": 26.018062738000026,+ "cpu_ticks": 15927+ },+ {+ "wall_s": 27.018471154000054,+ "cpu_ticks": 16950+ },+ {+ "wall_s": 28.018838511000013,+ "cpu_ticks": 17911+ },+ {+ "wall_s": 29.019180439000138,+ "cpu_ticks": 18827+ },+ {+ "wall_s": 30.020320314000173,+ "cpu_ticks": 19752+ },+ {+ "wall_s": 31.02070973900004,+ "cpu_ticks": 20715+ },+ {+ "wall_s": 32.02107477599998,+ "cpu_ticks": 21695+ },+ {+ "wall_s": 33.0214719170001,+ "cpu_ticks": 22685+ },+ {+ "wall_s": 34.022315543000104,+ "cpu_ticks": 23591+ },+ {+ "wall_s": 35.02270058099998,+ "cpu_ticks": 24515+ },+ {+ "wall_s": 36.02307164500007,+ "cpu_ticks": 25466+ },+ {+ "wall_s": 37.023441952999974,+ "cpu_ticks": 26449+ },+ {+ "wall_s": 38.023895835000076,+ "cpu_ticks": 27444+ },+ {+ "wall_s": 39.02433266700018,+ "cpu_ticks": 28430+ },+ {+ "wall_s": 40.02470823400017,+ "cpu_ticks": 29446+ },+ {+ "wall_s": 41.02530432399999,+ "cpu_ticks": 30438+ },+ {+ "wall_s": 42.025763820000066,+ "cpu_ticks": 31470+ },+ {+ "wall_s": 43.026161694000166,+ "cpu_ticks": 32458+ },+ {+ "wall_s": 44.026525010000114,+ "cpu_ticks": 33425+ },+ {+ "wall_s": 45.02692989000002,+ "cpu_ticks": 34378+ },+ {+ "wall_s": 46.02940404900005,+ "cpu_ticks": 35371+ },+ {+ "wall_s": 47.02990364800007,+ "cpu_ticks": 36273+ },+ {+ "wall_s": 48.03028780900013,+ "cpu_ticks": 37117+ },+ {+ "wall_s": 49.03065787500009,+ "cpu_ticks": 37932+ },+ {+ "wall_s": 50.0310664550002,+ "cpu_ticks": 38652+ },+ {+ "wall_s": 51.03143828400016,+ "cpu_ticks": 39487+ },+ {+ "wall_s": 52.031791141999975,+ "cpu_ticks": 40340+ },+ {+ "wall_s": 53.03219372100011,+ "cpu_ticks": 41186+ },+ {+ "wall_s": 54.0325323200002,+ "cpu_ticks": 42035+ },+ {+ "wall_s": 55.03284107700006,+ "cpu_ticks": 42879+ },+ {+ "wall_s": 56.03310785100007,+ "cpu_ticks": 43733+ },+ {+ "wall_s": 57.033384276000106,+ "cpu_ticks": 44585+ },+ {+ "wall_s": 58.033773870000005,+ "cpu_ticks": 45428+ },+ {+ "wall_s": 59.034057615000165,+ "cpu_ticks": 46029+ }+ ],+ "cpu_tick_hz": 100,+ "wall_timeout": null,+ "affinity": "not pinned; OS scheduler",+ "inference_s": 56.846367,+ "result": {+ "llama_device": "cpu",+ "tier": "standard",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": 12,+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 16882,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "mineru_source": "/home/myhloli/PycharmProjects/mineru/Magic-PDF/demo/output/ultra225h-standard-threads-20261022/source/mineru/__init__.py",+ "parse_wall_s": 58.85515137499988,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 18,+ "markdown_chars": 3543,+ "markdown_sha256": "55519fc10bdad5c5d5dbc76d7388a443066a46ea7e30dff99e3531ad3283218f",+ "title_present": true,+ "completed": true+ },+ "average_cpu_percent": 779.8433713138411,+ "time_over_four_threads": 0.8806753405580426,+ "speedup_over_prior_two_threads": 1.9267085428170012+ }+ ],+ "fastest_measured_threads": 12,+ "all_markdown_byte_identical": true,+ "prior_two_thread_reference": {+ "parse_wall_s": 113.39672294300004,+ "source": "docs/next/benchmarks/llama-ultra225h-page1-linux-20261022.json",+ "collected_separately": true+ },+ "scope": "Thread counts, not a restriction to specific physical CPUs. Existing OS/shader caches; plugged in and performance profile. Single run per case, not a repeated statistical estimate.",+ "raw_evidence_directory": "demo/output/ultra225h-standard-threads-20261022",+ "scripts_sha256": {+ "build_report.py": "b665ac6d7c273861db268bffedce4afee5512e5ff3632221a84049b28e04aebc",+ "worker.py": "d256d9ed9a0a22224850871bcad45b3bbc7449bf545fa1617264fed02e2603cc",+ "run.py": "bc0bdb4dcf08a2166a70c09cc3003440804a833da96620409245df34074965cc"+ },+ "production_code_modified": false+}diff --git a/docs/next/benchmarks/llama-ultra225h-vulkan-diagnosis-linux-20261022.json b/docs/next/benchmarks/llama-ultra225h-vulkan-diagnosis-linux-20261022.jsonnew file mode 100644index 00000000..9a9f20de--- /dev/null+++ b/docs/next/benchmarks/llama-ultra225h-vulkan-diagnosis-linux-20261022.json@@ -0,0 +1,486 @@+{+ "schema_version": 1,+ "date": "2026-10-22",+ "cpu": "Intel Core Ultra 5 225H",+ "gpu": "Intel Graphics (ARL)",+ "pci_id": "8086:7d51",+ "kernel": "7.0.0-38-generic",+ "driver": "i915 / Mesa26.0.8-1ubuntu0.3 ANV Vulkan",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7",+ "onnxruntime": "1.31.0",+ "onnxruntime-ep-webgpu": "0.4.0"+ },+ "llama_cpp_commit": "86a283532072722c5f3363d37d59a874d09fa99b",+ "model_files": {+ "main": {+ "path": "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "sha256": "3f3523429c880d675c0330cb3de78240452bc40a961d037e24f91ab8488f03e7"+ },+ "mmproj": {+ "path": "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/mmproj-MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "sha256": "b6c08ab50352677f7396af45ee60682f353f55488e26911d8154bfc37514d3f8"+ }+ },+ "input": {+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "render_size": [+ 1512,+ 2064+ ],+ "layout_size": [+ 1036,+ 1036+ ],+ "png_sha256": "c97362434e8a08f405a36333c773d39f4a4fe4d2f01d52ba859e527ab397df2c",+ "request_sha256": "fcfe064d94634d7cb58952079cfe090a2340d13f570923e7cda559fb819f83d8",+ "max_tokens": 32+ },+ "scope": "Investigation only; installed mineru-llama-cpp 0.1.3 and original Vulkan backend, without the separate CPU-core patch. No system/driver setting or product code changed. All inference requests have unlimited wall time.",+ "kernel_configuration": {+ "CONFIG_DRM_I915_REQUEST_TIMEOUT": 20000,+ "CONFIG_DRM_I915_FENCE_TIMEOUT": 10000,+ "rcs0_preempt_timeout_ms": 7500,+ "rcs0_heartbeat_interval_ms": 2500+ },+ "previous_failure": {+ "pid": 13924,+ "kernel": "2026-10-22T11:14:38+08:00 myhloli-ubuntu-ssd kernel: Fence expiration time out i915-0000:00:02.0:python[13924]:63a!\n2026-10-22T11:14:38+08:00 myhloli-ubuntu-ssd kernel: Fence expiration time out i915-0000:00:02.0:python[13924]:638!\n2026-10-22T11:14:46+08:00 myhloli-ubuntu-ssd kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:85dffffb, in python [13924]\n2026-10-22T11:14:46+08:00 myhloli-ubuntu-ssd kernel: i915 0000:00:02.0: [drm] python[13924] context reset due to GPU hang\n",+ "result": {+ "llama_device": "vulkan",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 13924,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 31.69441046299994,+ "completed": false,+ "error": "ServerError('got exception: vk::Queue::submit: ErrorDeviceLost')"+ }+ },+ "full_page_serialized": {+ "llama_device": "vulkan",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 39883,+ "serialize_requested": "1",+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "parse_wall_s": 112.8470317639999,+ "serialize_after_init": "1",+ "visible_after_init": null,+ "pages": 1,+ "blocks": 19,+ "markdown_chars": 3652,+ "markdown_sha256": "559ffd6a9c184d6e69a93411ece7b0b1148cd77a4543dfdea22dfe82a3b79980",+ "title_present": true,+ "completed": true,+ "kernel": "-- No entries --\n"+ },+ "full_page_comparison": {+ "cpu_blocks": 19,+ "gpu_blocks": 19,+ "markdown_byte_identical": false,+ "difference": [+ "--- cpu\n",+ "+++ gpu-serialized\n",+ "@@ -2,7 +2,7 @@\n",+ " ",+ " Patrick N.J. Lane $^{a,c,*}$ , Alice E. Best $^{b,c,d}$ , Klaus Hickel $^{b,c}$ , Lu Zhang $^{b,c}$",+ " ",+ "-$^{a}$ School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ "+$^{a}$School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ " ",+ " $^{b}$ CSIRO Division of Land and Water, Canberra, ACT, Australia",+ " "+ ],+ "assessment": "Only one missing space after the first affiliation superscript; content otherwise unchanged."+ },+ "minimal_cases": [+ {+ "case": "vision-cpu-text-gpu",+ "llm": "gpu",+ "vision": "cpu",+ "serialize": false,+ "disable_f16": false,+ "max_tokens": 32,+ "wall_timeout": null,+ "dump_embeddings": true,+ "command": [+ "/home/myhloli/PycharmProjects/mineru/Magic-PDF/.venv/lib/python3.14/site-packages/mineru_llama_cpp/bin/llama-server",+ "-m",+ "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "-mm",+ "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/mmproj-MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "--host",+ "127.0.0.1",+ "--port",+ "38939",+ "-c",+ "32768",+ "-np",+ "4",+ "-t",+ "4",+ "-tb",+ "4",+ "--fit",+ "off",+ "--no-kv-unified",+ "--cache-ram",+ "0",+ "--no-cache-idle-slots",+ "--special",+ "--no-context-shift",+ "-lv",+ "4",+ "-ngl",+ "99",+ "--device",+ "Vulkan0",+ "--mmproj-device",+ "none",+ "--no-mmproj-offload"+ ],+ "request_file": "/home/myhloli/PycharmProjects/mineru/Magic-PDF/demo/output/ultra225h-vulkan-diagnosis-20261022/request.json",+ "pid": 40139,+ "init_s": 1.0099832559999413,+ "request_wall_s": 50.868782273000306,+ "response": {+ "choices": [+ {+ "finish_reason": "length",+ "index": 0,+ "message": {+ "role": "assistant",+ "content": "<|box_start|>077 095 177 177<|box_end|><|ref_start|>header<|ref_end|><|rotate_up|>\n<|box_start|>339 092 6"+ }+ }+ ],+ "created": 1792642074,+ "model": "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "system_fingerprint": "b1-86a2835",+ "object": "chat.completion",+ "usage": {+ "completion_tokens": 32,+ "prompt_tokens": 1394,+ "total_tokens": 1426,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "id": "chatcmpl-L712hQjP8GyQmEEXTjdJJiKKjYvx8M2w",+ "timings": {+ "cache_n": 0,+ "prompt_n": 1394,+ "prompt_ms": 49319.662,+ "prompt_per_token_ms": 35.37995839311334,+ "prompt_per_second": 28.264589485629486,+ "predicted_n": 32,+ "predicted_ms": 1517.966,+ "predicted_per_token_ms": 48.966645161290316,+ "predicted_per_second": 20.422064789329934+ }+ },+ "content": "<|box_start|>077 095 177 177<|box_end|><|ref_start|>header<|ref_end|><|rotate_up|>\n<|box_start|>339 092 6",+ "has_layout_boxes": true,+ "layout_boxes": [+ [+ "077 095 177 177",+ "header"+ ]+ ],+ "server_cleanup_returncode": 0,+ "kernel": "-- No entries --\n",+ "process_wall_s": 51.952407088999735+ },+ {+ "case": "vision-gpu-text-cpu-default",+ "llm": "cpu",+ "vision": "gpu",+ "serialize": false,+ "disable_f16": false,+ "max_tokens": 32,+ "wall_timeout": null,+ "dump_embeddings": true,+ "command": [+ "/home/myhloli/PycharmProjects/mineru/Magic-PDF/.venv/lib/python3.14/site-packages/mineru_llama_cpp/bin/llama-server",+ "-m",+ "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "-mm",+ "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/mmproj-MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "--host",+ "127.0.0.1",+ "--port",+ "58621",+ "-c",+ "32768",+ "-np",+ "4",+ "-t",+ "4",+ "-tb",+ "4",+ "--fit",+ "off",+ "--no-kv-unified",+ "--cache-ram",+ "0",+ "--no-cache-idle-slots",+ "--special",+ "--no-context-shift",+ "-lv",+ "4",+ "-ngl",+ "0",+ "--device",+ "none",+ "--mmproj-device",+ "Vulkan0",+ "--mmproj-offload",+ "--no-op-offload"+ ],+ "request_file": "/home/myhloli/PycharmProjects/mineru/Magic-PDF/demo/output/ultra225h-vulkan-diagnosis-20261022/request.json",+ "pid": 40214,+ "init_s": 0.6627480189999915,+ "request_wall_s": 25.221550104000016,+ "response": {+ "choices": [+ {+ "finish_reason": "length",+ "index": 0,+ "message": {+ "role": "assistant",+ "content": "THE MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN ME"+ }+ }+ ],+ "created": 1792642100,+ "model": "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "system_fingerprint": "b1-86a2835",+ "object": "chat.completion",+ "usage": {+ "completion_tokens": 32,+ "prompt_tokens": 1394,+ "total_tokens": 1426,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "id": "chatcmpl-zSe40VFw67v02u8HT6l1PtSiDufmb57K",+ "timings": {+ "cache_n": 0,+ "prompt_n": 1394,+ "prompt_ms": 24651.326,+ "prompt_per_token_ms": 17.68387804878049,+ "prompt_per_second": 56.548682208819116,+ "predicted_n": 32,+ "predicted_ms": 538.046,+ "predicted_per_token_ms": 17.356322580645163,+ "predicted_per_second": 57.61589157804351+ }+ },+ "content": "THE MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN MEAN ME",+ "has_layout_boxes": false,+ "layout_boxes": [],+ "server_cleanup_returncode": 0,+ "kernel": "2026-10-22T12:08:15+08:00 myhloli-ubuntu-ssd kernel: Fence expiration time out i915-0000:00:02.0:llama-server[40214]:22!\n2026-10-22T12:08:15+08:00 myhloli-ubuntu-ssd kernel: Fence expiration time out i915-0000:00:02.0:llama-server[40214]:20!\n",+ "process_wall_s": 25.944937001999733+ },+ {+ "case": "vision-gpu-text-cpu-serialized",+ "llm": "cpu",+ "vision": "gpu",+ "serialize": true,+ "disable_f16": false,+ "max_tokens": 32,+ "wall_timeout": null,+ "dump_embeddings": true,+ "command": [+ "/home/myhloli/PycharmProjects/mineru/Magic-PDF/.venv/lib/python3.14/site-packages/mineru_llama_cpp/bin/llama-server",+ "-m",+ "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "-mm",+ "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/mmproj-MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "--host",+ "127.0.0.1",+ "--port",+ "51585",+ "-c",+ "32768",+ "-np",+ "4",+ "-t",+ "4",+ "-tb",+ "4",+ "--fit",+ "off",+ "--no-kv-unified",+ "--cache-ram",+ "0",+ "--no-cache-idle-slots",+ "--special",+ "--no-context-shift",+ "-lv",+ "4",+ "-ngl",+ "0",+ "--device",+ "none",+ "--mmproj-device",+ "Vulkan0",+ "--mmproj-offload",+ "--no-op-offload"+ ],+ "request_file": "/home/myhloli/PycharmProjects/mineru/Magic-PDF/demo/output/ultra225h-vulkan-diagnosis-20261022/request.json",+ "pid": 40265,+ "init_s": 0.6627884419999646,+ "request_wall_s": 25.76569968800004,+ "response": {+ "choices": [+ {+ "finish_reason": "length",+ "index": 0,+ "message": {+ "role": "assistant",+ "content": "<|box_start|>077 095 177 177<|box_end|><|ref_start|>header<|ref_end|><|rotate_up|>\n<|box_start|>339 092 6"+ }+ }+ ],+ "created": 1792642126,+ "model": "/home/myhloli/.mineru/models/MinerU2.5-Pro-2605-1.2B-GGUF/MinerU2.5-Pro-2605-1.2B-Q8_0.gguf",+ "system_fingerprint": "b1-86a2835",+ "object": "chat.completion",+ "usage": {+ "completion_tokens": 32,+ "prompt_tokens": 1394,+ "total_tokens": 1426,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "id": "chatcmpl-V5z7XxnIcXkAASkJIhcjhFt20caV4m6m",+ "timings": {+ "cache_n": 0,+ "prompt_n": 1394,+ "prompt_ms": 25239.699,+ "prompt_per_token_ms": 18.10595337159254,+ "prompt_per_second": 55.230452629407345,+ "predicted_n": 32,+ "predicted_ms": 495.242,+ "predicted_per_token_ms": 15.975548387096774,+ "predicted_per_second": 62.5956603034476+ }+ },+ "content": "<|box_start|>077 095 177 177<|box_end|><|ref_start|>header<|ref_end|><|rotate_up|>\n<|box_start|>339 092 6",+ "has_layout_boxes": true,+ "layout_boxes": [+ [+ "077 095 177 177",+ "header"+ ]+ ],+ "server_cleanup_returncode": 0,+ "kernel": "-- No entries --\n",+ "process_wall_s": 26.488517725999827+ }+ ],+ "embedding_comparison": {+ "vision-cpu-text-gpu": {+ "shape": [+ 1369,+ 896+ ],+ "count": 1226624,+ "finite_count": 1226624,+ "zero_count": 0,+ "min": -1000.83251953125,+ "max": 4789.21044921875,+ "rmse_vs_cpu": 0.0,+ "relative_l2_vs_cpu": 0.0,+ "cosine_vs_cpu": 0.9999999999999999,+ "max_abs_diff_vs_cpu": 0.0+ },+ "vision-gpu-text-cpu-default": {+ "shape": [+ 1369,+ 896+ ],+ "count": 1226624,+ "finite_count": 1226624,+ "zero_count": 0,+ "min": -1.7922625541687012,+ "max": 2.0748836994171143,+ "rmse_vs_cpu": 72.36671922954488,+ "relative_l2_vs_cpu": 0.9997903508081395,+ "cosine_vs_cpu": 0.021030824948510236,+ "max_abs_diff_vs_cpu": 4787.280113101006+ },+ "vision-gpu-text-cpu-serialized": {+ "shape": [+ 1369,+ 896+ ],+ "count": 1226624,+ "finite_count": 1226624,+ "zero_count": 0,+ "min": -1001.6793212890625,+ "max": 4782.42138671875,+ "rmse_vs_cpu": 0.883270061190033,+ "relative_l2_vs_cpu": 0.012202914457602947,+ "cosine_vs_cpu": 0.9999261678455825,+ "max_abs_diff_vs_cpu": 212.20526123046875+ }+ },+ "conclusions": [+ "Default Vulkan vision encoding reproduces fence expiration and severely incorrect finite embeddings even when the text decoder uses CPU. A successful HTTP response is insufficient for correctness.",+ "CPU vision plus GPU text produces the expected layout prefix. Serialized GPU vision plus CPU text produces the same prefix, with cosine similarity 0.999926 to CPU embeddings.",+ "Serial submissions complete the real advanced OCR page with 19 blocks and no kernel GPU error. This is a validated workaround for this device and software stack, not a proof of universal Intel GPU stability.",+ "Evidence isolates asynchronous large-image Vulkan vision execution interacting with i915/Mesa. Exact responsibility between llama.cpp synchronization, Mesa/ANV, and i915 scheduling/watchdog is not fully bisected.",+ "The recorded 20-second kernel request watchdog is consistent with the observed fence expiration; it is separate from application inference timeouts.",+ "This reproducer runs ONNX on CPU and does not exercise WebGPU NHWC; it cannot establish a common root cause with the older ONNX issue."+ ],+ "recommendations": [+ "Short term: set GGML_VK_SERIALIZE_SUBMISSIONS=1 before starting a fresh process on this Linux Intel iGPU; retain existing device selection.",+ "If automating the workaround, initially target the actually selected Linux Intel integrated PCI 8086:7d51 device; do not apply it to unrelated AMD/NVIDIA discrete GPUs.",+ "Alternative CLI path: --no-mmproj-offload with GPU text generation; verified only on the 32-token minimal layout prefix, not a full advanced page.",+ "Upstream PR30438 addresses a different GPU-to-host barrier issue on Intel/Mesa and remains unmerged as checked; it has not been validated for this timeout and is not asserted to fix it."+ ],+ "sources": [+ "https://github.com/ggml-org/llama.cpp/blob/86a283532072722c5f3363d37d59a874d09fa99b/ggml/src/ggml-vulkan/ggml-vulkan.cpp#L14278",+ "https://github.com/torvalds/linux/blob/v7.0/drivers/gpu/drm/i915/Kconfig.profile#L1",+ "https://github.com/ggml-org/llama.cpp/pull/30438",+ "https://github.com/intel/compute-runtime/issues/939#issuecomment-5479421984"+ ],+ "config_sha256_before": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99",+ "config_sha256_after": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99",+ "raw_artifact_directory": "demo/output/ultra225h-vulkan-diagnosis-20261022"+}diff --git a/docs/next/benchmarks/llama-xe-lpg-auto-serialize-linux-20261022.json b/docs/next/benchmarks/llama-xe-lpg-auto-serialize-linux-20261022.jsonnew file mode 100644index 00000000..0e71fefb--- /dev/null+++ b/docs/next/benchmarks/llama-xe-lpg-auto-serialize-linux-20261022.json@@ -0,0 +1,154 @@+{+ "date": "2026-10-22",+ "scope": "Linux Vulkan: add Xe-LPG (7dxx/b6xx), preserve legacy/Xe-LP; no automatic serialization for Xe-HPG or later LPG/HPG architectures.",+ "hardware": "Core Ultra 5 225H / Intel Graphics ARL / 8086:7d51",+ "kernel": "7.0.0-38-generic",+ "driver": "i915 / Mesa26.0.8-1ubuntu0.3",+ "execution": {+ "pid": 59315,+ "returncode": 0,+ "manual_serialize_variable": null,+ "wall_timeout": null,+ "config_sha256_before": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99",+ "config_sha256_after": "5c447bf9c2834991aba50a86cd5a435a4753a0ad6a6e21b745e685670fd59e99",+ "kernel": "-- No entries --\n"+ },+ "result": {+ "llama_device": "vulkan",+ "tier": "advanced",+ "ocr_mode": "ocr",+ "page_range": "1",+ "explicit_warmup": false,+ "small_models": "onnx-cpu",+ "cpu_threads": "llama default auto",+ "n_parallel": "llama default4",+ "n_ctx_seq": "llama default0",+ "preload": null,+ "pid": 59315,+ "serialize_requested": null,+ "wall_timeout": null,+ "pdf_sha256": "f3b3be345bf2df8979f2491ca9466e078e4fd1d6a216611faa8566e4c44d474b",+ "packages": {+ "mineru": "4.0.12",+ "mineru-llama-cpp": "0.1.3",+ "mineru-vl-utils": "2.0.7"+ },+ "selection": {+ "device": "gpu",+ "devices": [+ {+ "name": "Vulkan0",+ "description": "Intel(R) Graphics (ARL)",+ "backend": "vulkan",+ "integrated": true,+ "vendor_id": 32902,+ "device_id": 32081,+ "vulkan_index": 0+ }+ ],+ "reason": "explicit_gpu",+ "environment": [+ [+ "GGML_VK_SERIALIZE_SUBMISSIONS",+ "1"+ ],+ [+ "GGML_VK_VISIBLE_DEVICES",+ "0"+ ]+ ],+ "device_aliases": [+ [+ "Vulkan0",+ "Vulkan0"+ ]+ ],+ "model_devices": null,+ "cpu_model": false+ },+ "server_selection": {+ "device": "gpu",+ "devices": [+ {+ "name": "Vulkan0",+ "description": "Intel(R) Graphics (ARL)",+ "backend": "vulkan",+ "integrated": true,+ "vendor_id": 32902,+ "device_id": 32081,+ "vulkan_index": 0+ }+ ],+ "reason": "explicit_gpu",+ "environment": [+ [+ "GGML_VK_SERIALIZE_SUBMISSIONS",+ "1"+ ],+ [+ "GGML_VK_VISIBLE_DEVICES",+ "0"+ ]+ ],+ "device_aliases": [+ [+ "Vulkan0",+ "Vulkan0"+ ]+ ],+ "model_devices": null,+ "cpu_model": false+ },+ "parse_wall_s": 115.22695443299926,+ "serialize_after_init": null,+ "visible_after_init": null,+ "pages": 1,+ "blocks": 19,+ "markdown_chars": 3652,+ "markdown_sha256": "559ffd6a9c184d6e69a93411ece7b0b1148cd77a4543dfdea22dfe82a3b79980",+ "title_present": true,+ "semantic_pages_sha256": "8ddb4e9c29258376fc3f75c0ed5b3310b02e13e0383755d87459d1f576eff3c4",+ "completed": true,+ "engine_environment_signature": {+ "GGML_VK_VISIBLE_DEVICES": "0",+ "VK_DRIVER_FILES": "/usr/share/vulkan/icd.d/intel_icd.json",+ "VK_ICD_FILENAMES": null,+ "VK_LOADER_VENDOR_ID_FILTER": null,+ "VK_LOADER_DEVICE_ID_FILTER": null,+ "MESA_VK_DEVICE_SELECT": null,+ "GGML_VK_SERIALIZE_SUBMISSIONS": "1"+ }+ },+ "markdown_equal_manual_serialized": true,+ "markdown_equal_cpu_ignoring_whitespace": true,+ "cpu_diff": [+ "--- \n",+ "+++ \n",+ "@@ -2,7 +2,7 @@\n",+ " ",+ " Patrick N.J. Lane $^{a,c,*}$ , Alice E. Best $^{b,c,d}$ , Klaus Hickel $^{b,c}$ , Lu Zhang $^{b,c}$",+ " ",+ "-$^{a}$ School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ "+$^{a}$School of Forest and Ecosystem Studies, University of Melbourne, P.O. Box 137, Heidelberg, Victoria 3084, Australia",+ " ",+ " $^{b}$ CSIRO Division of Land and Water, Canberra, ACT, Australia",+ " "+ ],+ "policy_sha256": "fe5ee6fad9fcfd92e975149c20c315f5ecd3757523f7a2ac4ee66da988d34540",+ "unit_tests": {+ "passed": 369,+ "files": [+ "test_llama_device_policy.py",+ "test_llama_server_device_policy.py",+ "test_llama_cpp_server.py",+ "test_webgpu_architecture.py",+ "test_webgpu_runtime.py",+ "test_onnx_device_selection.py",+ "test_onnx_calibration.py"+ ]+ },+ "ruff": "check and format check passed",+ "raw_artifacts": "demo/output/xe-lpg-auto-serialize-20261022",+ "performance_comparison": "not performed",+ "limitations": "One real full-page correctness validation on this Linux Xe-LPG device. Other architectures/platforms covered by regression tests, not new hardware testing. Server policy verified against the real device and launch environment covered by integration unit tests."+}diff --git a/docs/next/llama-xe-lpg-serialization-validation.md b/docs/next/llama-xe-lpg-serialization-validation.mdnew file mode 100644index 00000000..cb8db6a3--- /dev/null+++ b/docs/next/llama-xe-lpg-serialization-validation.md@@ -0,0 +1,44 @@+# Linux Xe-LPG 自动串行提交验证++2026-10-22。共享 llama.cpp 设备策略新增 Xe-LPG(PCI 家族 `7dxx`、`b6xx`),+保留 Xe-LP 及更早架构的既有规则。Xe-HPG、Xe2/Xe3 LPG、其他后续架构及未知 PCI 家族不自动开启。++策略仅用于 Linux Vulkan 实际选中的 Intel 设备,适用于所有档位。设备选择、ONNX WebGPU/DML 校准、+独显优先、显式环境值、混合设备组限制、绑定复核和临时环境恢复均沿用已有机制。+进程内 Engine 和 llama-server 共用策略,无需更新原生包。++## 回归检查++以下测试共 **369 passed**;修改的 Python 文件通过 Ruff 检查及格式检查,`git diff --check` 通过。++```bash+.venv/bin/python -m pytest \+ tests/unittest/test_llama_device_policy.py \+ tests/unittest/test_llama_server_device_policy.py \+ tests/unittest/test_llama_cpp_server.py \+ tests/unittest/test_webgpu_architecture.py \+ tests/unittest/test_webgpu_runtime.py \+ tests/unittest/test_onnx_device_selection.py \+ tests/unittest/test_onnx_calibration.py -q+```++新增及扩展覆盖包括两组 Xe-LPG PCI 家族、后续架构排除、缺失 PCI 身份、Windows/非 Vulkan 后端、+集显校准结果复用、Xe-LPG 与 NVIDIA/AMD/Xe-HPG 多卡选择、显式混合设备组拒绝、环境恢复,+以及 Engine 构造和 server 启动环境。server 同时覆盖模型在 GPU 和仅视觉编码在 GPU 的情况。++## 本机完整页验证++- 设备:Core Ultra 5 225H,Intel Graphics ARL,`8086:7d51`;Linux `7.0.0-38-generic`,i915 / Mesa 26.0.8。+- 使用当前安装的 `mineru-llama-cpp==0.1.3`、原有 Q8_0 权重、生产 MinerU 源码。+- 新进程启动前完全移除 `GGML_VK_SERIALIZE_SUBMISSIONS`,显式选择 Vulkan,ONNX 小模型固定 CPU。+- Engine 与 server 的真实设备计划均绑定 `Vulkan0` / `8086:7d51`,并自动加入串行值 `1`。+- 生产 Engine 初始化记录的环境签名包含串行值 `1`;初始化后进程临时环境恢复,变量重新不存在。+- demo1 第一页、advanced OCR 完成,得到 **1 页、19 个块**;与此前手动开启串行的 Markdown 逐字一致。+ 相比 CPU 基线,仅第一条作者单位的上标后少一个空格,正文其余内容一致。+- 对应进程内核日志无 fence 超时或 GPU 重置。用户配置文件 SHA-256 前后相同;未设推理超时。++本次只验收正确性,没有追加性能对比。其他架构和平台通过回归用例验证,未新增跨平台真机测试;+server 验证了本机设备计划,启动时的环境传递通过集成单测验证。++结构化结果:`docs/next/benchmarks/llama-xe-lpg-auto-serialize-linux-20261022.json`。+原始日志、输入配置和输出:`demo/output/xe-lpg-auto-serialize-20261022/`。diff --git a/docs/next/model-assets.md b/docs/next/model-assets.mdindex d07800ad..1952f8fd 100644--- a/docs/next/model-assets.md+++ b/docs/next/model-assets.md@@ -38,10 +38,12 @@ llama.cpp 自动模式优先使用原生 ggml 实际可见的独显;没有可包括已保存的 CPU/GPU 选择、输出一致性检查失败及架构回退。ONNX 决策涉及的 GPU 必须与 llama.cpp 的设备身份匹配,不能用另一张卡的成绩替集显决策。因此 Linux 上 Xe-LP 及以前的 Intel 默认随现有 WebGPU 架构策略走 CPU;显式 `MINERU_LLAMA_CPP_BACKEND=vulkan`、GPU 层数或 server `--device` 仍可强制使用 GPU。-解析与 `mineru-kit vlm-server` 的 llama 入口共用设备策略。仅当 Linux Vulkan 实际选中明确 PCI 映射中的 Intel Xe-LP/更早架构时,-自动启用 `GGML_VK_SERIALIZE_SUBMISSIONS=1`,规避已复现的 i915 请求取消。AMD、NVIDIA、较新 Intel 和 Windows 不自动开启该开关。+解析与 `mineru-kit vlm-server` 的 llama 入口共用设备策略。仅当 Linux Vulkan 实际选中明确 PCI 映射中的 Intel Xe-LP/更早架构,+或 Xe-LPG(`7dxx`、`b6xx`,包含 `8086:7d51`)时,自动启用 `GGML_VK_SERIALIZE_SUBMISSIONS=1`,+规避已复现的 i915 请求取消、设备丢失及异常视觉结果。该规则对 standard、advanced 等档位统一生效。+Xe-HPG、Xe2/Xe3 LPG 和其他后续架构、AMD、NVIDIA 及 Windows 不自动开启该开关。Xe-LPG 的 ONNX WebGPU 自适应校准策略不变。多卡机器先确认原生设备,再隔离所选 GPU 并复核身份;不能仅因机器里存在 Intel 集显就给独显开启串行提交。-自动选择也不会混用需要串行提交的旧 Intel 独显和其他独显;显式要求此类混合设备组会报错,因为 ggml 的环境开关无法逐卡设置。+自动选择也不会混用需要串行提交的设备和其他设备;显式要求此类混合设备组会报错,因为 ggml 的环境开关无法逐卡设置。已有的显式 `GGML_VK_SERIALIZE_SUBMISSIONS` 环境值保持不变:该开关检查变量是否存在,设为 `0` 同样会开启,撤销须 `unset`。进程内初始化结束后会恢复临时环境;ggml 已缓存设备状态时,变更可见显卡或提交策略须使用新进程。diff --git a/mineru/model/runtime/llama_device.py b/mineru/model/runtime/llama_device.pyindex 6539c4fe..87a654d1 100644--- a/mineru/model/runtime/llama_device.py+++ b/mineru/model/runtime/llama_device.py@@ -1,5 +1,5 @@# Copyright (c) Opendatalab. All rights reserved.-"""llama.cpp 实际设备选择、集显 ONNX 决策复用与旧 Intel Vulkan 提交策略。"""+"""llama.cpp 实际设备选择、集显 ONNX 决策复用与 Intel Vulkan 串行提交策略。"""from __future__ import annotations@@ -67,13 +67,13 @@ def discover_llama_devices(environment: Mapping[str, str] | None = None) -> tupldef needs_serialized_submissions(device: LlamaDevice) -> bool:- """仅 Linux Vulkan 的明确 Xe-LP/更早 PCI 架构触发规避;未知型号不猜测。"""+ """仅 Linux Vulkan 的 Xe-LPG、Xe-LP 及更早 PCI 架构触发规避,不推断后续架构。"""return (sys.platform == "linux"and device.backend == "vulkan"and device.vendor_id == INTEL_VENDOR_IDand device.device_id is not None- and intel_architecture(device.device_id) in {"legacy", "xe_lp"}+ and intel_architecture(device.device_id) in {"legacy", "xe_lp", "xe_lpg"})@@ -99,7 +99,9 @@ def _bind(selection: LlamaSelection) -> LlamaSelection:selected = selection.devicesif not selected or any(d.backend != "vulkan" or d.vulkan_index is None for d in selected):if any(needs_serialized_submissions(d) for d in selected):- raise RuntimeError("Cannot safely bind the legacy Intel Vulkan device; use a verified device filter")+ raise RuntimeError(+ "Cannot safely bind the Intel Vulkan device requiring serialization; use a verified device filter"+ )return replace(selection, device_aliases=tuple((d.name, d.name) for d in selected))changes = dict(selection.environment)changes["GGML_VK_VISIBLE_DEVICES"] = ",".join(str(d.vulkan_index) for d in selected)@@ -171,15 +173,15 @@ def _resolve(if len(matches) != 1:return LlamaSelection("cpu", reason="onnx_gpu_identity_unconfirmed")selected, reason = matches, f"onnx_{choice.backend}_{choice.reason}"- old = tuple(d for d in selected if needs_serialized_submissions(d))- if old and len(old) != len(selected):+ serialized_devices = tuple(d for d in selected if needs_serialized_submissions(d))+ if serialized_devices and len(serialized_devices) != len(selected):if manual:- raise ValueError("Legacy Intel and other GPUs need different Vulkan submission policies; select one device group")- # The global ggml switch cannot be restricted per device. Prefer the other- # discrete GPUs over mixing Xe-LP DG1 with AMD/NVIDIA/modern Intel.+ raise ValueError("Selected GPUs need different Vulkan submission policies; select one compatible device group")+ # The global ggml switch cannot be restricted per device. Keep only the+ # selected GPUs that do not require serialization when policies differ.selected = tuple(d for d in selected if not needs_serialized_submissions(d))- old = ()- changes = {SERIALIZE_ENV: "1"} if old and SERIALIZE_ENV not in os.environ else {}+ serialized_devices = ()+ changes = {SERIALIZE_ENV: "1"} if serialized_devices and SERIALIZE_ENV not in os.environ else {}return _bind(LlamaSelection("gpu", selected, reason, tuple(changes.items())))diff --git a/tests/unittest/test_llama_device_policy.py b/tests/unittest/test_llama_device_policy.pyindex 362a8078..d2bf4454 100644--- a/tests/unittest/test_llama_device_policy.py+++ b/tests/unittest/test_llama_device_policy.py@@ -65,30 +65,49 @@ def onnx(monkeypatch: pytest.MonkeyPatch, selection: OnnxSelection) -> Mock:(0x8086, 0x4680, True),(0x8086, 0x3E92, True),(0x8086, 0x4905, True),- (0x8086, 0x7D51, False),+ (0x8086, 0x7D51, True),+ (0x8086, 0x7D55, True),+ (0x8086, 0xB640, True),+ (0x8086, 0x4F80, False),(0x8086, 0x56A0, False),+ (0x8086, 0x6420, False),(0x8086, 0xE202, False),+ (0x8086, 0xB080, False),+ (0x8086, 0xFD80, False),(0x8086, 0xFFFF, False),(0x1002, 0x4680, False),(0x10DE, 0x4680, False),+ (0x1002, 0x7D51, False),+ (0x10DE, 0x7D51, False),],)def test_explicit_architecture_mapping(vendor: int, chip: int, expected: bool) -> None:assert policy.needs_serialized_submissions(gpu(vendor, chip)) is expected-def test_workaround_is_linux_vulkan_only(monkeypatch: pytest.MonkeyPatch) -> None:- intel = gpu(0x8086, 0x4680)[email protected]("chip", [0x4680, 0x7D51, 0xB640])[email protected]("platform", ["win32", "darwin"])+def test_workaround_is_linux_vulkan_only(monkeypatch: pytest.MonkeyPatch, chip: int, platform: str) -> None:+ intel = gpu(0x8086, chip)assert not policy.needs_serialized_submissions(replace(intel, backend="metal"))- monkeypatch.setattr(policy.sys, "platform", "win32")+ monkeypatch.setattr(policy.sys, "platform", platform)assert not policy.needs_serialized_submissions(intel)+def test_missing_pci_identity_does_not_guess_from_name() -> None:+ intel = gpu(0x8086, 0x7D51)+ assert not policy.needs_serialized_submissions(replace(intel, device_id=None, description="Intel Arc Xe-LPG"))+ assert not policy.needs_serialized_submissions(replace(intel, vendor_id=None))++@pytest.mark.parametrize("platform", ["linux", "win32"])@pytest.mark.parametrize("vendor,chip", [(0x10DE, 0x2489), (0x1002, 0x73BF), (0x8086, 0x56A0)])-def test_discrete_gpu_ignores_cpu_onnx_choice(monkeypatch: pytest.MonkeyPatch, platform: str, vendor: int, chip: int) -> None:[email protected]("igpu_chip", [0x4680, 0x7D51])+def test_discrete_gpu_ignores_cpu_onnx_choice(+ monkeypatch: pytest.MonkeyPatch, platform: str, vendor: int, chip: int, igpu_chip: int+) -> None:monkeypatch.setattr(policy.sys, "platform", platform)- intel, discrete = gpu(0x8086, 0x4680), gpu(vendor, chip, integrated=False, index=1)+ intel, discrete = gpu(0x8086, igpu_chip), gpu(vendor, chip, integrated=False, index=1)inventory(monkeypatch, (intel, discrete))calibrate = onnx(monkeypatch, OnnxSelection(reason="configured_cpu"))selected = policy.resolve_llama_device()@@ -110,7 +129,8 @@ def test_integrated_only_reuses_platform_decision(calibrate = onnx(monkeypatch, OnnxSelection(decision, adapter if decision == "gpu" else None, "rec_calibration", backend))result = policy.resolve_llama_device()assert result.device == decision- assert policy.SERIALIZE_ENV not in dict(result.environment)+ expected = "1" if platform == "linux" and decision == "gpu" else None+ assert dict(result.environment).get(policy.SERIALIZE_ENV) == expectedcalibrate.assert_called_once_with()@@ -142,27 +162,41 @@ def test_no_gpu_and_explicit_cpu_do_not_calibrate(monkeypatch: pytest.MonkeyPatcpolicy.resolve_llama_device(backend="vulkan")-def test_explicit_target_on_multi_gpu_is_bound_before_workaround(monkeypatch: pytest.MonkeyPatch) -> None:- nvidia = gpu(0x10DE, 0x2489, integrated=False)- intel = gpu(0x8086, 0x4680, index=1)- inventory(monkeypatch, (nvidia, intel))[email protected]("chip", [0x4680, 0x7D51, 0xB640])[email protected]("other_vendor,other_chip", [(0x10DE, 0x2489), (0x1002, 0x73BF), (0x8086, 0x56A0)])+def test_explicit_target_on_multi_gpu_is_bound_before_workaround(+ monkeypatch: pytest.MonkeyPatch, chip: int, other_vendor: int, other_chip: int+) -> None:+ discrete = gpu(other_vendor, other_chip, integrated=False)+ intel = gpu(0x8086, chip, index=1)+ inventory(monkeypatch, (discrete, intel))calibrate = onnx(monkeypatch, OnnxSelection())result = policy.resolve_llama_device(device_names=("Vulkan1",))- assert result.devices[0].device_id == 0x4680+ assert result.devices[0].device_id == chipassert dict(result.environment) == {policy.SERIALIZE_ENV: "1", "GGML_VK_VISIBLE_DEVICES": "1"}assert result.device_aliases == (("Vulkan1", "Vulkan0"),)calibrate.assert_not_called()-def test_old_intel_discrete_does_not_slow_other_discrete_gpu(monkeypatch: pytest.MonkeyPatch) -> None:- inventory(monkeypatch, (gpu(0x8086, 0x4905, integrated=False), gpu(0x10DE, 0x2489, integrated=False, index=1)))- assert policy.resolve_llama_device().devices[0].vendor_id == 0x10DE[email protected]("chip", [0x4905, 0x7D51])[email protected]("other_vendor,other_chip", [(0x10DE, 0x2489), (0x8086, 0x56A0)])+def test_mixed_submission_policies_do_not_slow_other_gpu(+ monkeypatch: pytest.MonkeyPatch, chip: int, other_vendor: int, other_chip: int+) -> None:+ inventory(+ monkeypatch,+ (gpu(0x8086, chip, integrated=chip == 0x7D51), gpu(other_vendor, other_chip, integrated=False, index=1)),+ )+ selected = policy.resolve_llama_device()+ assert selected.devices[0].device_id == other_chip+ assert policy.SERIALIZE_ENV not in dict(selected.environment)with pytest.raises(ValueError, match="different Vulkan submission policies"):policy.resolve_llama_device(device_names=("Vulkan0", "Vulkan1"))-def test_manual_environment_is_preserved_including_zero(monkeypatch: pytest.MonkeyPatch) -> None:- inventory(monkeypatch, (gpu(0x8086, 0x4680),))[email protected]("chip", [0x4680, 0x7D51, 0x56A0])+def test_manual_environment_is_preserved_including_zero(monkeypatch: pytest.MonkeyPatch, chip: int) -> None:+ inventory(monkeypatch, (gpu(0x8086, chip, integrated=chip != 0x56A0),))monkeypatch.setenv(policy.SERIALIZE_ENV, "0")result = policy.resolve_llama_device(n_gpu_layers=99)assert policy.SERIALIZE_ENV not in dict(result.environment)@@ -172,8 +206,9 @@ def test_manual_environment_is_preserved_including_zero(monkeypatch: pytest.Monkassert "GGML_VK_VISIBLE_DEVICES" not in os.environ-def test_environment_restored_on_failure_and_cached_backend_change_rejected(monkeypatch: pytest.MonkeyPatch) -> None:- inventory(monkeypatch, (gpu(0x8086, 0x4680),))[email protected]("chip", [0x4680, 0x7D51])+def test_environment_restored_on_failure_and_cached_backend_change_rejected(monkeypatch: pytest.MonkeyPatch, chip: int) -> None:+ inventory(monkeypatch, (gpu(0x8086, chip),))result = policy.resolve_llama_device(n_gpu_layers=99)with pytest.raises(ValueError, match="constructor"):with policy.llama_engine_scope(result):@@ -188,13 +223,22 @@ def test_environment_restored_on_failure_and_cached_backend_change_rejected(monkassert policy.SERIALIZE_ENV not in os.environ-def test_binding_verification_rejects_wrong_physical_gpu(monkeypatch: pytest.MonkeyPatch) -> None:- old, other = gpu(0x8086, 0x4680), gpu(0x10DE, 0x2489, integrated=False)- monkeypatch.setattr(policy, "discover_llama_devices", Mock(side_effect=[(old,), (other,)]))[email protected]("chip", [0x4680, 0x7D51])+def test_binding_verification_rejects_wrong_physical_gpu(monkeypatch: pytest.MonkeyPatch, chip: int) -> None:+ intel, other = gpu(0x8086, chip), gpu(0x10DE, 0x2489, integrated=False)+ monkeypatch.setattr(policy, "discover_llama_devices", Mock(side_effect=[(intel,), (other,)]))with pytest.raises(RuntimeError, match="binding changed"):policy.resolve_llama_device(backend="vulkan")[email protected]("chip", [0x4680, 0x7D51])+def test_missing_device_index_cannot_apply_global_workaround(monkeypatch: pytest.MonkeyPatch, chip: int) -> None:+ inventory(monkeypatch, (replace(gpu(0x8086, chip), vulkan_index=None),))+ with pytest.raises(RuntimeError, match="Cannot safely bind"):+ policy.resolve_llama_device(backend="vulkan")+ assert policy.SERIALIZE_ENV not in os.environ++def test_probe_protocol_uses_native_inventory_without_parsing_log_names(monkeypatch: pytest.MonkeyPatch) -> None:native = [{@@ -226,14 +270,22 @@ def test_discovery_error_is_contained(monkeypatch: pytest.MonkeyPatch) -> None:assert policy.resolve_llama_device().reason == "discovery_unavailable"[email protected]("forced", [False, True])+ "chip,forced,calibrated_gpu",+ [(0x4680, False, False), (0x4680, True, False), (0x7D51, False, False), (0x7D51, True, False), (0x7D51, False, True)],+)def test_real_model_factory_applies_plan_at_engine_construction(- monkeypatch: pytest.MonkeyPatch, tmp_path: Path, forced: bool+ monkeypatch: pytest.MonkeyPatch, tmp_path: Path, chip: int, forced: bool, calibrated_gpu: bool) -> None:from mineru.model.vlm import runtime- inventory(monkeypatch, (gpu(0x8086, 0x4680),))- onnx(monkeypatch, OnnxSelection(reason="webgpu_architecture_policy", backend="webgpu"))+ inventory(monkeypatch, (gpu(0x8086, chip),))+ choice = (+ OnnxSelection("gpu", WebGPUDevice(0x8086, chip), "rec_calibration", "webgpu")+ if calibrated_gpu+ else OnnxSelection(reason="configured_cpu", backend="webgpu")+ )+ onnx(monkeypatch, choice)captured = []def construct(*args: object, **kwargs: object) -> SimpleNamespace:@@ -247,7 +299,8 @@ def test_real_model_factory_applies_plan_at_engine_construction(monkeypatch.setattr(runtime, "MinerUClient", lambda **kwargs: SimpleNamespace())runtime.ModelSingleton()._create_model("llama-cpp-engine", str(tmp_path), None, **({"n_gpu_layers": 99} if forced else {}))kwargs, serialize, backend = captured[0]- assert kwargs["n_gpu_layers"] == (99 if forced else 0)- assert serialize == ("1" if forced else None)- assert backend == (None if forced else "cpu")+ use_gpu = forced or calibrated_gpu+ assert kwargs.get("n_gpu_layers") == (99 if forced else None if use_gpu else 0)+ assert serialize == ("1" if use_gpu else None)+ assert backend == (None if use_gpu else "cpu")assert policy.SERIALIZE_ENV not in os.environ and "MINERU_LLAMA_CPP_BACKEND" not in os.environdiff --git a/tests/unittest/test_llama_server_device_policy.py b/tests/unittest/test_llama_server_device_policy.pyindex dbcae876..1af15188 100644--- a/tests/unittest/test_llama_server_device_policy.py+++ b/tests/unittest/test_llama_server_device_policy.py@@ -4,11 +4,13 @@ from __future__ import annotationsimport osfrom pathlib import Path+from types import SimpleNamespacefrom unittest.mock import Mockimport pytestfrom mineru.kit.vlm_server import llama_cpp_server as server+from mineru.model.runtime import llama_device as policyfrom mineru.model.runtime.llama_device import LlamaSelection, SERIALIZE_ENVfrom mineru.model.runtime.llama_probe import LlamaDevice@@ -143,3 +145,46 @@ def test_exec_remaps_environment_before_native_parser_validates_it(monkeypatch:server._exec_server(args, plan())assert os.environ["LLAMA_ARG_DEVICE"] == "Vulkan1"assert os.environ["MTMD_BACKEND_DEVICE"] == "Vulkan1"+++ "platform,chip,serialize",+ [("linux", 0x7D51, True), ("linux", 0xB640, True), ("linux", 0x56A0, False), ("win32", 0x7D51, False)],+)[email protected]("projector_only", [False, True])+def test_actual_device_policy_reaches_server_environment(+ monkeypatch: pytest.MonkeyPatch, tmp_path: Path, platform: str, chip: int, serialize: bool, projector_only: bool+) -> None:+ """复用真实设备策略,验证模型或仅视觉编码选中 Xe-LPG 时的启动环境。"""+ for name in (+ *policy._BACKEND_ENV,+ "MINERU_LLAMA_CPP_BACKEND",+ "LLAMA_ARG_DEVICE",+ "LLAMA_ARG_N_GPU_LAYERS",+ "MTMD_BACKEND_DEVICE",+ "LLAMA_ARG_MMPROJ_OFFLOAD",+ ):+ monkeypatch.delenv(name, raising=False)+ monkeypatch.setattr(policy, "sys", SimpleNamespace(platform=platform))+ device = LlamaDevice("Vulkan0", "Intel", "vulkan", chip != 0x56A0, 0x8086, chip, 0)+ monkeypatch.setattr(policy, "discover_llama_devices", Mock(return_value=(device,)))+ args = ["-ngl", "0", "--mmproj-device", "Vulkan0", "--mmproj-offload"] if projector_only else ["--device", "Vulkan0"]+ selected = server._device_policy(args)+ assert selected.cpu_model is projector_only+ assert dict(selected.environment).get(SERIALIZE_ENV) == ("1" if serialize else None)+ server._apply_device_policy(args, selected)++ binary = tmp_path / "llama-server"+ binary.touch()+ monkeypatch.setattr(server, "llama_server_binary", lambda: binary)++ def execute(path: str, argv: list[str]) -> None:+ assert os.environ.get(SERIALIZE_ENV) == ("1" if serialize else None)+ assert os.environ["GGML_VK_VISIBLE_DEVICES"] == "0"+ if projector_only:+ assert server._flag_value(argv, "--n-gpu-layers") == "0"+ assert server._flag_value(argv, "--mmproj-device") == "Vulkan0"++ monkeypatch.setattr(server.os, "execv", execute)+ server._exec_server(args, selected)+ assert SERIALIZE_ENV not in os.environ and "GGML_VK_VISIBLE_DEVICES" not in os.environ